]> Git Repo - linux.git/commit
sl[au]b: always get the cache from its page in kmem_cache_free()
authorGlauber Costa <[email protected]>
Tue, 18 Dec 2012 22:22:46 +0000 (14:22 -0800)
committerLinus Torvalds <[email protected]>
Tue, 18 Dec 2012 23:02:14 +0000 (15:02 -0800)
commitb9ce5ef49f00daf2254c6953c8d31f79aabccd34
tree1da6afdbb3dc2e2d31f588dbfbf502e984af48a6
parent0e9d92f2d02d8c8320f0502307c688d07bdac2b3
sl[au]b: always get the cache from its page in kmem_cache_free()

struct page already has this information.  If we start chaining caches,
this information will always be more trustworthy than whatever is passed
into the function.

Signed-off-by: Glauber Costa <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: JoonSoo Kim <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Suleiman Souhlal <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memcontrol.h
mm/slab.c
mm/slab.h
mm/slob.c
mm/slub.c
This page took 0.076237 seconds and 4 git commands to generate.