Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp633589lqo; Wed, 8 May 2024 09:59:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAoSc6UUQz/0j7dA3VRpj3AnWrjZS/ydTV79B65ymvd2vvijytiarCq53/c6IOZjQl0gDLx6jo9Yb8hhCsA7yjJf5gWVfdNF55LVWLEQ== X-Google-Smtp-Source: AGHT+IFZz5WOVRoxHGtOvkFDSK/5mAewRnOLLHMhzWepGLvHdYtCJ0IcBGuAykjy6sr+NkQAMO6R X-Received: by 2002:a05:620a:414c:b0:790:bf20:eaa1 with SMTP id af79cd13be357-792bbdfe322mr36649385a.21.1715187563459; Wed, 08 May 2024 09:59:23 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s12-20020a05622a1a8c00b0043add259b23si14289542qtc.238.2024.05.08.09.59.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 09:59:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173583-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=eT51Zpln; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=rtBjGi4f; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-173583-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173583-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2378D1C21B15 for ; Wed, 8 May 2024 16:59:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43E94F9DE; Wed, 8 May 2024 16:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="eT51Zpln"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="rtBjGi4f" Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 EC51B1095A for ; Wed, 8 May 2024 16:59:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715187556; cv=fail; b=TMVITMHiP7Yt4Z9XH8P3eaLDV7Uuy7DGk0+FezpGaGbuI+0UifOSs1NAC/29keeKFNEG6AvD48clBn51SFdtyqYi4V2AE5cm0ctACEtQB7Cn10xxBI5DoIVVdU1tq3HEwJ24PZ9kRWybmdoUTBhJweUTaLkYx3ouVGjaKYM1IiQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715187556; c=relaxed/simple; bh=r5vCebRaIwX3M0HX0QQFhsTmNwQtU/3W8RudMGJ7Y08=; h=Message-ID:Date:Subject:To:References:From:In-Reply-To: Content-Type:MIME-Version; b=dODnrQ+7eeYTZWp78fliMW/kwD6tpDPBZHSbpIk4g8BrAIb4GwTJGlAk3qlEHoJa56HlSiMveCxryww3v9svMhgPxxoqXhw6R3iTxexmyavfjO2rhw51iYAJQY8RWzUOBSA0UZ4RLEur8BAJhP8jXY1WqmUnQzB1q4yHoqV9shQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=eT51Zpln; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=rtBjGi4f; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 448CO5Y0001331; Wed, 8 May 2024 16:59:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=pjGteoW4rBgvPuU5mrizoqXFEwcwFL9N8QkKYBzH+iQ=; b=eT51ZplnzAkm2v56R+Dc3CQ2zsHPAuId3Z45x4zjfiHb6gs0nWJqGU7elSs5h2V0IBzF IrY5lsOAGzxrjkuzUBgyeaH1e8L9Wmt/4rxE3S8dIODItSjgSoX4kbPch369NEFGZf5j uaUKzWBB0xW0awoSJAu+RcW2viLN6eLqyd35xmJ5qxCVgKfBvTTNoWnYeSeM0XLg45pV VkPGPjztmz6AxoJRrlMa2zxWlgYD9fPQth0pDCqFhlgkDdJ3vXDRvE3MLKQ8wyAcHkM8 gNXYJOgkZmr+Ctj+qqZjFFY577W77/RQ1Pm6oiUX8Zj5rVsApAn3zeJ+2KqSnzpcV/rr Dg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xysfq2bve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 May 2024 16:59:02 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 448FWXm8024276; Wed, 8 May 2024 16:59:02 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2169.outbound.protection.outlook.com [104.47.73.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3xysfnk85b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 May 2024 16:59:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HzTe/8EUjRHxrabZH9tEe72Nz4nCH77OjprgZi0a2zCKvoputJMCWHsI0AcpDmu8b7iX+F5caMykDc1yB64g2TLspfFeiIuVV1dOAHo0pIOKGehXiRynVi7eA30M07/BlqroayEmxZDBP5GD9MzVeV+sOYqjiqUr492Ee2FrdOmZSZeAhtDfQ7IrStIf4aIW5JNEWdeHS9Cb2gIiLKlULaoCX2p8Ps216sq2MD/gG+ktGyOqlLhrPxLbP9Vs05uEkuYweLnLU/hmsjriyL7Tg5eZawtADS7CL3fkWfPcWqphrYKHhWLrc2rAC4vVUIeh2k8yyEf+71nxHnEmz0RuUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pjGteoW4rBgvPuU5mrizoqXFEwcwFL9N8QkKYBzH+iQ=; b=oX30LygZr8bsNAoMp/7yCAPA5FuhQPsA5xkVEBA0UahSh5Nhbo+uLQCoffN2vHU82HR5VDfbVfMdDfOLHLTVhTv7n8Rf8hiKCdPQDFCK2bZQxZdSMW3LxE+l4dyYqwFIquDzT6hqcEy489WL/ATJMRSC4U+N7fJUwHMSHwTXAykYSsyQ6V5pQ/7qzg7f5Bed7RmJ1PR87T7fhwZOpj25DDnx/3Y7fFYAlJ1frhtXuz1rltE88jy7lX2fu7WaKFl/h0fVUKIGUsiLpFIT7rMZU0UtTIRTMUw+pLfF5M5hvlB2icwG5Bm9GDjFbe/c0G2SJM6U0AFvX/F/I+TFnT9Yrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pjGteoW4rBgvPuU5mrizoqXFEwcwFL9N8QkKYBzH+iQ=; b=rtBjGi4fXx9YoG2aZXwwBfiLud0KBX2BzI69hu49/KXQM/ZA9na7oRMhaAkZnANwsnnn5czMvjNTVTkW0v206ugIpojtLUGJ6UspkMLDTX3QWfToLi99ou4NdxtT/+zafGRwz+7m6UeK5SdrValtuQuqIyZXJJ3EkRnR2dWPWZQ= Received: from SJ0PR10MB4429.namprd10.prod.outlook.com (2603:10b6:a03:2d1::14) by PH0PR10MB5895.namprd10.prod.outlook.com (2603:10b6:510:14c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.46; Wed, 8 May 2024 16:58:49 +0000 Received: from SJ0PR10MB4429.namprd10.prod.outlook.com ([fe80::f5b:648d:5d73:dd03]) by SJ0PR10MB4429.namprd10.prod.outlook.com ([fe80::f5b:648d:5d73:dd03%7]) with mapi id 15.20.7544.041; Wed, 8 May 2024 16:58:49 +0000 Message-ID: <64df4f60-464a-4fae-81c3-f355c07410d0@oracle.com> Date: Wed, 8 May 2024 09:58:42 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] mm/memory-failure: try to send SIGBUS even if unmap failed To: Miaohe Lin , nao.horiguchi@gmail.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20240501232458.3919593-1-jane.chu@oracle.com> <20240501232458.3919593-2-jane.chu@oracle.com> <1bc8c5ff-1452-11d3-edee-9f45a87015a9@huawei.com> Content-Language: en-US From: Jane Chu In-Reply-To: <1bc8c5ff-1452-11d3-edee-9f45a87015a9@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL1PR13CA0225.namprd13.prod.outlook.com (2603:10b6:208:2bf::20) To SJ0PR10MB4429.namprd10.prod.outlook.com (2603:10b6:a03:2d1::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR10MB4429:EE_|PH0PR10MB5895:EE_ X-MS-Office365-Filtering-Correlation-Id: 30161ca8-5f22-40fd-c0f1-08dc6f802195 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Y1Q2R2grRFNEamRyQzNEQWlGY24vWE4wRk5rM2ttb1c1WkFGUS9LSDhSMEdh?= =?utf-8?B?bmg0bE5NTzE4R2J2Yll1WDFZVnlBb0d3RWZZbTFsbkFSd2oxTHpQZlJkZUt3?= =?utf-8?B?a1lnZUdiM01ZN1JrOVRKN3l0dlNLTlRTRTNHdXZLSEVtRlZHOUEzYU5MdE1a?= =?utf-8?B?cVMwdzVJbGVubUNHdkJVTWJoNllnQTlkUWV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N25GY05aeVphTk9uc0V1TUd5OGZGN2VRRW5kS3FwMjFBenFE?= =?utf-8?B?dmFCbXdTcFdBb1pBNENieWZyZHpiSWZGMEtsVGtyVW9qbU1xT29CT3NVTXpF?= =?utf-8?B?aEhCTDd6cS9nVnNPUENQajhqSWZEZ2dtaVkrWTNTbFdEdlhGMS9lRDdSTVVs?= =?utf-8?B?cE12aG5UeURtTDAyYUVLRWU0cE95ZEYwOVZ0M0ZabTVaSkpzaXJpWGkvZWZw?= =?utf-8?B?T2Rpa1VUYW1ZaWtFOHhhcGM3MkJIRWdjMEdGV2VCOUtLc3A3WnVUN3ZlY2E2?= =?utf-8?B?MU1TRHdSaUNRckI4cENzOFcrYUNaR0N4RjRSVEloZkJUMHJjTExmbldqUXNv?= =?utf-8?B?NnIyS3hHclU3V2ZZWW5GUnFWTkdoODJpWEhKZXNzNTAvMXVnWEhoMlozMVN3?= =?utf-8?B?ZHlDSXBKNXg3RTl4LzV2SHQ1QTdNOTUvajNNZlFFODhvekpFVXBWbldJelE3?= =?utf-8?B?bFN0bU9WRmZGSkNGOWpSdmZjNCszZ1hNNnM3bS93RTdIaE1nNmxKcWJrY3ZO?= =?utf-8?B?b1JPMzVjc0tNdEFtdnRIem81aUFRTWFjbzU3bHdWb3dmV051NkEvWEljY3Fj?= =?utf-8?B?NythRlo4elhHVjAzUXl0TnpNWmRpMXRkMHRDODRZNncwaHJqMTR1UGhnPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR10MB4429.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T1Y1cEFGNnFYbnJaLzFSQW5TazVaSjJGaHlWMWc3UUplKzdobjh6Qm5aRm9L?= =?utf-8?B?WUROVEJkd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N2WnlVY0po?= =?utf-8?B?VnRBSjBWc2o0WjRwU1VFaDFHcmc3WC9RUk5nS2ZUV0srRC80QURkNE4wVVJn?= =?utf-8?B?Y1dhWGh0M1YrZUMwS0pEbkZNU0s1Y3BWR2VDMVl1d2pkelpINjg2MFl6c0Nu?= =?utf-8?B?WVdWWVY2MGduR1BaZ3ZyWktwVzZDWXYwZk81UnYyaTlka2ZEbllYZXI1ZE1a?= =?utf-8?B?SmkzN0JFbzJvRitUSUhJL0JqYjkzU2k2Q2dFMnRaOW9WZWlVUkc4WitGUXVG?= =?utf-8?Q?unXYf1y5iENntcAJqtq76qbdU?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: WjA9RZevjHqsN6LpZwfMA2LtTABB/4FNnG8SCjwZdU1E1PNV3zKxRtgLbu8HpmQNCs4iKHTo5IL740EziiIq47FmeemVAb8B2nG12PZ73ikVVIlfGRk5j2pC9927a1wOiuXGD+Qk6v9gZ6rDCeHJLkcrF/gs40PsKNyRaRp6uqPxoH8oZZk0GKb3vycyerOpnlAvmGC8HWPPFwn1ijimrVQh8OHrf9RcuAAS7L4IXuKCqAxgfNTOtlwu5902qgWjjyea4a1iQ9a9/ZxFj0zn7ZMysHaB4+ukmOqOyht+pHQksbUzoeVuI6aX8sGw6ket7BNUHkAJqap4f1b4gvMT/M0bolthdA4ipUlHH+CaWkpUbBN0oSDEYDsp80Wcyk5Y/C9paNc6lOncnzod1nWmW6fCLPPVndhOTlrMrmOOAHd3c6kpD27Kq32ClEsfv6L0GDtV0PMSaAc/qEbCQ1S17/FVivPy98Ockt9L8pR422lFLmyZQDURyoDO2nUj3FXgJQr8EDbEYVx2t5xBK3cVZasvx2JAaltfJ0vaNgiCXaZT00AmksjjUw+2wJf+xY9otBnlJKVvOXDQLmHWB3WFBEThL5vAlDOHu+z5gDYDHjM= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30161ca8-5f22-40fd-c0f1-08dc6f802195 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4429.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2024 16:58:49.1327 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HpAuXF4564CxzLG4X0pdo1vrfcDrUcQa9Ji4S72UYd3Co2HIe3wEVCktm7Rm72ARbsQVSl0ak/2m8l/fumobuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5895 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-08_09,2024-05-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405080123 X-Proofpoint-GUID: HFJT40WwGSXnXjERO3mvm2b1HAl665tR X-Proofpoint-ORIG-GUID: HFJT40WwGSXnXjERO3mvm2b1HAl665tR On 5/8/2024 12:47 AM, Miaohe Lin wrote: > On 2024/5/2 7:24, Jane Chu wrote: >> For years when it comes down to kill a process due to hwpoison, >> a SIGBUS is delivered only if unmap has been successful. >> Otherwise, a SIGKILL is delivered. And the reason for that is >> to prevent the involved process from accessing the hwpoisoned >> page again. >> >> Since then a lot has changed, a hwpoisoned page is marked and >> upon being re-accessed, the process will be killed immediately. >> So let's take out the '!unmap_success' factor and try to deliver >> SIGBUS if possible. >> >> Signed-off-by: Jane Chu >> --- >> mm/memory-failure.c | 13 ++++--------- >> 1 file changed, 4 insertions(+), 9 deletions(-) >> >> diff --git a/mm/memory-failure.c b/mm/memory-failure.c >> index 9e62a00b46dd..7fcf182abb96 100644 >> --- a/mm/memory-failure.c >> +++ b/mm/memory-failure.c >> @@ -519,19 +519,14 @@ void add_to_kill_ksm(struct task_struct *tsk, struct page *p, >> * Also when FAIL is set do a force kill because something went >> * wrong earlier. > Since @fail is removed, above comment should be removed too. > Thanks. > . Good catch, will do. Thanks! -jane