Message ID | 20240606063247.712575-13-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 225DDC25B75 for <linux-mm@archiver.kernel.org>; Thu, 6 Jun 2024 06:36:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 97BBC6B00A3; Thu, 6 Jun 2024 02:36:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8B9826B00A9; Thu, 6 Jun 2024 02:36:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2EC116B00A3; Thu, 6 Jun 2024 02:36:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 0A7FA6B00A5 for <linux-mm@kvack.org>; Thu, 6 Jun 2024 02:36:34 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id BBF51A1D59 for <linux-mm@kvack.org>; Thu, 6 Jun 2024 06:36:33 +0000 (UTC) X-FDA: 82199505066.24.21FC707 Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by imf23.hostedemail.com (Postfix) with ESMTP id 9C97B140010 for <linux-mm@kvack.org>; Thu, 6 Jun 2024 06:36:31 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf23.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.32 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717655792; 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; bh=LAtz7ewGpMSywGfrv7lAhKdC2g8+nt68QVZSz45GsQ4=; b=O8bFWagOuDJHHk9NccFr+D36FopIKwwAMuTg90jkNahXDH1Mg7Wxt5MUw47y2i9bbqGJjt aFpXAxwtNG0+s4pXk3XfpVk3HZj/SarBsvRroX60+XU+ILDXa2SHUlFn9KOihE5wIBcn7d L6PihwVR4KCwLC4G0UHP/rKhaI2KAQg= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf23.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.32 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1717655792; a=rsa-sha256; cv=none; b=w8ks53e6tuQGQ1EovclkiFglXMfbuNNiFbAMaccsBdivx0hCRNH4JJlfugzx27TI4jXFKX 1ZCW5wDR+XwPt1SQ2phOwz8mUWEQemfitGr59S5UVCz2Kmfweuwe/uUBAXzNuKNhq877v5 X5GTuUW186d3O2et4g+g5RZI0WwPlU4= Received: from mail.maildlp.com (unknown [172.19.88.214]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4VvvhX1wr5z1xsGB; Thu, 6 Jun 2024 14:35:08 +0800 (CST) Received: from canpemm500002.china.huawei.com (unknown [7.192.104.244]) by mail.maildlp.com (Postfix) with ESMTPS id CAAE21A016C; Thu, 6 Jun 2024 14:36:28 +0800 (CST) Received: from huawei.com (10.173.135.154) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 6 Jun 2024 14:36:28 +0800 From: Miaohe Lin <linmiaohe@huawei.com> To: <akpm@linux-foundation.org>, <tony.luck@intel.com>, <bp@alien8.de> CC: <nao.horiguchi@gmail.com>, <linmiaohe@huawei.com>, <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>, <linux-edac@vger.kernel.org> Subject: [PATCH v2 12/13] mm/memory-failure: remove obsolete comment in kill_proc() Date: Thu, 6 Jun 2024 14:32:46 +0800 Message-ID: <20240606063247.712575-13-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20240606063247.712575-1-linmiaohe@huawei.com> References: <20240606063247.712575-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.173.135.154] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500002.china.huawei.com (7.192.104.244) X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 9C97B140010 X-Stat-Signature: ppgefugaezxnuypadfmfmgi9p49qsbcp X-HE-Tag: 1717655791-868009 X-HE-Meta: U2FsdGVkX1/SJwkY/XduUh4uza2o8rDYmYOT67g82IUVM5noBuyuUtBKNrhAix4yKSN2lppzaaA1QAILGrKhS2GJJ5SlA58CNwvJRMzIDJQTQRmRUfzH/tbumnFSTmUAA0ZHlsAlEuZ5dNaKE7IJKQezs97fJVo7gCwlOrtdQ0jwQyxPs3csjeUHodVekDa6svqg9EH5IAIYGVZhtvCl4sNss2/pBj+S+94TR4RIuaSsbsmOENUd7Q5AHHitWA3Ajc/nS9aI4TtM7OAik0PQOXhNuyfiB84eDXvRaB6iuGC9WTI13glE/2P0Fh1gUoJrl6P8rpHug3WC9i7N9BV7P0tj8VSAD73vHhxt5XO0aeU6DsOFtjW7om95tZuvpjRHCBnIhAsftLT7+L/4YpBFIDk+zFoy1eO0bmLZfBPvExumEtwXwBhISk+8jgcKwhbZHbI8tKWlrN6jQOMTDbDPJzfRJGXqE36k/cV/Zj+hV0cnQPu839rchTCLnAUnwW6KiK3NyIJHaC8PlbdFGsawhE2UvGZuakX8G5Q9QTI+gD/4CXSFbK++e3DIe5UrPlufLt2R6fZsYzjOuVqshhHz1xgclcAr0/mphwmAmH4rTW4u0I3g7LfNFkm0UVaXFgSI9RXkkraOwVqV/lb3ayMkgm2AM3e8619ttrenJ+lv+hyfRmE39kjKL4Su+WF465RLCXB+mWwuTuCgS0atOYN4WGhVUKOBjcLJNmhbbeLqghEdYd78eP8C5snX8H3xDuVHON4eqeJs2bmgtWHLHa7KGR7OH4aicAkKgdVUE8YWl8r8Yj9kPdLnieV0nMeqhdIJbcEHtTr2qb4K9K/JLNX8mISeuKMwKTqe8iqTH1Xd4U1K7hSpXIMl67ijoAKI/Ox47YFPgLvlfe3yHJoVjx/Txn1gE8wcUneZVKYGKoWDUoFFgf2e90qXFKHQAGXxmhf72E/M0r2W+8MycVRTlJC StX+WHMV dEoESJ+ihE7rsCfSPPjLUvsE+sxPOQPubciWM4JTlqpOTO6AJ2Fx1wUFGJsDpBx5d4Dppjy1gof5hhRAhqEq+uXJCq4r2V3YvZGUrtOEBXgJu49R27Tb4kXlqRJI17ESLctFfdX2fmlqz937d7DDtykCpeVWtQdIG6AF+Qwdp9jXWelsQ/6EqJhlt5YI6azSSVmN5Ss2fhtVuWpmZE0HwcmMHQ8OCSKSRSgmIfm+orpPBZpq5Oi4xFbx1tnvbblCiT3X4LiVRkhbMybx0Vl9J71RHqqEI1kIZzgYe X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Some cleanups for memory-failure
|
expand
|
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 0d37f20968e6..161bdc79b44c 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -354,8 +354,6 @@ static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags) * PF_MCE_EARLY set. * Don't use force here, it's convenient if the signal * can be temporarily blocked. - * This could cause a loop when the user sets SIGBUS - * to SIG_IGN, but hopefully no one will do that? */ ret = send_sig_mceerr(BUS_MCEERR_AO, (void __user *)tk->addr, addr_lsb, t);
When user sets SIGBUS to SIG_IGN, it won't cause loop now. For action required mce error, SIGBUS cannot be blocked. Also when a hwpoisoned page is re-accessed, kill_accessing_process() will be called to kill the process. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> --- mm/memory-failure.c | 2 -- 1 file changed, 2 deletions(-)