From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout12.his.huawei.com (canpmsgout12.his.huawei.com [113.46.200.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DB3F37BE6C for ; Tue, 9 Jun 2026 06:34:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.227 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780986896; cv=none; b=CMQZ/X3UrTKCarNu3p3qteYMvX+ammrM6mUKRc8Zqg1/ebqBb7O1bmOoguvGi6aaEdFoXDImHhBUx+l6HNYeOFM19eFn83Ayh9pj27ECrT76zZk/JGEMI4SPmJgXQFuhqq/cqSLKdr7jZru8SdhPvxfv7T07nFTRY/WZcznz43k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780986896; c=relaxed/simple; bh=CZkJgzsOLU1hzDn5KxMIBNBDH/fudYSLFXa5gkaevbw=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=rkfgroPwgXATUuA0tLJr1hsHhHIEcL2FoePBHBPFX0iWLBphiQpxXLk4jjQyxB1Y4wSyuWFOsrMYjUObMFICHUjUQIe/m84X15xoRpsrqyTahs3muhjB0keCHzkrhqgt7n2+HunFrCg0RBtYvWd7CDyafm4ID2jOIeQDuDkc9Zw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=XpLfG/h8; arc=none smtp.client-ip=113.46.200.227 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="XpLfG/h8" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=I89KtEaT7df8OSytUsfnuJ9NdkGMGWdnduwTEcuYKfU=; b=XpLfG/h8VOTC6DoZc/A5deHFrg8CMyUcUuJrRjSSJLx/xRJREyG5OUYnaPMCcXfptpAE32VzO P8Xk2pkuhNz0jgtUD0ttT+MTCb6xAAjLy24GfWDPWphsDJy9NzMR179Tv8wl8TZBAVob+9kfG30 peiJZz4F91NJqOUtvjfkVR4= Received: from mail.maildlp.com (unknown [172.19.163.15]) by canpmsgout12.his.huawei.com (SkyGuard) with ESMTPS id 4gZJpr5QslznTc6; Tue, 9 Jun 2026 14:27:00 +0800 (CST) Received: from dggemv706-chm.china.huawei.com (unknown [10.3.19.33]) by mail.maildlp.com (Postfix) with ESMTPS id 7F52B40539; Tue, 9 Jun 2026 14:34:50 +0800 (CST) Received: from kwepemq500010.china.huawei.com (7.202.194.235) by dggemv706-chm.china.huawei.com (10.3.19.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 9 Jun 2026 14:34:50 +0800 Received: from [10.173.124.160] (10.173.124.160) by kwepemq500010.china.huawei.com (7.202.194.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 9 Jun 2026 14:34:48 +0800 Subject: Re: [PATCH v5 2/4] mm/memory-failure: set has_hwpoisoned flags on dissolved HugeTLB folio To: Jiaqi Yan CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20260531055829.3636554-1-jiaqiyan@google.com> <20260531055829.3636554-3-jiaqiyan@google.com> From: Miaohe Lin Message-ID: <7bc9d2fa-48ca-9fff-65fd-87875310db1c@huawei.com> Date: Tue, 9 Jun 2026 14:34:47 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20260531055829.3636554-3-jiaqiyan@google.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: kwepems100002.china.huawei.com (7.221.188.206) To kwepemq500010.china.huawei.com (7.202.194.235) On 2026/5/31 13:58, Jiaqi Yan wrote: > When a free HWPoison HugeTLB folio is dissolved, it becomes > non-HugeTLB and is released to buddy allocator as a high-order > folio. > > Set has_hwpoisoned flags on the high-order folio so that buddy > allocator can tell that it contains certain HWPoison page(s), > and can handle it specially with free_has_hwpoisoned(). > > Signed-off-by: Jiaqi Yan Acked-by: Miaohe Lin Thanks. .