aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorJason Baron <jbaron@redhat.com>2007-07-15 23:38:21 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:36 -0700
commitf7977793240d836e60ff413e94e6914f08e10941 (patch)
tree75955844a77b70c02aa44982d27ca17ceb702cf3 /mm/page_alloc.c
parentmm/slab.c: start_cpu_timer() should be __cpuinit (diff)
downloadlinux-dev-f7977793240d836e60ff413e94e6914f08e10941.tar.xz
linux-dev-f7977793240d836e60ff413e94e6914f08e10941.zip
speed up madvise_need_mmap_write() usage
In the new madvise_need_mmap_write() call we can avoid an extra case statement and function call as follows. Signed-off-by: Jason Baron <jbaron@redhat.com> Cc: Nishanth Aravamudan <nacc@us.ibm.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions