summaryrefslogtreecommitdiff
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>2013-10-24 10:07:38 +0900
committerPekka Enberg <penberg@iki.fi>2013-10-24 20:17:23 +0300
commit0c3aa83e00a9cd93f08e7aa42fba01924aa5f2fc (patch)
tree14390a0785ec404ee157fc120bf6aaba1d1cb284 /mm/oom_kill.c
parent73293c2f900d0adbb6a415b312cd57976d5ae242 (diff)
slab: change return type of kmem_getpages() to struct page
It is more understandable that kmem_getpages() return struct page. And, with this, we can reduce one translation from virt addr to page and makes better code than before. Below is a change of this patch. * Before text data bss dec hex filename 22123 23434 4 45561 b1f9 mm/slab.o * After text data bss dec hex filename 22074 23434 4 45512 b1c8 mm/slab.o And this help following patch to remove struct slab's colouroff. Acked-by: Andi Kleen <ak@linux.intel.com> Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Pekka Enberg <penberg@iki.fi>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions