]> git.baikalelectronics.ru Git - kernel.git/commit
kmemleak: Mark the early log buffer as __initdata
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:16 +0000 (14:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:16 +0000 (14:29 +0100)
commit43334e8afb660ec712113333502e059a19f85b1f
tree0639a35036063c1a5f05c68817fbb4c49aeb2bd9
parent0e5a595688f62d329a45da66b9c1ff1fb21a4e24
kmemleak: Mark the early log buffer as __initdata

This buffer isn't needed after kmemleak was initialised so it can be
freed together with the .init.data section. This patch also marks
functions conditionally accessing the early log variables with __ref.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
include/linux/kmemleak.h
mm/kmemleak.c