linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oscar Salvador <osalvador@suse.de>
To: Hugh Dickins <hughd@google.com>
Cc: Gavin Guo <gavinguo@igalia.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	muchun.song@linux.dev, akpm@linux-foundation.org,
	kernel-dev@igalia.com, stable@vger.kernel.org,
	Florent Revest <revest@google.com>, Gavin Shan <gshan@redhat.com>
Subject: Re: [PATCH v2] mm/hugetlb: fix a deadlock with pagecache_folio and hugetlb_fault_mutex_table
Date: Wed, 21 May 2025 21:44:21 +0200	[thread overview]
Message-ID: <aC4tFWSclf40KJ_J@localhost.localdomain> (raw)
In-Reply-To: <54bd3d6c-d763-ae09-6ee2-7ef192a97ca9@google.com>

On Wed, May 21, 2025 at 08:58:32AM -0700, Hugh Dickins wrote:
> If we unlocked it, anyone else could have taken it immediately after.

Sorry Hugh, I was being dumb, of course you are right.

Then, maybe v1 was not really a bad idea, but we might need to think of
a better idea overall.

-- 
Oscar Salvador
SUSE Labs

  reply	other threads:[~2025-05-21 19:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-21 11:57 [PATCH v2] mm/hugetlb: fix a deadlock with pagecache_folio and hugetlb_fault_mutex_table Gavin Guo
2025-05-21 13:33 ` Oscar Salvador
2025-05-21 15:10 ` Hugh Dickins
2025-05-21 15:53   ` Oscar Salvador
2025-05-21 15:58     ` Hugh Dickins
2025-05-21 19:44       ` Oscar Salvador [this message]
2025-05-22  6:06       ` Gavin Guo

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=aC4tFWSclf40KJ_J@localhost.localdomain \
    --to=osalvador@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=gavinguo@igalia.com \
    --cc=gshan@redhat.com \
    --cc=hughd@google.com \
    --cc=kernel-dev@igalia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=muchun.song@linux.dev \
    --cc=revest@google.com \
    --cc=stable@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).