ACK: [SRU][N][PATCH 0/1] block: Fix page refcounts for unaligned buffers in __bio_release_pages()

Stefan Bader stefan.bader at canonical.com
Wed Apr 24 15:24:38 UTC 2024


On 19.04.24 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: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 48643 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240424/80448c84/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240424/80448c84/attachment-0001.sig>


More information about the kernel-team mailing list