Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Re: Patch "hugetlbfs: skip VMAs without shareable locks in hugetlb_vmdelete_list" has been added to the 6.17-stable tree
@ 2025-10-13  1:25 Deepanshu Kartikey
  2025-10-13 13:35 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Deepanshu Kartikey @ 2025-10-13  1:25 UTC (permalink / raw)
  To: sashal, stable, stable-commits; +Cc: muchun.song, osalvador, david

Hi Sasha,

Please do NOT backport commit dd83609b8898 alone to stable. This patch 
causes a regression in fallocate(PUNCH_HOLE) operations where pages are 
not freed immediately, as reported by Mark Brown.

The fix for this regression is already in linux-next as commit 
91a830422707 ("hugetlbfs: check for shareable lock before calling 
huge_pmd_unshare()").

Please backport both commits together to avoid introducing the 
regression in stable kernels:
- dd83609b88986f4add37c0871c3434310652ebd5 ("hugetlbfs: skip VMAs without shareable locks in hugetlb_vmdelete_list")
- 91a830422707a62629fc4fbf8cdc3c8acf56ca64  ("hugetlbfs: check for shareable lock before calling huge_pmd_unshare()")

Thanks,
Deepanshu Kartikey

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Patch "hugetlbfs: skip VMAs without shareable locks in hugetlb_vmdelete_list" has been added to the 6.17-stable tree
  2025-10-13  1:25 Patch "hugetlbfs: skip VMAs without shareable locks in hugetlb_vmdelete_list" has been added to the 6.17-stable tree Deepanshu Kartikey
@ 2025-10-13 13:35 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2025-10-13 13:35 UTC (permalink / raw)
  To: Deepanshu Kartikey
  Cc: sashal, stable, stable-commits, muchun.song, osalvador, david

On Mon, Oct 13, 2025 at 06:55:00AM +0530, Deepanshu Kartikey wrote:
> Hi Sasha,
> 
> Please do NOT backport commit dd83609b8898 alone to stable. This patch 
> causes a regression in fallocate(PUNCH_HOLE) operations where pages are 
> not freed immediately, as reported by Mark Brown.
> 
> The fix for this regression is already in linux-next as commit 
> 91a830422707 ("hugetlbfs: check for shareable lock before calling 
> huge_pmd_unshare()").
> 
> Please backport both commits together to avoid introducing the 
> regression in stable kernels:
> - dd83609b88986f4add37c0871c3434310652ebd5 ("hugetlbfs: skip VMAs without shareable locks in hugetlb_vmdelete_list")
> - 91a830422707a62629fc4fbf8cdc3c8acf56ca64  ("hugetlbfs: check for shareable lock before calling huge_pmd_unshare()")

As this is not in linux-next yet, I'll just drop this original patch for
now.  When it does land in Linus's tree, please let us know so we can
submit both of them to the stable queues.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-13 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13  1:25 Patch "hugetlbfs: skip VMAs without shareable locks in hugetlb_vmdelete_list" has been added to the 6.17-stable tree Deepanshu Kartikey
2025-10-13 13:35 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox