Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp284335ybg; Tue, 22 Oct 2019 20:44:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAk89lkODa07eSTtiIItXLiYQiinJJHLheCHsvY9bRjSSl64kRs0la8SuBww69aUAwjdu5 X-Received: by 2002:a17:906:8155:: with SMTP id z21mr12061386ejw.180.1571802272649; Tue, 22 Oct 2019 20:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571802272; cv=none; d=google.com; s=arc-20160816; b=l0EEjg9nwjvSOX4FyPA0I1thHu1rLbsykE4N7YUunieo3FxTKkfkcQ0s6gyYw4wI5/ 2Qb3ambIyfEwbqXTr6IyvLzK5T3eFWCo/vesDX9o7jDH81ITZMh9uOI+cZfPWOLhql+y JWdGPDEDxAEdBXXrfvM9lqIrceJkZygKZtBR2N308BPbbKOPbpPL2Ijvg1evQpULsmR7 PRbIzbE1kIDGyZ6leXC00KfkGfMximoc9ipRlJk9khg+75dmLX2nFvADgXEQIcTbr+01 rUgF8ntdjZExKxFxdXPgWfQIp6Gleu1IJKxCO6i0mpWZXiSf302UM1U/VSTo1ztND1bt aHcg== 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=KVhU5Ue76MNdFPqFsX5HoItvAvD74cIMN+zpsZkcRUo=; b=q1k5oEDfE7BBEUv2a29AC9JEH0L4fgKmWFy9sDhdsnNwmrjxDJ8sKHyfXHsOby5G2A MTQiyXr9exc/SYdo5O1r1k49GGKPYCox6L5I+Ofh2Kn9y9K5+R+cdJqgwK3ULfETySDD qU+9/Gt0gz30GhjKwmIZyn0tidUR4zlShUTjQxxXa/i9VY2wV8Q+9Hc7tEZI8iu3CuMa lvxIgprUDJ/8D742x45VM9TQapYpEkjcm/pJStLtPxPZcR3y/reA3QfIgjIgZ62CLQba XTl8YQFHQGUfKQ5rDkdar1t9qQ3AVwmCgYGQf/VdpvF0b0J+TCJa/WakOHF+6EgpZw48 3lvQ== 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 g2si2422202edn.415.2019.10.22.20.43.58; Tue, 22 Oct 2019 20:44:32 -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 S2388989AbfJWCgu convert rfc822-to-8bit (ORCPT + 99 others); Tue, 22 Oct 2019 22:36:50 -0400 Received: from tyo161.gate.nec.co.jp ([114.179.232.161]:49935 "EHLO tyo161.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730655AbfJWCgt (ORCPT ); Tue, 22 Oct 2019 22:36:49 -0400 Received: from mailgate02.nec.co.jp ([114.179.233.122]) by tyo161.gate.nec.co.jp (8.15.1/8.15.1) with ESMTPS id x9N2aRKv011049 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 23 Oct 2019 11:36:27 +0900 Received: from mailsv02.nec.co.jp (mailgate-v.nec.co.jp [10.204.236.94]) by mailgate02.nec.co.jp (8.15.1/8.15.1) with ESMTP id x9N2aRfM032034; Wed, 23 Oct 2019 11:36:27 +0900 Received: from mail03.kamome.nec.co.jp (mail03.kamome.nec.co.jp [10.25.43.7]) by mailsv02.nec.co.jp (8.15.1/8.15.1) with ESMTP id x9N2XWcx006253; Wed, 23 Oct 2019 11:36:27 +0900 Received: from bpxc99gp.gisp.nec.co.jp ([10.38.151.147] [10.38.151.147]) by mail01b.kamome.nec.co.jp with ESMTP id BT-MMP-9712104; Wed, 23 Oct 2019 11:15:10 +0900 Received: from BPXM23GP.gisp.nec.co.jp ([10.38.151.215]) by BPXC19GP.gisp.nec.co.jp ([10.38.151.147]) with mapi id 14.03.0439.000; Wed, 23 Oct 2019 11:15:09 +0900 From: Naoya Horiguchi To: Oscar Salvador CC: Michal Hocko , "mike.kravetz@oracle.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH v2 10/16] mm,hwpoison: Rework soft offline for free pages Thread-Topic: [RFC PATCH v2 10/16] mm,hwpoison: Rework soft offline for free pages Thread-Index: AQHVhPYxuKrdanK4Pk2pyFsBlimO86dfuBWAgATFroCAAC2WAIABDXAAgAALI4CAAAKLgIAADVAAgAAKCgCAAAdKgIAAAl2AgAEHHQA= Date: Wed, 23 Oct 2019 02:15:08 +0000 Message-ID: <20191023021508.GA29387@hori.linux.bs1.fc.nec.co.jp> References: <20191018120615.GM5017@dhcp22.suse.cz> <20191021125842.GA11330@linux> <20191021154158.GV9379@dhcp22.suse.cz> <20191022074615.GA19060@linux> <20191022082611.GD9379@dhcp22.suse.cz> <20191022083505.GA19708@linux> <20191022092256.GH9379@dhcp22.suse.cz> <20191022095852.GB20429@linux> <20191022102457.GJ9379@dhcp22.suse.cz> <20191022103319.GA21736@linux> In-Reply-To: <20191022103319.GA21736@linux> 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: 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 Tue, Oct 22, 2019 at 12:33:25PM +0200, Oscar Salvador wrote: > On Tue, Oct 22, 2019 at 12:24:57PM +0200, Michal Hocko wrote: > > Yes, that makes a perfect sense. What I am saying that the migration > > (aka trying to recover) is the main and only difference. The soft > > offline should poison page tables when not able to migrate as well > > IIUC. > > Yeah, I see your point. > I do not really why soft-offline strived so much to left the page > untouched unless it was able to content the problem. > > Note that if we start now to poison pages even if we could not > content them (in soft-offline mode), that is a big and visible user > change. It's declared that soft offline never disrupts userspace by design, so if poisoning page tables in migration failure, we could break this and send SIGBUSs. Then end users would complain that their processes are killed by corrected (so non-urgent) errors. Thanks, Naoya Horiguchi