summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2015-04-16 01:14:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-16 01:35:19 +0200
commite39155ea11eac6da056b04669d7c9fc612e2065a (patch)
treed7a23caf03ac668c502b620303b170f721f56ef5 /mm/huge_memory.c
parentmm: cma: add trace events for CMA allocations and freeings (diff)
downloadlinux-e39155ea11eac6da056b04669d7c9fc612e2065a.tar.xz
linux-e39155ea11eac6da056b04669d7c9fc612e2065a.zip
mm: uninline and cleanup page-mapping related helpers
Most-used page->mapping helper -- page_mapping() -- has already uninlined. Let's uninline also page_rmapping() and page_anon_vma(). It saves us depending on configuration around 400 bytes in text: text data bss dec hex filename 660318 99254 410000 1169572 11d8a4 mm/built-in.o-before 659854 99254 410000 1169108 11d6d4 mm/built-in.o I also tried to make code a bit more clean. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Christoph Lameter <cl@linux.com> Cc: Konstantin Khlebnikov <koct9i@gmail.com> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions