[SRU][N][PATCH 0/1] block: Fix page refcounts for unaligned buffers in __bio_release_pages()
Thibault Ferrante
thibault.ferrante at canonical.com
Fri Apr 19 14:19:44 UTC 2024
[Impact]
Buffers not starting at the beginning of a page may not be released
in case of hugepage usage.
[Fix]
Fix was merged upstream in 6.9-rc1:
38b43539d64 block: Fix page refcounts for unaligned buffers in __bio_release_pages()
It's a clean cherry-pick.
[Test Plan]
1. Create a guest which is backed by hugepages.
2. Destroy the guest.
3. execute "free -h" or "cat /proc/meminfo" to see that Hugepage memory was freed.
[Where problems could occur]
Regression when managing hugepages might occurs.
Tony Battersby (1):
block: Fix page refcounts for unaligned buffers in
__bio_release_pages()
block/bio.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
2.43.0
More information about the kernel-team
mailing list