ACK: [SRU][N][PATCH 0/1] block: Fix page refcounts for unaligned buffers in __bio_release_pages()
Roxana Nicolescu
roxana.nicolescu at canonical.com
Fri Apr 26 12:48:12 UTC 2024
On 19/04/2024 16:19, Thibault Ferrante wrote:
> [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(-)
>
Acked-by: Roxana Nicolescu <roxana.nicolescu at canonical.com>
More information about the kernel-team
mailing list