Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2672164pxb; Sun, 24 Jan 2021 16:16:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnbJGjU9L5IAwRIQ6O6HWtkRBpzcADqvORgy3Rqy3Z3xEt2Omy2WYeH9lTTiTWCdIdOZOt X-Received: by 2002:a50:c94c:: with SMTP id p12mr20416edh.154.1611533786868; Sun, 24 Jan 2021 16:16:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611533786; cv=none; d=google.com; s=arc-20160816; b=kTj/sqdzoY8LRxMRtJDDFUdbrwYuLMFDaJWH1FMZbluh/bifSG+cMdkJ49E/M9Ciwz L0o/u8oJC2z2ibJsvU0/Y2YOhA9DCBIW7TEe/XCGYChdcbnqVJBXcyO/iA3tBEgGBGFX Gyt31dOQdFPPcKyc9B/WeWvOkVPEmD0kFemay/+oLZKAK1PsAXjf+/2DvHO8vCG2tBZM /K7zc6azWMJJ/ZIO3joxdv5YYg9VJO1eC4CRXdppBOnW39dtwDkMhWfsD/KzHJH2wWiV ax03rvIy/xJCA4lgoxrLg1OCmrGRFTiO0yBy33uo2uktfPtsEC9D8b76d4iGHXhCCwLE Zv1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=lJAlWsxHbl8p3VKZjZPTI5PoyuI0xzJ3qlZ40HECelI=; b=ISB5fovMmiUHwJYXeiaChXXGf3W6WNRS3Lj41B36GmLBW2r4Ck+UP60H59l92LDvOX XFXydtRLxnYZzwd6BfyR8F03cSate76JQSPW8Bm8Ww9JXAmn5D4lw1Jk5bjhSwCvaiCb Na9zHpS8efgGQhOVMlzNDntPFZMlRbOsibRdsDhjqUcYgWv40e+52gEqaJs84qAmIeE+ PwCSXlEkpUD1r/cxXLuGbBqrCckFH/nGkUUAEyuqI83PGnwGMZvXlE1tmJ3x2cX1m1Pz 3CGqaCXrxHgPO+OWpRhEZfTjQoNZjA0XUQ4G9oILgGw3qw/+3uVVtzZHI2bqelKmbOQ0 Jt3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=sSZCCC1K; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p1si6405266edm.218.2021.01.24.16.16.01; Sun, 24 Jan 2021 16:16:26 -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=@google.com header.s=20161025 header.b=sSZCCC1K; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726552AbhAYAHt (ORCPT + 99 others); Sun, 24 Jan 2021 19:07:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726480AbhAYAG5 (ORCPT ); Sun, 24 Jan 2021 19:06:57 -0500 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2BB6C0613ED for ; Sun, 24 Jan 2021 16:06:16 -0800 (PST) Received: by mail-pg1-x531.google.com with SMTP id i5so7783871pgo.1 for ; Sun, 24 Jan 2021 16:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=lJAlWsxHbl8p3VKZjZPTI5PoyuI0xzJ3qlZ40HECelI=; b=sSZCCC1Kl7/xkG5bjekS3mF2Id9siUna4XWqSxx9E3gjnH1n78FC3bXiv7+Zmr6bqf x19qmrxqdt8IyP7aZzmZY5QAfybRuILE5gfp0RzZ7bUiSqeocAaI3U83eEciulKcJSPv hMHkK7d3sLKGt20HprUuHS0E/5LMWtkIyVhdPDJ/rVNs7tsi8x+I192TUOp6IN7Hofys QXd7ty1ThgdOgAerm1Xa/wRoK150fYvP/iq3cUN3L1wlYSkqDeq3oY0BapKgNdcNkuBh 9M/JgN8wyWNYHzxSDeOWmC1yiYYj4rE/ogBZ8HrhhNHqEZyv9BwsEmjgqB61o21ByrAu mgZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=lJAlWsxHbl8p3VKZjZPTI5PoyuI0xzJ3qlZ40HECelI=; b=pEjtsjDmPQDC/tYBUQTAQps+fILPBX7vW979k6RUHTQzrKPQi1HmDtvYPSwirGwYrx /lV0IdXDXQhoCE9ZexsNkr2MKY0tDp/VrsfhGW2W4S2I1ERl+eV+bMI8poWdXyUm997j YPi7PP7sixthWFrIaUv7Wsy+RWwQzJ41Z+Acf4Ps5KjYn8JjBI1knh8XcfSIOFq8Rk7Q n5cIaNmNlVH1c9kmH+0eeJhbfNGg9Lt9N9jGQzvMlHYP6inMKG91cyTo6EpsWZqBLpqF Q/IK7+IZ518vpsrA7pd3+9Elf2adAkudeXJMx78ysCBezHffylkgiDcHSQk7Dd4Q2WRo KfEw== X-Gm-Message-State: AOAM5306un6VOImQ//vka+hFw46sy8O2oIPwRbkB0KFjU/alKaA2K/Ev nguoa7X7XH+Eo1c4K11k/KIO0w== X-Received: by 2002:a65:5884:: with SMTP id d4mr1500656pgu.303.1611533176201; Sun, 24 Jan 2021 16:06:16 -0800 (PST) Received: from [2620:15c:17:3:4a0f:cfff:fe51:6667] ([2620:15c:17:3:4a0f:cfff:fe51:6667]) by smtp.gmail.com with ESMTPSA id e20sm1056397pgr.48.2021.01.24.16.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 16:06:15 -0800 (PST) Date: Sun, 24 Jan 2021 16:06:14 -0800 (PST) From: David Rientjes To: Muchun Song cc: corbet@lwn.net, mike.kravetz@oracle.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, paulmck@kernel.org, mchehab+huawei@kernel.org, pawan.kumar.gupta@linux.intel.com, rdunlap@infradead.org, oneukum@suse.com, anshuman.khandual@arm.com, jroedel@suse.de, almasrymina@google.com, willy@infradead.org, osalvador@suse.de, mhocko@suse.com, song.bao.hua@hisilicon.com, david@redhat.com, naoya.horiguchi@nec.com, duanxiongchun@bytedance.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v13 06/12] mm: hugetlb: set the PageHWPoison to the raw error page In-Reply-To: <20210117151053.24600-7-songmuchun@bytedance.com> Message-ID: <88a384ba-8487-c66b-e7b-eb6055e3775@google.com> References: <20210117151053.24600-1-songmuchun@bytedance.com> <20210117151053.24600-7-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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