android_kernel_xiaomi_sm7250/mm
Christoph Lameter ed11d9eb22 [PATCH] slab: consolidate code to free slabs from freelist
Post and discussion:
http://marc.theaimsgroup.com/?t=115074342800003&r=1&w=2

Code in __shrink_node() duplicates code in cache_reap()

Add a new function drain_freelist that removes slabs with objects that are
already free and use that in various places.

This eliminates the __node_shrink() function and provides the interrupt
holdoff reduction from slab_free to code that used to call __node_shrink.

[akpm@osdl.org: build fixes]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-30 11:25:36 -07:00
..
bootmem.c
fadvise.c
filemap_xip.c
filemap.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00
filemap.h
fremap.c
highmem.c
hugetlb.c
internal.h
Kconfig
madvise.c
Makefile
memory_hotplug.c
memory.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00
mempolicy.c [PATCH] Use Zoned VM Counters for NUMA statistics 2006-06-30 11:25:36 -07:00
mempool.c
migrate.c
mincore.c
mlock.c
mmap.c
mmzone.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c
page_alloc.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00
page_io.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00
page-writeback.c [PATCH] zoned vm counters: remove useless struct wbs 2006-06-30 11:25:36 -07:00
pdflush.c
prio_tree.c
readahead.c
rmap.c
shmem.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00
slab.c [PATCH] slab: consolidate code to free slabs from freelist 2006-06-30 11:25:36 -07:00
slob.c
sparse.c
swap_state.c
swap.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c
vmscan.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00
vmstat.c [PATCH] Light weight event counters 2006-06-30 11:25:36 -07:00