diff options
| author | Roman Penyaev <[email protected]> | 2019-03-05 23:43:24 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-03-06 05:07:15 +0000 |
| commit | c67dc6247576250a9c9f09adcabad0385a1e7d73 (patch) | |
| tree | 182cf0bf96bdac8e9e57658b5403eaf5a6432506 /lib/test_vmalloc.c | |
| parent | mm/vmalloc: fix size check for remap_vmalloc_range_partial() (diff) | |
| download | kernel-c67dc6247576250a9c9f09adcabad0385a1e7d73.tar.gz kernel-c67dc6247576250a9c9f09adcabad0385a1e7d73.zip | |
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]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions
