Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3732091ybi; Mon, 10 Jun 2019 15:53:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqys1E/hGR/a88X3vXNTgHQMmK40hZdxQ8gJKr2HVADChJK4SJ2Kua1MYfVUEWpHmloGX4eR X-Received: by 2002:a62:5cc6:: with SMTP id q189mr76544917pfb.114.1560207188129; Mon, 10 Jun 2019 15:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560207188; cv=none; d=google.com; s=arc-20160816; b=rsClLjiRY4kFDApuTFdlZc+KZ9/vnGG/ERcDc5WBasoBI+GGLhuoHKHipqGU8uErQ9 tyxzqMjxGbI9hT5E2fO8Dwgnr0ZtLm6XbQtz7yQ4/MOxvBMRwdaNukTw7dWU+561Ztyy 6Oy6VKF3e2I82vFeozyxJjbtpVN8UfYaJtBZJ6d6f4cJukMHHpQX03v4orjoy5WAfK// kPWns26EBeUf+euuj8x6G3Ddcsgt/oIsvp22+bDGjSiEi13FNzpwLxaidTLSrdMUSfmM uTofDL/9NCTjh76zApmI7U6YVRy7m04BsmDCKV2Kw/z832rsUiXSC5LVJaD2OHGnU7ss pzBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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; bh=RKA8aangVFsKKTcCXtzuiQXXMmNewP85NC0akQZHd3s=; b=bcZealL51xngnHDGqsCEu+v07pgrxawBhqeAwdVcgR3V3NdymneQ4cOW0xB+bVzGJc AwUGYI/WY4fohSlKL+l5YWvc1JN0c9TENNa3sVb3/BncXlahV2hWv1wVdKAeOHAFkXuh 33M4B7U5XRscSxdHvx72YtGH5BrhDVWKuRSDvPPq35FJpsoGhip5lOctCM1Bcc5ItS95 /KguCj+S9dE6VIF0PGgHG1I4880ZrpZaYlC1sc0yy4gbWSuCjd16cQUKvHFcpV8SXGe4 unypkg1jqaUul2XP9DlFdBsZB0dbEsb+Q/M3VeOP0LqXSSeEB8JHEja0xJ1Xh9gRf/jS 9NWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9si10387428pls.31.2019.06.10.15.52.51; Mon, 10 Jun 2019 15:53:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390401AbfFJWwk convert rfc822-to-8bit (ORCPT + 99 others); Mon, 10 Jun 2019 18:52:40 -0400 Received: from tyo162.gate.nec.co.jp ([114.179.232.162]:42319 "EHLO tyo162.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390301AbfFJWwk (ORCPT ); Mon, 10 Jun 2019 18:52:40 -0400 Received: from mailgate01.nec.co.jp ([114.179.233.122]) by tyo162.gate.nec.co.jp (8.15.1/8.15.1) with ESMTPS id x5AMqLnn024430 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 11 Jun 2019 07:52:21 +0900 Received: from mailsv01.nec.co.jp (mailgate-v.nec.co.jp [10.204.236.94]) by mailgate01.nec.co.jp (8.15.1/8.15.1) with ESMTP id x5AMqL6q016179; Tue, 11 Jun 2019 07:52:21 +0900 Received: from mail02.kamome.nec.co.jp (mail02.kamome.nec.co.jp [10.25.43.5]) by mailsv01.nec.co.jp (8.15.1/8.15.1) with ESMTP id x5AMpo63002979; Tue, 11 Jun 2019 07:52:21 +0900 Received: from bpxc99gp.gisp.nec.co.jp ([10.38.151.152] [10.38.151.152]) by mail01b.kamome.nec.co.jp with ESMTP id BT-MMP-5829201; Tue, 11 Jun 2019 07:51:34 +0900 Received: from BPXM23GP.gisp.nec.co.jp ([10.38.151.215]) by BPXC24GP.gisp.nec.co.jp ([10.38.151.152]) with mapi id 14.03.0319.002; Tue, 11 Jun 2019 07:51:33 +0900 From: Naoya Horiguchi To: Andrew Morton CC: "linux-mm@kvack.org" , Michal Hocko , Mike Kravetz , "xishi.qiuxishi@alibaba-inc.com" , "Chen, Jerry T" , "Zhuo, Qiuxu" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 1/2] mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails Thread-Topic: [PATCH v2 1/2] mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails Thread-Index: AQHVH2UNBW9Lhf3e5UinMjf59GXrMKaUzwKAgAAZdgA= Date: Mon, 10 Jun 2019 22:51:33 +0000 Message-ID: <20190610225140.GA30991@hori.linux.bs1.fc.nec.co.jp> References: <1560154686-18497-1-git-send-email-n-horiguchi@ah.jp.nec.com> <1560154686-18497-2-git-send-email-n-horiguchi@ah.jp.nec.com> <20190610142033.6096a8ec73d4bf40b2612fb5@linux-foundation.org> In-Reply-To: <20190610142033.6096a8ec73d4bf40b2612fb5@linux-foundation.org> Accept-Language: en-US, ja-JP Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.34.125.96] Content-Type: text/plain; charset="iso-2022-jp" Content-ID: <03697C5541B2D04CB700AC95BD5D6F50@gisp.nec.co.jp> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 10, 2019 at 02:20:33PM -0700, Andrew Morton wrote: > On Mon, 10 Jun 2019 17:18:05 +0900 Naoya Horiguchi wrote: > > > The pass/fail of soft offline should be judged by checking whether the > > raw error page was finally contained or not (i.e. the result of > > set_hwpoison_free_buddy_page()), but current code do not work like that. > > So this patch is suggesting to fix it. > > Please describe the user-visible runtime effects of this change? Sorry, could you replace the description as follows (I inserted one sentence)? The pass/fail of soft offline should be judged by checking whether the raw error page was finally contained or not (i.e. the result of set_hwpoison_free_buddy_page()), but current code do not work like that. It might lead us to misjudge the test result when set_hwpoison_free_buddy_page() fails. So this patch is suggesting to fix it. Thanks, Naoya Horiguchi