diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2017-07-06 15:40:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-06 16:24:34 -0700 |
commit | 04f70d13ca274d62a347815ca01fea871f9b9a40 (patch) | |
tree | 36177117ab748aeb55b03a1e2b54e4f7ab35305c /mm/vmalloc.c | |
parent | f66abf09e092fde88fec3c93d0b0c704e18224b8 (diff) | |
download | linux-04f70d13ca274d62a347815ca01fea871f9b9a40.tar.gz linux-04f70d13ca274d62a347815ca01fea871f9b9a40.tar.bz2 linux-04f70d13ca274d62a347815ca01fea871f9b9a40.zip |
mm: kmemleak: factor object reference updating out of scan_block()
scan_block() updates the number of references (pointers) to objects,
adding them to the gray_list when object->min_count is reached. The
patch factors out this functionality into a separate update_refs()
function.
Link: http://lkml.kernel.org/r/1495726937-23557-3-git-send-email-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions