From: Andrew Morton <akpm@linux-foundation.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: Yu Zhao <yuzhao@google.com>, Linux-MM <linux-mm@kvack.org>,
Johannes Weiner <hannes@cmpxchg.org>,
Muchun Song <muchun.song@linux.dev>
Subject: Re: Hugepage program taking forever to exit
Date: Wed, 11 Sep 2024 11:38:50 -0700 [thread overview]
Message-ID: <20240911113850.95592d074cb0ce1430ec1bd3@linux-foundation.org> (raw)
In-Reply-To: <ad1de247-6c63-4b70-81bb-2c3f106f9224@kernel.dk>
On Wed, 11 Sep 2024 07:22:17 -0600 Jens Axboe <axboe@kernel.dk> wrote:
> On 9/10/24 9:42 PM, Andrew Morton wrote:
> > On Tue, 10 Sep 2024 17:08:30 -0600 Jens Axboe <axboe@kernel.dk> 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.
OK thanks.
Yu, could you please request a -stable backport after this hits mainline?
Thanks.
next prev parent reply other threads:[~2024-09-11 18:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 18:21 Jens Axboe
2024-09-10 19:33 ` Johannes Weiner
2024-09-10 20:17 ` Yu Zhao
2024-09-10 23:08 ` Jens Axboe
2024-09-11 3:42 ` Andrew Morton
2024-09-11 13:22 ` Jens Axboe
2024-09-11 16:23 ` Yu Zhao
2024-09-11 18:38 ` Andrew Morton [this message]
2024-09-11 22:08 ` Yu Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240911113850.95592d074cb0ce1430ec1bd3@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=muchun.song@linux.dev \
--cc=yuzhao@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox