diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2015-09-14 18:16:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-09-23 11:00:57 -0600 |
commit | f75782e4e067fd68249635699cb20dfe0489d743 (patch) | |
tree | 9e8ed77c60570d04b8af9ce097bfbed26e4b19df /fs/mpage.c | |
parent | bcee19f424a0d8c26ecf2607b73c690802658b29 (diff) | |
download | linux-f75782e4e067fd68249635699cb20dfe0489d743.tar.bz2 |
block: kmemleak: Track the page allocations for struct request
The pages allocated for struct request contain pointers to other slab
allocations (via ops->init_request). Since kmemleak does not track/scan
page allocations, the slab objects will be reported as leaks (false
positives). This patch adds kmemleak callbacks to allow tracking of such
pages.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Bart Van Assche <bart.vanassche@sandisk.com>
Tested-by: Bart Van Assche<bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions