summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorCatalin Marinas2015-09-14 19:16:02 +0200
committerJens Axboe2015-09-23 19:00:57 +0200
commitf75782e4e067fd68249635699cb20dfe0489d743 (patch)
tree9e8ed77c60570d04b8af9ce097bfbed26e4b19df /fs/mpage.c
parentMerge branch 'for-4.3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-qcow2-linux-f75782e4e067fd68249635699cb20dfe0489d743.tar.gz
kernel-qcow2-linux-f75782e4e067fd68249635699cb20dfe0489d743.tar.xz
kernel-qcow2-linux-f75782e4e067fd68249635699cb20dfe0489d743.zip
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