Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1431204pxb; Mon, 22 Feb 2021 01:29:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzS5teD0v1f1DoLDm9l+atB26tfjwV0mqa/mtTJpgagqkNLeYfJigIgBiq+Kjz8bZRTJ0bM X-Received: by 2002:a17:906:82d3:: with SMTP id a19mr19902613ejy.505.1613986140685; Mon, 22 Feb 2021 01:29:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613986140; cv=none; d=google.com; s=arc-20160816; b=YIEQKe+ZL6FB4qxFJVm85RbkD/0aT6+NMMnCsBMn9l41tmbsgpLahvj44CaqhXHUFM PCNUw66uJtSV+SbD3MxjuUd45I5P8/0oSyv5aJ/KCTbqjeCucX1YT+uITGcGXRmtrvmP IDsE8mCZabQZgoc3tPEcZoZwb4llInihsdua10QlfIEsUa9HxpeDrsXdIx/uzG5tYQr8 9gGWf63HPOPYf+Esqe6KdhDRatjY5s9G0L+yRkNGFYEVA1HToO3qBBTV7vppvXHexyO8 OgdxTG0477D1iJv6mdEipV24tnyiqZwRWGI8AaBRu7vb9ymp1uKvy+ZshrQKnGKYi0JV rmPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UahR2KSk7VlBZc3dTRORhVfUx0fNuikYUhL9eaPGX7U=; b=htW72Tdf4feLT8PDl1MVqWFl1fu7pExCgLJ+GH9qQ/S3yp6gvK0YH+NbK5G9Gg8cv8 VTGfiezWHVQxZeBVxdVO1lfqUikuK4ECpQN5hRg7C+Sv5I0o+CXTHIbUksY9ZvW6o50R 2BVY84HIVN3xujrCvCBab7HSxG331IXJrZRTZT0pShI6GnmlrSuhIyLpndnO7MA9etFk Rp8QHIymjHXTPQ691N3h83vyZIdrBMxWAodVFC/OPVhZU51HowKaflzhywvW5ZqJyBhj 33cNYAJyuV53KNCPNJAXHgFGQ3uTF+leIMMaqMxRIEG/IyE4JddfvQ6d7Q2CFLkEekgV iEZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=fdt1pIsD; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zh8si7002332ejb.419.2021.02.22.01.28.37; Mon, 22 Feb 2021 01:29:00 -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=@suse.com header.s=susede1 header.b=fdt1pIsD; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbhBVJ1F (ORCPT + 99 others); Mon, 22 Feb 2021 04:27:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:59220 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbhBVJ0O (ORCPT ); Mon, 22 Feb 2021 04:26:14 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1613985927; h=from:from:reply-to: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=UahR2KSk7VlBZc3dTRORhVfUx0fNuikYUhL9eaPGX7U=; b=fdt1pIsDWxpYh/9cEIqlC5GwlO0EdIF1ZtDcVKC44TP72vfj4m7lrgFpLv0Z188/YoB8XD xzzyjQZQKyXvUjBhUPQBCOw6LHVFSs0URwuGj7QClp1QfzHFcQE5RGLVinrSWgPT9F9oZA ef3B0M0lGkb4nF24pGHRdCEoARo9HFw= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 7EFEDACCF; Mon, 22 Feb 2021 09:25:27 +0000 (UTC) Date: Mon, 22 Feb 2021 10:25:26 +0100 From: Michal Hocko To: Muchun Song 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 , David Rientjes , Matthew Wilcox , Oscar Salvador , "Song Bao Hua (Barry Song)" , David Hildenbrand , HORIGUCHI =?utf-8?B?TkFPWUEo5aCA5Y+jIOebtOS5nyk=?= , Joao Martins , Xiongchun duan , linux-doc@vger.kernel.org, LKML , Linux Memory Management List , linux-fsdevel Subject: Re: [External] Re: [PATCH v16 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page Message-ID: References: <20210219104954.67390-1-songmuchun@bytedance.com> <20210219104954.67390-5-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 20-02-21 12:20:36, Muchun Song wrote: > On Fri, Feb 19, 2021 at 10:12 PM Michal Hocko wrote: [...] > > What about hugetlb page poisoning on HW failure (resp. soft offlining)? > > If the HW poisoned hugetlb page failed to be dissolved, the page > will go back to the free list with PG_HWPoison set. But the page > will not be used, because we will check whether the page is HW > poisoned when it is dequeued from the free list. If so, we will skip > this page. Can this lead to an underprovisioned pool then? Or is there a new hugetlb allocated to replace the poisoned one? -- Michal Hocko SUSE Labs