diff options
author | Joonsoo Kim <[email protected]> | 2013-10-24 10:07:38 +0900 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2013-10-24 20:17:23 +0300 |
commit | 0c3aa83e00a9cd93f08e7aa42fba01924aa5f2fc (patch) | |
tree | 14390a0785ec404ee157fc120bf6aaba1d1cb284 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 73293c2f900d0adbb6a415b312cd57976d5ae242 (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 <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Joonsoo Kim <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions