linux-xiaomi-chiron/mm
Paul Jackson b2455396be [PATCH] cpuset: memory_spread_slab drop useless PF_SPREAD_PAGE check
The hook in the slab cache allocation path to handle cpuset memory
spreading for tasks in cpusets with 'memory_spread_slab' enabled has a
modest performance bug.  The hook calls into the memory spreading handler
alternate_node_alloc() if either of 'memory_spread_slab' or
'memory_spread_page' is enabled, even though the handler does nothing
(albeit harmlessly) for the page case

Fix - drop PF_SPREAD_PAGE from the set of flag bits that are used to
trigger a call to alternate_node_alloc().

The page case is handled by separate hooks -- see the calls conditioned on
cpuset_do_page_mem_spread() in mm/filemap.c

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-24 07:33:24 -08:00
..
bootmem.c
fadvise.c
filemap.c [PATCH] cpuset memory spread page cache implementation and hooks 2006-03-24 07:33:22 -08:00
filemap.h
filemap_xip.c
fremap.c
highmem.c [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
hugetlb.c [PATCH] mm: hugetlb alloc_fresh_huge_page bogus node loop fix 2006-03-22 07:54:06 -08:00
internal.h
Kconfig [PATCH] page migration reorg 2006-03-22 07:54:06 -08:00
madvise.c
Makefile [PATCH] page migration reorg 2006-03-22 07:54:06 -08:00
memory.c
memory_hotplug.c
mempolicy.c [PATCH] cpuset memory spread slab cache optimizations 2006-03-24 07:33:23 -08:00
mempool.c
migrate.c [PATCH] page migration reorg 2006-03-22 07:54:06 -08:00
mincore.c
mlock.c
mmap.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c
page-writeback.c [PATCH] Represent laptop_mode as jiffies internally 2006-03-24 07:33:20 -08:00
page_alloc.c [PATCH] cpusets: only wakeup kswapd for zones in the current cpuset 2006-03-24 07:33:22 -08:00
page_io.c
pdflush.c
prio_tree.c
readahead.c [PATCH] ext3_readdir: use generic readahead 2006-03-23 07:38:09 -08:00
rmap.c
shmem.c
slab.c [PATCH] cpuset: memory_spread_slab drop useless PF_SPREAD_PAGE check 2006-03-24 07:33:24 -08:00
slob.c
sparse.c
swap.c
swap_state.c [PATCH] page migration reorg 2006-03-22 07:54:06 -08:00
swapfile.c [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c
vmscan.c [PATCH] page migration reorg 2006-03-22 07:54:06 -08:00