Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2790227pxb; Sun, 24 Jan 2021 21:10:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqu9/xgMJdPFJpNWtfpww44SE0ZNRGfoz7o6y2oUsP8d/b3x46jYLCSXPU0+dX0quBvwM1 X-Received: by 2002:a17:906:1b41:: with SMTP id p1mr231717ejg.162.1611551428190; Sun, 24 Jan 2021 21:10:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611551428; cv=none; d=google.com; s=arc-20160816; b=YFoa013m8X0d98rY/eiMUW4x1nlCbMUoyvs3Aml2WXw5qHb2rFR1cwa2OeACFrg5yI sVvf9EH9QehpRVPmZCdHE3vWS9Klc38FDnHCft9BsIQvSdDQciqhEWChjyVP1tvuJ6Oc DkzIPHhO4n91HH8mYqv6NS0f0AzQNCB9A7sHEerEE0dlftABWtZv9c8TbeKRshSb1ndo WL1IH0AhxoyGzARTBjJh8Vz7RsMn2l+C3486B7Aajfiq/FrH91777ujbnJ2PvPbmKX8k fHjfE76GxdpEI1VIKML97teE3wit5iZkvuJY78/scoxcNtbkBkWjjf5Q/+0sKCD/9eKQ MD6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=JOUhfnWWdDSn5rx6Y3alCW/0otHcbj316dnvYqN7gu4=; b=Twlh+CC3TkUzUYt6UCiRQ3llbO8FbULZrFCn58kRnkQOLHqIcZzkBwwckOwXF0g/N/ /DlLKnl1BkL3MBoKYwcBtK/3/Neeb6abm0iW/Ihjhg35g7MhK8sxV2lqt611UjuGOaXQ lsYWZVN2fPZdjRyvEQgGzY3LTUyL3lGKmloviOQo9KyvOdQqvyyEJ4twqvYXgJCJkcJu bfPmkIMcy615hsTbwZ3XwTsvic3G1esV9rmGjc2twPT7E+LcL4T9Zf3j4BKuDwM3MJd0 3Bwgi7X0jSVWftv/o6WHkksrol2DJByZ8Gk0w8ioTscZ5VUsBwO84z6MPM8FIQufAEPL aJ/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=tsUFnxsh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ak15si5570311ejc.547.2021.01.24.21.10.04; Sun, 24 Jan 2021 21:10:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=tsUFnxsh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726714AbhAYFII (ORCPT + 99 others); Mon, 25 Jan 2021 00:08:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbhAYFIA (ORCPT ); Mon, 25 Jan 2021 00:08:00 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A2EEC061574 for ; Sun, 24 Jan 2021 21:07:20 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id y205so7726268pfc.5 for ; Sun, 24 Jan 2021 21:07:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JOUhfnWWdDSn5rx6Y3alCW/0otHcbj316dnvYqN7gu4=; b=tsUFnxshHE+L1KHEKNbr7GW5VWbpojZwNMWTulN94mLxAv5nmHR7FU5jkiJkbLDiE5 V2ApnArVL/VkkZmSeKVcldSXit/+C4iDHMVeKZHLwgfxAeD47Z84LDZQbeiT+HHmZYPg vhR2WbNrS3ybuGoEaHuW03cfqBHkGveM7jl9/RmRpGuE+kaGS59pDNCGnh3xcxougmPa p5iwfNjdh3OX84dG6S1nsOx92g93IwETYXENEkA23sHcgYRNnGYk0XN0GuINmTB5VT0N 5L72Gi8F+chKV5JbtZpv9Y3Np+0lxsXH9bDLf1Y/OnavILi1C9rC3WvB65TvMTatvJYY riEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JOUhfnWWdDSn5rx6Y3alCW/0otHcbj316dnvYqN7gu4=; b=eTfNI8NQkW/emI/z+0rvPbU+R2ufj8DPI64djmCQzTVcP8L0CuFnv48gxn5vNiGsur cDYfF4DNl1QopvD2CrdfJ7p8uuYJ/YtanfNro2T20k9fS/tnTIhX0t80OYGFzEayiUsc Gvz70lBhY88jU5WRcaPFE9U0DK22gwCahW2pIUgq6ma0lcQNuM+Jk+6X66IXUigvvqBS Vn0u+Pv2xFql0dwxXNYc1ZFRd93iGLCkLNw++kguZPWg3OlHOanWGKglY4WaKbos4Seq 4H2O967aq1GsQH1JnmNL+wk6S1Hmn68rYdRoHR9MoGpKysXoq1acr5ONKNJSpwBZdiO1 Mstg== X-Gm-Message-State: AOAM532ApFKe71rZ1dXXuNi0GmYUJ15NqAfcIOL+THT9/CwUZsgKlS6g SP45IEl0WPz+tAnQEqAKB5ynkhuQZluzHnMW0/axZA== X-Received: by 2002:a63:50a:: with SMTP id 10mr327154pgf.273.1611551239885; Sun, 24 Jan 2021 21:07:19 -0800 (PST) MIME-Version: 1.0 References: <20210117151053.24600-1-songmuchun@bytedance.com> <20210117151053.24600-7-songmuchun@bytedance.com> <88a384ba-8487-c66b-e7b-eb6055e3775@google.com> In-Reply-To: <88a384ba-8487-c66b-e7b-eb6055e3775@google.com> From: Muchun Song Date: Mon, 25 Jan 2021 13:06:44 +0800 Message-ID: Subject: Re: [External] Re: [PATCH v13 06/12] mm: hugetlb: set the PageHWPoison to the raw error page To: David Rientjes Cc: Jonathan Corbet , Mike Kravetz , Thomas Gleixner , mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, Peter Zijlstra , viro@zeniv.linux.org.uk, Andrew Morton , paulmck@kernel.org, mchehab+huawei@kernel.org, pawan.kumar.gupta@linux.intel.com, Randy Dunlap , oneukum@suse.com, anshuman.khandual@arm.com, jroedel@suse.de, Mina Almasry , Matthew Wilcox , Oscar Salvador , Michal Hocko , "Song Bao Hua (Barry Song)" , David Hildenbrand , =?UTF-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPoyDnm7TkuZ8p?= , Xiongchun duan , linux-doc@vger.kernel.org, LKML , Linux Memory Management List , linux-fsdevel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 25, 2021 at 8:06 AM David Rientjes wrote: > > > On Sun, 17 Jan 2021, Muchun Song wrote: > > > Because we reuse the first tail vmemmap page frame and remap it > > with read-only, we cannot set the PageHWPosion on a tail page. > > So we can use the head[4].private to record the real error page > > index and set the raw error page PageHWPoison later. > > > > Signed-off-by: Muchun Song > > Reviewed-by: Oscar Salvador > > Acked-by: David Rientjes Thanks.