On 9/10/24 9:42 PM, Andrew Morton wrote: > On Tue, 10 Sep 2024 17:08:30 -0600 Jens Axboe <axboe@xxxxxxxxx> wrote: > >>> Fixes are in git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-stable >>> >>> c2a967f6ab0e mm/hugetlb_vmemmap: don't synchronize_rcu() without HVO >>> c0f398c3b2cf mm/hugetlb_vmemmap: batch HVO work when demoting >>> >>> Additional improvements from mm-stable that may or may not help your test case: >>> >>> e98337d11bbd mm/contig_alloc: support __GFP_COMP >>> 463586e9ff39 mm/cma: add cma_{alloc,free}_folio() >>> cf54f310d0d3 mm/hugetlb: use __GFP_COMP for gigantic folios >> >> I didn't pick patches, just pulled all of mm-stable - yep that fixes it >> for me, no longer spending 60+% of the runtime during exit. I trust >> these are heading to stable? > > None of these are tagged for -stable backporting. We can later request > a backport without the cc:stable tag, although narrowing down the > required patches would be good. These two: c2a967f6ab0e mm/hugetlb_vmemmap: don't synchronize_rcu() without HVO c0f398c3b2cf mm/hugetlb_vmemmap: batch HVO work when demoting to cover both cases. -- Jens Axboe