Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp242730pxy; Tue, 20 Apr 2021 17:58:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfywqvBCFZSQ63W+XeyHi3Sv78H8DSV/J+PS7RHyL8AUZQp8B6XloHwHWh1ZWAHfVxvie2 X-Received: by 2002:a17:906:d783:: with SMTP id pj3mr29500260ejb.38.1618966731397; Tue, 20 Apr 2021 17:58:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618966731; cv=pass; d=google.com; s=arc-20160816; b=DCApPqCbEJSj5tdQC3PCd/yLESnOVuNX0sKaQs0k1c5inCHeRnvAKJMjJZfKx00GLA 4hc79TiNgjBHkNWsZFpPZkZk81ytda6Y1UEWWvBJVyxyBG0qmNANQ3KhFfY3M1vczYRd Z5egfV1TjwTe8ZxNucqaNcatjzKHIhMJHBAYdMKSq8fku88yHpr5AaGMz6FHRZqDI+Xq wX6B7FZXwZlYeFTjvQNS8zlP6I3gWfck/c5zdrvXvN1xem5NAGijH5uzoJJMdW7h0G6w b6yToKCGZzt0Bcx9UUaOIurX/fds68hG1FLhYYiRhXTZAkrXsKCfD4lDbt6gooYgeLIJ V3XQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=jUCumuvt9VeIhJ1T6utEt2CD8IP2QhUr7vPzq0jHX+U=; b=ycEZgLYulaOmyM6yeMgZ8/5AP2KfufdoTeQ598dI18QXCVq4qbpPbiZJGGGYGb3jYU WVl7Hc0tf+QPhbO4DcJziNUD25K0Y0utrC1DQ2IB9XygUZxRLA5GY08hkNtIfHUYTCfx oW4V43Lj+YlX3rjFT/2GjlHjkRWel3BVaLAJ8L8L/8Jmc8vKizZQHHyavz0oiXx6N+Pf LCWYU5rLaJxZGaCpu8UmQtR5kboktz8u5ZeTWwDMCcUbXM/ncbIbLDBl59IUEhH69zwU 7Ytl+3c7MR+LyJwvvX6Sdv5mqJHtXbJQBqB2qjdfXT8Ilu7bD1JSfKaB8iai+kLeJ3PP ey8A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nec.com header.s=selector1 header.b=Q5GuRAAZ; arc=pass (i=1 spf=pass spfdomain=nec.com dkim=pass dkdomain=nec.com dmarc=pass fromdomain=nec.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si485083edd.19.2021.04.20.17.58.27; Tue, 20 Apr 2021 17:58:51 -0700 (PDT) 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=@nec.com header.s=selector1 header.b=Q5GuRAAZ; arc=pass (i=1 spf=pass spfdomain=nec.com dkim=pass dkdomain=nec.com dmarc=pass fromdomain=nec.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234276AbhDUA5f (ORCPT + 99 others); Tue, 20 Apr 2021 20:57:35 -0400 Received: from mail-eopbgr1400054.outbound.protection.outlook.com ([40.107.140.54]:51328 "EHLO JPN01-TY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233836AbhDUA5f (ORCPT ); Tue, 20 Apr 2021 20:57:35 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q/O2jNTkcKBJDUhZJuj5uoVVhmZQ5gaOKrCJblw0QSTwZefeqzb+3SHm4Kkw9BSzfmvtcbs9IJo3EoAJb8j3FApvKstTRVD/V8mxRa8UfBzxh9X5BT9i52LOT6U310VG4OAootJz2/3niOZQTTeR/o6mb15LrKFOxAFjOqRhf1Gk/2bYwlLCqpWO71Qm9YQ+YWlPF8RjT9AtjbG7wCOA5VAZ8R0HVtRKx4R578MrHG32MlfOzrNpjgw3Y9z+OGoSOqYsQbKePaEOONQWz/TgSlzNOoom5n601zjBSRSvOpUKwH8oZZg2ZXI6tmDyWuimMrD9h6UeD7uLR4k0QSHutg== 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-SenderADCheck; bh=jUCumuvt9VeIhJ1T6utEt2CD8IP2QhUr7vPzq0jHX+U=; b=HC56fL8QbNwi8BxGYA+WO+pnxIqVERcx3h5daVC3yNBa6fLBc3qP92LALnRlx312OPVkTXmIkEWqI8hWn/tTRgz+9Mm67JwTevRkH5L5W+guzjn/tJSCKoEsG72HlE/sAmyGHLRPaOW3m8cwq+88c363fA6lnh9zaAx8Jobvd3DwqTlWl5l8R82ZG0E0nNosgSMAMTskBAbQbYzRcGIQHFXJ3m3FdT4r5X/Nx+Mg7DNbiSW61LD0ucsi7l3A85I4GhfQ14Z4l9nCwaKHYPW1rGIsjQbFwDxQlkVclsywx8Bpf6OjjMXUzgcP86V0TmaCEhvENikLpw1tr7EcKy4yvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nec.com; dmarc=pass action=none header.from=nec.com; dkim=pass header.d=nec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jUCumuvt9VeIhJ1T6utEt2CD8IP2QhUr7vPzq0jHX+U=; b=Q5GuRAAZ1BtdIYKPOnKQj6XcQBohQAKrixdBxvZ5avtYqJZxbeYtmKkv0GZpm1NgWgHTT01XZwHUaSXCdgFzLFn0C0RpKJVO8sufpyriB0OY4fEuZsDzc2UQaalxOHDF6t6/A0XhEZZmSXNJhsXIAI7j1qEI98NSQTzfylfj/aI= Received: from TY1PR01MB1852.jpnprd01.prod.outlook.com (2603:1096:403:8::12) by TYAPR01MB3965.jpnprd01.prod.outlook.com (2603:1096:404:c6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16; Wed, 21 Apr 2021 00:57:01 +0000 Received: from TY1PR01MB1852.jpnprd01.prod.outlook.com ([fe80::1552:1791:e07c:1f72]) by TY1PR01MB1852.jpnprd01.prod.outlook.com ([fe80::1552:1791:e07c:1f72%7]) with mapi id 15.20.4042.024; Wed, 21 Apr 2021 00:57:01 +0000 From: =?utf-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPo+OAgOebtOS5nyk=?= To: Borislav Petkov CC: Naoya Horiguchi , "linux-mm@kvack.org" , Tony Luck , Aili Yao , Andrew Morton , Oscar Salvador , David Hildenbrand , Andy Lutomirski , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v1 1/3] mm/memory-failure: Use a mutex to avoid memory_failure() races Thread-Topic: [PATCH v1 1/3] mm/memory-failure: Use a mutex to avoid memory_failure() races Thread-Index: AQHXL+1ETVXNtZ717UymKkytASjJ46q8HJYAgAD2FoCAACoPgIAA9eGA Date: Wed, 21 Apr 2021 00:57:01 +0000 Message-ID: <20210421005659.GA24391@hori.linux.bs1.fc.nec.co.jp> References: <20210412224320.1747638-1-nao.horiguchi@gmail.com> <20210412224320.1747638-2-nao.horiguchi@gmail.com> <20210419170538.GG9093@zn.tnic> <20210420074625.GA24451@hori.linux.bs1.fc.nec.co.jp> <20210420101657.GF5029@zn.tnic> In-Reply-To: <20210420101657.GF5029@zn.tnic> Accept-Language: ja-JP, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: alien8.de; dkim=none (message not signed) header.d=none;alien8.de; dmarc=none action=none header.from=nec.com; x-originating-ip: [165.225.97.70] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 679d6399-b9d6-4aec-25a7-08d904605f5e x-ms-traffictypediagnostic: TYAPR01MB3965: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HUyAdrUvQ9sGxyElGqLhpn9jWnF1IqewzViHlB1LgUZJD+o/jg+TJ7E/NmTptsdejjOc4jUuHx+aRYpbNOkGkVXJZPoHlWaHtUnkjowaEduRZswrInfoATRGHPJ21+mgTOOhXZuGZqyuw2svaI8Tad8JRN1SzQ2ydmB0a5UVUQFfgbAtrOMqrk4gmQsuk5CccUOdcN3qMiu8FAk2fl1cQe3s2AZV1zQV9cPILRp2m6Taho+rcK5Rvl6774SqAS4jEy6kyYpiaoWIlYtjlh2IGk+7TaW6idM+TXFfUWMmwV+GHcdyTX8UIXSbag0XaLnesUaZi9nWumCE5ws7NLApVmGg2htHeqkYX945aZgjjxwURwUj+AiZhry6HMXCDKCETEDfNk58RC/zcIl2yJf9lGhi0ZLyr+JbA76VRhUTdqWfWOKspQv8XGkVeY/44WtmCl+g3tf9FYq/DLgmAWQ3upV+bl9Igb4CextCjJ2mWjDBQDXqPK5uAI6w12FB4D8CRkBSw0Fn2TOtwXoCR++sIrisqujBLa0GuEh0zsMjX4XzpsrrdnjloQ8gFQO6zzqObU961tPS7KgbTNjah2wEUnZwj4vTdDpsNqKyV2Nq2N0= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TY1PR01MB1852.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(376002)(136003)(39860400002)(346002)(396003)(4326008)(33656002)(26005)(76116006)(86362001)(186003)(478600001)(7416002)(83380400001)(66946007)(122000001)(85182001)(9686003)(38100700002)(2906002)(6512007)(6916009)(1076003)(8936002)(6506007)(71200400001)(53546011)(55236004)(5660300002)(54906003)(316002)(6486002)(66476007)(66556008)(64756008)(8676002)(66446008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?ejk5bjdPL2hzUzU0eWF1eVMxbDFlOTR4eG1USktKV3RrVkhQZWRzclJaelpn?= =?utf-8?B?eGxKSFordUMrRzNYTUloaGFNVXY0bGUrRDdaQkNFVzM4Qm1mZUZJcHdMdGJz?= =?utf-8?B?eU1ydmpKdSs5OFRWUGwyYlZUWEhJUlpWWk1KMmg0WUR1eHdUZFd0ZjV1R1FT?= =?utf-8?B?V01ZSHFuVDdtZnZGeHNyR21ITDNIekg0YnlvOXExWnh3bWwrWUVkOHVXaFgy?= =?utf-8?B?UHR1TGlKS0ZDRmZ6V0l1SFhHb2dkWXJFWUpBWGVVRWFhdkQzK05zYXFXMHp0?= =?utf-8?B?WlFQRFlad0hPY2x4YmhxUjZnSGdIL25VOStQbTc3R0F2MWZwT1gySnUyZXVi?= =?utf-8?B?ZDZNM3FrY3ozcDBnUTNaME1NNlNLLzQ4WmxPcUpXS2dWekMyYks2SUJjYU1P?= =?utf-8?B?a3AvNmkwdlpES0VHUURrM0RqS3ZTdFllWTN6MVhaZTZOUjVyYVhFbWo0NUhk?= =?utf-8?B?dUI3ZG9pOEZqcFlYWVYzOGI2cXBmbmxjWVY1RnJGMWl3V001QktWMkxnN1Nw?= =?utf-8?B?WTRoWWtEcTFJSUoyM3hwMkhPZzZRM3hXeGNLaXk0cExTMiszR1lQVG1xU3hu?= =?utf-8?B?Njk5V2t6eDNKK0x2QTRoNGFjTmEvYzNBUnNSS09Jci8xNGN1VHU1VzQxa3hO?= =?utf-8?B?NTI0aWh4dXpJRk9TUW44eUVVbmw4bnFOS2xMbi8vQW0rMERtNFRKR0xYcUZk?= =?utf-8?B?VHloczJvNmdxZmwzQm53TC9XTkxZTXJXVFF5UTRtdWtO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VmhHVWFhWFpTTk9Wd2svTG5qZ2ZJaUxO?= =?utf-8?B?a3E0eFA0K1dkV3RxYnorMUU1QlBhalNkcHQzL1J5UUdjYXZ1bHgrbjdKZG9q?= =?utf-8?Q?Pq76af9OrzEdcOMEoh+4vGVqi0cESwdM5XLAgbD?= Content-Type: text/plain; charset="utf-8" Content-ID: <28C232CC4084D04596F1914B372EC6B0@jpnprd01.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nec.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TY1PR01MB1852.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 679d6399-b9d6-4aec-25a7-08d904605f5e X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2021 00:57:01.1643 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e67df547-9d0d-4f4d-9161-51c6ed1f7d11 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: XZ9oII8iOkKgDtPCSoQdWck1wuPCWW7CM75WbfKQsDx3hHICPbvrOgLBYet9ISZS+hGsAlqIz0uZdASE4JJMHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB3965 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCBBcHIgMjAsIDIwMjEgYXQgMTI6MTY6NTdQTSArMDIwMCwgQm9yaXNsYXYgUGV0a292 IHdyb3RlOg0KPiBPbiBUdWUsIEFwciAyMCwgMjAyMSBhdCAwNzo0NjoyNkFNICswMDAwLCBIT1JJ R1VDSEkgTkFPWUEo5aCA5Y+jIOebtOS5nykgd3JvdGU6DQo+ID4gSWYgeW91IGhhdmUgYW55IG90 aGVyIHN1Z2dlc3Rpb24sIHBsZWFzZSBsZXQgbWUga25vdy4NCj4gDQo+IExvb2tzIGFsbW9zdCBv ay4uL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