From: Andrew Morton <akpm@linux-foundation.org>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: intel-xe@lists.freedesktop.org,
Alistair Popple <apopple@nvidia.com>,
Ralph Campbell <rcampbell@nvidia.com>,
Christoph Hellwig <hch@lst.de>,
Jason Gunthorpe <jgg@mellanox.com>,
Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>,
Matthew Brost <matthew.brost@intel.com>,
John Hubbard <jhubbard@nvidia.com>,
linux-mm@kvack.org, dri-devel@lists.freedesktop.org,
stable@vger.kernel.org
Subject: Re: [PATCH v4] mm: Fix a hmm_range_fault() livelock / starvation problem
Date: Mon, 9 Feb 2026 17:34:46 -0800 [thread overview]
Message-ID: <20260209173446.b76547c4028132f71de1b8eb@linux-foundation.org> (raw)
In-Reply-To: <89cb1d4744789702cd80dba8eb40dd50bf053b4e.camel@linux.intel.com>
On Mon, 09 Feb 2026 15:47:38 +0100 Thomas Hellström <thomas.hellstrom@linux.intel.com> wrote:
> @Alistair, any chance of an R-B for the below version?
Yes please.
> @Andrew, will this go through the -mm tree or alternaltively an ack for
> merging through drm-xe-fixes?
Either works. I'll grab a copy. It you want to take this via drm then
I'll drop the mm.git copy once the drm tree's version appears in linux-next.
Acked-by: Andrew Morton <akpm@linux-foundation.org>
> > The lru_add_drain_all() function requires a short work-item
Pet peeve: s/the foo() function/foo()/g. It's just as good!
> > --- a/mm/memory.c
> > +++ b/mm/memory.c
> > @@ -4684,7 +4684,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf)
> > unlock_page(vmf->page);
> > put_page(vmf->page);
> > } else {
> > - pte_unmap_unlock(vmf->pte, vmf->ptl);
> > + pte_unmap(vmf->pte);
> > + softleaf_entry_wait_on_locked(entry, vmf->ptl);
> > }
> > } else if (softleaf_is_hwpoison(entry)) {
> > ret = VM_FAULT_HWPOISON;
So apart from the rename, this is the whole patch. This got nicer!
next prev parent reply other threads:[~2026-02-10 1:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 11:10 Thomas Hellström
2026-02-05 11:20 ` Balbir Singh
2026-02-05 12:41 ` Thomas Hellström
2026-02-10 2:47 ` Balbir Singh
2026-02-09 14:47 ` Thomas Hellström
2026-02-10 1:34 ` Andrew Morton [this message]
2026-02-12 8:52 ` Thomas Hellström
2026-02-10 2:22 ` Alistair Popple
2026-02-10 2:56 ` Balbir Singh
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=20260209173446.b76547c4028132f71de1b8eb@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=apopple@nvidia.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hch@lst.de \
--cc=intel-xe@lists.freedesktop.org \
--cc=jgg@mellanox.com \
--cc=jgg@ziepe.ca \
--cc=jhubbard@nvidia.com \
--cc=leon@kernel.org \
--cc=linux-mm@kvack.org \
--cc=matthew.brost@intel.com \
--cc=rcampbell@nvidia.com \
--cc=stable@vger.kernel.org \
--cc=thomas.hellstrom@linux.intel.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