From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20F57C433F5 for ; Wed, 6 Oct 2021 04:00:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 027A561260 for ; Wed, 6 Oct 2021 04:00:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230133AbhJFEC1 (ORCPT ); Wed, 6 Oct 2021 00:02:27 -0400 Received: from out0.migadu.com ([94.23.1.103]:33825 "EHLO out0.migadu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230358AbhJFECZ (ORCPT ); Wed, 6 Oct 2021 00:02:25 -0400 Date: Wed, 6 Oct 2021 13:00:15 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1633492826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=j4OHhLztgaT2DVmS+ewtyxjius1Brkr/mlfv76zVtN4=; b=iWRB+sjLt42EFg/TfR10HXvMvWAmSvLHHydjIBK8hIHMExaZjoVZDB1dvRUiqebhLQ1jJO /FfCX7CdurW2Gt4CzPZQuXAhCFXIpCtcdwy31S64cxy7QRnfSarXs52dVwI1MrStFibusU uugiI+MicVeX3tHZ+jYxj0vXfbDcCSg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Naoya Horiguchi To: Yang Shi Cc: naoya.horiguchi@nec.com, Hugh Dickins , "Kirill A. Shutemov" , Matthew Wilcox , Peter Xu , Oscar Salvador , Andrew Morton , Linux MM , Linux FS-devel Mailing List , Linux Kernel Mailing List Subject: Re: [v3 PATCH 1/5] mm: hwpoison: remove the unnecessary THP check Message-ID: <20211006040015.GA1626563@u2004> References: <20210930215311.240774-1-shy828301@gmail.com> <20210930215311.240774-2-shy828301@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: naoya.horiguchi@linux.dev Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org > Any comment on this patch and patch #3? I'd prefer to fix more > comments for a new version. No. Both 1/5 and 3/5 look fine to me. So ... > On Thu, Sep 30, 2021 at 2:53 PM Yang Shi wrote: > > > > When handling THP hwpoison checked if the THP is in allocation or free > > stage since hwpoison may mistreat it as hugetlb page. After > > commit 415c64c1453a ("mm/memory-failure: split thp earlier in memory error > > handling") the problem has been fixed, so this check is no longer > > needed. Remove it. The side effect of the removal is hwpoison may > > report unsplit THP instead of unknown error for shmem THP. It seems not > > like a big deal. > > > > The following patch depends on this, which fixes shmem THP with > > hwpoisoned subpage(s) are mapped PMD wrongly. So this patch needs to be > > backported to -stable as well. > > > > Cc: > > Suggested-by: Naoya Horiguchi > > Signed-off-by: Yang Shi Acked-by: Naoya Horiguchi Patch 3/5 already has my Signed-off-by, so I think it can be considered as acked by me. Thanks, Naoya Horiguchi