summaryrefslogtreecommitdiff
path: root/tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2026-06-23 20:28:48 +0100
committerChristian Brauner <brauner@kernel.org>2026-06-29 10:27:29 +0200
commitee3f011250104129893d8e9599147e457d4d7280 (patch)
tree5a4b86cfc8597a2d847d668067ef4e2b59d3876d /tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
parent0baad6f9b9970c6e3f1d33dbfd17d1a77702771d (diff)
fs: Free any excess xarray nodes in clear_inode()
For many years we've had a hard to hit leak of xarray nodes. Hugh documented it well in commit 786b31121a2c. Recently people and syzbot have found ways to force it to happen with madvise. Rather than fix the leaks where they happen, just call xa_destroy() which has the side-effect of cycling the i_pages lock. Cc: Rik van Riel <riel@surriel.com> Cc: Zi Yan <ziy@nvidia.com> Cc: Jinjiang Tu <tujinjiang@huawei.com> Cc: Dave Jones <davej@codemonkey.org.uk> Link: https://lore.kernel.org/all/20260121062243.1893129-1-tujinjiang@huawei.com/ Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Link: https://patch.msgid.link/20260623192850.1595958-1-willy@infradead.org Reviewed-by: Rik van Riel <riel@surriel.com> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions