android_kernel_xiaomi_sm7250/mm
Christoph Lameter 6d7779538f mm: optimize compound_head() by avoiding a shared page flag
The patch adds PageTail(page) and PageHead(page) to check if a page is the
head or the tail of a compound page.  This is done by masking the two bits
describing the state of a compound page and then comparing them.  So one
comparision and a branch instead of two bit checks and two branches.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:12:53 -07:00
..
allocpercpu.c
backing-dev.c
bootmem.c
bounce.c
fadvise.c
filemap_xip.c
filemap.c readahead: code cleanup 2007-05-07 12:12:52 -07:00
filemap.h
fremap.c
highmem.c
hugetlb.c
internal.h Make page->private usable in compound pages 2007-05-07 12:12:53 -07:00
Kconfig
madvise.c
Makefile SLUB core 2007-05-07 12:12:53 -07:00
memory_hotplug.c
memory.c Add unitialized_var() macro for suppressing gcc warnings 2007-05-07 12:12:52 -07:00
mempolicy.c
mempool.c
migrate.c
mincore.c
mlock.c
mmap.c
mmzone.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c allow oom_adj of saintly processes 2007-05-07 12:12:51 -07:00
page_alloc.c mm: optimize compound_head() by avoiding a shared page flag 2007-05-07 12:12:53 -07:00
page_io.c
page-writeback.c Use ZVC counters to establish exact size of dirtyable pages 2007-05-07 12:12:51 -07:00
pdflush.c
prio_tree.c
readahead.c readahead: code cleanup 2007-05-07 12:12:52 -07:00
rmap.c
shmem_acl.c
shmem.c
slab.c Make page->private usable in compound pages 2007-05-07 12:12:53 -07:00
slob.c
slub.c Make page->private usable in compound pages 2007-05-07 12:12:53 -07:00
sparse.c
swap_state.c
swap.c Make page->private usable in compound pages 2007-05-07 12:12:53 -07:00
swapfile.c mm: make read_cache_page synchronous 2007-05-07 12:12:51 -07:00
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c
vmscan.c
vmstat.c