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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E203C433FE for ; Mon, 7 Nov 2022 20:53:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 54EAC6B0071; Mon, 7 Nov 2022 15:53:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4FECE6B0073; Mon, 7 Nov 2022 15:53:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3ED316B0074; Mon, 7 Nov 2022 15:53:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 31E1D6B0071 for ; Mon, 7 Nov 2022 15:53:20 -0500 (EST) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id D2145A09BF for ; Mon, 7 Nov 2022 20:53:19 +0000 (UTC) X-FDA: 80107846518.10.B7644E3 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf03.hostedemail.com (Postfix) with ESMTP id 3E06520004 for ; Mon, 7 Nov 2022 20:53:17 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D6F8610A6; Mon, 7 Nov 2022 20:53:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 317C4C433D7; Mon, 7 Nov 2022 20:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1667854396; bh=+eJ2o1l0gbVliYvzRzd61CQycgyC2XhNGHqqZO1akTw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cEd+2xl+wRe99duQVa4hlCAjMKDChFUL+bOlxKQ3KFmWcTYji0DL/62mfoyJ1xIf2 rkNIJiu6xPDyOP4WAzXodirC3bDBO27VaT/7jZLEK1ma298P4XhKL09Bt9+koTCT+8 biKC+C5VDIzKHBSoYgRE3cwPOUtBSBz8RnMex6bw= Date: Mon, 7 Nov 2022 12:53:15 -0800 From: Andrew Morton To: Jiaqi Yan Cc: kirill.shutemov@linux.intel.com, kirill@shutemov.name, shy828301@gmail.com, tongtiangen@huawei.com, tony.luck@intel.com, naoya.horiguchi@nec.com, linmiaohe@huawei.com, linux-mm@kvack.org, Oscar Salvador , Yang Shi Subject: Re: [PATCH v6 0/2] Memory poison recovery in khugepaged collapsing Message-Id: <20221107125315.b2916c557ff35d3b74aee503@linux-foundation.org> In-Reply-To: <20221107025359.2911028-1-jiaqiyan@google.com> References: <20221107025359.2911028-1-jiaqiyan@google.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667854398; a=rsa-sha256; cv=none; b=rOIWdC6CGag8WQ/nUapjYfn1Xe4nmzIOaSrfID155O8IGvsgI50Ylo+3EIdsQMQZMniYB9 UrfBAt80zy+j0XhbYcz2zZaBOxG1ft0J+3DAM55IaVuSTJHkGF3cooNbj3rDqleBX702dg aw1qBZ1rWqdOWNTOBp3nYYa78VkKpW0= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=cEd+2xl+; spf=pass (imf03.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667854398; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=J7MGuYxXUnareVW2ZUIbYjTmAHslkxQIsrbvVxPsBcE=; b=RrxMVeb1ETV1iglK2S6bIkfaARTgUco6MTBCRe1YGK0O0WxeCR1r/qSmRMwM0rrYAoYWcQ idsiao1AZFf27YIXmaLQRqgu+DrSvunRr463OK7ByOv7+uexX3MQXj0hUZdb4Op1LGshQJ t9kd+29tRtURGN9pQDnkSlVYwAMfrms= X-Stat-Signature: f8xw48jmr6ngb1i138d6kkztbxr877tm X-Rspam-User: Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=cEd+2xl+; spf=pass (imf03.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Queue-Id: 3E06520004 X-Rspamd-Server: rspam09 X-HE-Tag: 1667854397-492337 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, 6 Nov 2022 18:53:57 -0800 Jiaqi Yan wrote: > Memory DIMMs are subject to multi-bit flips, i.e. memory errors. > As memory size and density increase, the chances of and number of > memory errors increase. The increasing size and density of server > RAM in the data center and cloud have shown increased uncorrectable > memory errors. There are already mechanisms in the kernel to recover > from uncorrectable memory errors. This series of patches provides > the recovery mechanism for the particular kernel agent khugepaged > when it collapses memory pages. Thanks, I'll toss v6 into mm-unstable for some testing, pending further review. When resending a patchset, please try to also cc the people who have commented on previous versions.