[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211027011807.GA2707645@u2004>
Date: Wed, 27 Oct 2021 10:18:07 +0900
From: Naoya Horiguchi <naoya.horiguchi@...ux.dev>
To: Yang Shi <shy828301@...il.com>
Cc: Linux MM <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
David Hildenbrand <david@...hat.com>,
Oscar Salvador <osalvador@...e.de>,
Michal Hocko <mhocko@...e.com>,
Ding Hui <dinghui@...gfor.com.cn>,
Tony Luck <tony.luck@...el.com>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
Miaohe Lin <linmiaohe@...wei.com>,
Peter Xu <peterx@...hat.com>,
Naoya Horiguchi <naoya.horiguchi@....com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/4] mm/hwpoison: remove race consideration
On Tue, Oct 26, 2021 at 06:04:13PM -0700, Yang Shi wrote:
> On Mon, Oct 25, 2021 at 4:06 PM Naoya Horiguchi
> <naoya.horiguchi@...ux.dev> wrote:
> >
> > From: Naoya Horiguchi <naoya.horiguchi@....com>
> >
> > Now memory_failure() and unpoison_memory() are protected by mf_mutex,
> > so no need to explicitly check races between them. So remove them.
>
> It seems this patch could be folded into patch #1. Some "unlock_mutex"
> were added by patch #1 then they were removed by this patch
> immediately, it seems a bit of a waste and this patch is actually the
> by-product of patch #1.
OK, I'll do this in the next post.
Thanks,
Naoya Horiguchi
Powered by blists - more mailing lists