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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7117BC433DF for ; Tue, 9 Jun 2020 16:30:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2695B2078D for ; Tue, 9 Jun 2020 16:30:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2695B2078D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 947936B0002; Tue, 9 Jun 2020 12:30:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 91E246B0003; Tue, 9 Jun 2020 12:30:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 85A516B0005; Tue, 9 Jun 2020 12:30:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0222.hostedemail.com [216.40.44.222]) by kanga.kvack.org (Postfix) with ESMTP id 6D9916B0002 for ; Tue, 9 Jun 2020 12:30:50 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 2EA9E1859E31D for ; Tue, 9 Jun 2020 16:30:50 +0000 (UTC) X-FDA: 76910212260.21.crow20_230ba1a26dc4 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin21.hostedemail.com (Postfix) with ESMTP id 9F4061859E301 for ; Tue, 9 Jun 2020 16:30:49 +0000 (UTC) X-HE-Tag: crow20_230ba1a26dc4 X-Filterd-Recvd-Size: 2774 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by imf33.hostedemail.com (Postfix) with ESMTP for ; Tue, 9 Jun 2020 16:30:48 +0000 (UTC) IronPort-SDR: 4GjGwWqCecNVp+vl8p6yE0mS55KJ6+LDmUZKje5UOMEke+GClSzL+Y+P13dTqsiGvNyqdxKAhq 3IoXnMTlkElw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2020 09:30:38 -0700 IronPort-SDR: FpWz/86qbSrkLGNTBMxR46rVer+LpYnlvmXM85t0T+jgg8rw5eLX5aFjQ/3C6s0qREkA0GBLIK s9W1I5Bs6Rng== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,492,1583222400"; d="scan'208";a="259854858" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by orsmga007.jf.intel.com with ESMTP; 09 Jun 2020 09:30:38 -0700 Received: from orsmsx115.amr.corp.intel.com ([169.254.4.3]) by ORSMSX101.amr.corp.intel.com ([169.254.8.250]) with mapi id 14.03.0439.000; Tue, 9 Jun 2020 09:30:37 -0700 From: "Luck, Tony" To: =?iso-2022-jp?B?SE9SSUdVQ0hJIE5BT1lBKBskQktZOH0hIUQ+TGkbKEIp?= CC: Naoya Horiguchi , Andrew Morton , "linux-mm@kvack.org" Subject: RE: [PATCH v1 2/2] mm/memory-failure: send SIGBUS(BUS_MCEERR_AR) only to current thread Thread-Topic: [PATCH v1 2/2] mm/memory-failure: send SIGBUS(BUS_MCEERR_AR) only to current thread Thread-Index: AdY94q8CAvkdtp4XT7+2zmhKOLWzVwAXcUMAAA6rhtA= Date: Tue, 9 Jun 2020 16:30:37 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F7F655E41@ORSMSX115.amr.corp.intel.com> References: <1591321039-22141-1-git-send-email-naoya.horiguchi@nec.com> <1591321039-22141-3-git-send-email-naoya.horiguchi@nec.com> <20200608221759.GA778@agluck-desk2.amr.corp.intel.com> <20200609022919.GA28268@hori.linux.bs1.fc.nec.co.jp> In-Reply-To: <20200609022919.GA28268@hori.linux.bs1.fc.nec.co.jp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Rspamd-Queue-Id: 9F4061859E301 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 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: >> Does the new code now send SIGBUS(BUS_MCEERR_AO) to all the other thread= s >> of a multi-threaded process? > > No, it doesn't. This patch should not change anything for Action Optional > case, and find_early_kill_thread() chooses one thread per process, so > SIGBUS(BUS_MCEERR_AO) (as well as SIGBUS(BUS_MCEERR_AR)) should be sent o= nly > to the chosen thread. Ok. I think I see it now. Acked-by: Tony Luck -Tony