slab: fix to calm down kmemleak warning
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Wed, 30 Oct 2013 10:04:00 +0000 (19:04 +0900)
committerPekka Enberg <penberg@iki.fi>
Wed, 30 Oct 2013 12:08:52 +0000 (14:08 +0200)
commit0172f779e4314639a8ed440082cfe9e3450954e8
tree48115e3a18009a192e124fca81454778ef6b35ef
parente7444d9b7d49898a667074122bed2dcedf349305
slab: fix to calm down kmemleak warning

After using struct page as slab management, we should not call
kmemleak_scan_area(), since struct page isn't the tracking object of
kmemleak. Without this patch and if CONFIG_DEBUG_KMEMLEAK is enabled,
so many kmemleak warnings are printed.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Pekka Enberg <penberg@iki.fi>
mm/slab.c