]> Git Repo - linux.git/commit
mm/vmalloc: do not call kmemleak_free() on not yet accounted memory
authorRoman Penyaev <[email protected]>
Tue, 5 Mar 2019 23:43:24 +0000 (15:43 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Mar 2019 05:07:15 +0000 (21:07 -0800)
commitc67dc6247576250a9c9f09adcabad0385a1e7d73
tree182cf0bf96bdac8e9e57658b5403eaf5a6432506
parent401592d2e095947344e10ec0623adbcd58934dd4
mm/vmalloc: do not call kmemleak_free() on not yet accounted memory

__vmalloc_area_node() calls vfree() on error path, which in turn calls
kmemleak_free(), but area is not yet accounted by kmemleak_vmalloc().

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Roman Penyaev <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: "Luis R. Rodriguez" <[email protected]>
Cc: Catalin Marinas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmalloc.c
This page took 0.063298 seconds and 4 git commands to generate.