]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/testing/vma: Implement vm_refcnt reset
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 3 Sep 2025 12:59:52 +0000 (14:59 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 29 Sep 2025 07:21:16 +0000 (09:21 +0200)
commitd09a61a3aa7de53fe055743993d79eaeb945cbad
treea01564d868bd92c95a0a7b253f2f97bd78f9578f
parente3852a1213ffc6fbd89c768e7c54a360652648b8
tools/testing/vma: Implement vm_refcnt reset

Add the reset of the ref count in vma_lock_init().  This is needed if
the vma memory is not zeroed on allocation.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
tools/testing/vma/vma_internal.h