Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4110068ybb; Tue, 7 Apr 2020 00:34:30 -0700 (PDT) X-Google-Smtp-Source: APiQypJZalqnjjhgACmjXdhWYX6jmGYSMhpIZqs4OIgvcd2jQbittGtnAMas+MRrngYIyexY9ii7 X-Received: by 2002:a9d:12a6:: with SMTP id g35mr480231otg.333.1586244869807; Tue, 07 Apr 2020 00:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586244869; cv=none; d=google.com; s=arc-20160816; b=Ca30tcQcz16O8h8VdAtpxWYfrEyUHp0py7JPpBV5zzDeLS2u8CeOfJEgRMZpk4s6FF HKnSIbFEiQPv4UaIsKDuFT/s+ZAbR//EWJ6vaU/K09ypwA30iF1xMfThwF8pQaOoV6Jg w0faiOavHcH37bKNB6tDIFqwDxNnBi3hlhZTMs8nlS7hcppwXWFnQpNgvA3/IQDAx3Ef F8DkBubtS6wdSKfVVBo3LGrPR+VLUCFjsG3mbJxDl2WylbMs2oHM6XDIVgcg2TPo8G70 KupreuVhC776qoTsUhZMgRlk5f3bOxHM+lVhDBzOh5jq3sHciePYy74frr63IlIHoK2l VtvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=lgXMyzs13NuYA6W3haexk1rgQVEgjk0KCFI11uwcdlc=; b=YdMJXOkwYcndS2CZqzvLDT+zwSjLIKVkIRAp/UwMESZ2QA9hGL6VeqeSoZQcToNJfY e7AoNR3bcxn66gQn2XuMi0fhn8dO0/5YLJPIoq+RDHVp5MRegA6x3WnBiplnwPUTW01D rXUKtKgew8QWxfS+KygHnnCFOG+ZQXE9gTVWNiLx4k1RyDeMqDxm2kSOOGfDOURLaqzR sJJ/qCtKWTNfNMsBbNgNvcIW502NCxd9azbn5DM0bTGyWV17kQ15NQ04twNrb9u7UXQc wSpCWz+vAir8lbfby/6Z+co7cobceMpgY8YLkJo96HRsNn7z5fgnT+VnCKGkCzya3l7G ZjwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c130si351471oig.98.2020.04.07.00.34.05; Tue, 07 Apr 2020 00:34:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726393AbgDGHdy (ORCPT + 99 others); Tue, 7 Apr 2020 03:33:54 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41836 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbgDGHdy (ORCPT ); Tue, 7 Apr 2020 03:33:54 -0400 Received: by mail-wr1-f66.google.com with SMTP id h9so2624159wrc.8; Tue, 07 Apr 2020 00:33:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lgXMyzs13NuYA6W3haexk1rgQVEgjk0KCFI11uwcdlc=; b=NuXUbyWhm2z6g4BSsw7fmGUCh7P5NzugVSQB2w6jW2cNSVcpRIU82SKZfgDlBlxosP pDwupOge9Qyc7lAAkA+lRb1yk2II+GETPeZgiB2G72zuHxwGf1wOM9v0oAta2dFD4ia+ E63aEMZPvLoCuWv1iXUVlSn3KNpCnHbx/vT7PeE9EySgLnyQ4Lvow8B4z+Alux2Jgg4W XSAyPI/TgZy+zCTgFIKbP+qy5BqL8EZc2d8J9jBq5Xnmuo9ejFy3RwK7NnBJXDiUJ25/ EJl04HyI2ENSw4yelPZBififdVwO84Tdo3+pg1uUGDRHZTb+Zh8A4znWjd3Q6dEFLmVM LGtw== X-Gm-Message-State: AGi0PuYA2x4YDBiLk+FOtBCXJT/e8UuuV2T4WCKY6uhvHEt9Sjpw0jro vMJJn3RvBu0L9IV/ESYTZa0= X-Received: by 2002:adf:fa85:: with SMTP id h5mr1182699wrr.63.1586244831851; Tue, 07 Apr 2020 00:33:51 -0700 (PDT) Received: from localhost (ip-37-188-180-223.eurotel.cz. [37.188.180.223]) by smtp.gmail.com with ESMTPSA id g186sm1184915wmg.36.2020.04.07.00.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Apr 2020 00:33:50 -0700 (PDT) Date: Tue, 7 Apr 2020 09:33:42 +0200 From: Michal Hocko To: NeilBrown Cc: Jan Kara , Christoph Hellwig , Trond Myklebust , "Anna.Schumaker@Netapp.com" , Andrew Morton , linux-mm@kvack.org, linux-nfs@vger.kernel.org, LKML Subject: Re: [PATCH 2/2 - v2] MM: Discard NR_UNSTABLE_NFS, use NR_WRITEBACK instead. Message-ID: <20200407071148.GE18914@dhcp22.suse.cz> References: <87tv2b7q72.fsf@notabene.neil.brown.name> <87v9miydai.fsf@notabene.neil.brown.name> <87sghmyd8v.fsf@notabene.neil.brown.name> <87pncqyd7k.fsf@notabene.neil.brown.name> <20200402151009.GA14130@infradead.org> <87h7y1y0ra.fsf@notabene.neil.brown.name> <20200403094220.GA29920@quack2.suse.cz> <87k12sw5ws.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k12sw5ws.fsf@notabene.neil.brown.name> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue 07-04-20 09:28:19, Neil Brown wrote: > On Fri, Apr 03 2020, Jan Kara wrote: > > > > So I don't think we can just remove lines from procfs files like this. That > > has a high potential of breaking some userspace app that is not careful > > enough when parsing the file. So I think that we need to leave there the > > format string and just replace K(node_page_state(pgdat, NR_UNSTABLE_NFS)) > > with 0. > > OK. I assume changing the static trace points isn't a problem though? It shouldn't be until we learn that somebody depends on it... -- Michal Hocko SUSE Labs