Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3807025ybb; Mon, 6 Apr 2020 16:29:03 -0700 (PDT) X-Google-Smtp-Source: APiQypLwIFQWEXSdol8G8rZAG1LR1UbJuUO5hgBqBWjb7NzoTLKfFEZMvsbMUM+wpQywFmTgxRR5 X-Received: by 2002:a9d:7a9:: with SMTP id 38mr1323461oto.60.1586215743152; Mon, 06 Apr 2020 16:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586215743; cv=none; d=google.com; s=arc-20160816; b=JG/l2BYb09p/GVUNlgKy7yMnu7hv5B32s/OcUUkPmVeYkbx7/NdYLMnPBxIMoP9tHT FldB4ReMzjbP+1jBImr5htHDL3ZO7R4h8BE9+MjoFAaZ5SYiIcvAtaNd5melK8Fv3yiA IhwD0cEB03U3Xrq4L4+zNqyCGMyvaW/5wQ2x5tBt7FKAnkOyAAjKGgbuCFgMoVUb4oMs fzAbpJU2TaW/dFQo7kcL5YJ07glj2242SehodWUsso0DbytXlS4InQIX4kZyXQrMCDLL xwz/hMFK4v4DbGG3JpurVGeZLx15y2nrM8zF2PCPJGIHZIswEdvBtDdkmU2r606HcLUp M5Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from; bh=1N85C0agLWLoP+O0dKevBf6rKraFE/9itIyAAfhAPdY=; b=T54fKkzEUsmRfqXDKBldeXkSaFAE6nfwb+GUy5Ads5byRJqeB3UfMFBuAGfITtfnmf SVofpcafeSfm9dgRI4dUwzghHaXyG2uPeb+sGPn33ZgMGgNOL0Urz8Xu5dYo27h90UsU KQFgu6dbZGEHB05liKxOq7+6ynPTsJ2N3LhtUMLDWWWcQun61lxti34yOg7OWmgZmOb4 Cw9QU4zqdp6cAW9bbIr8Ota/MBE9h/Ne6U3gw8o80cKokqCRIJhEuBtSaHQ/N99Kay0/ meUGiFptRKeYz0OP8iQc47aLAu7AU6YDbUeoObK0nGBjyUMbVb3LaxFuC9UOg4Ebl+ar /DXw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si444412oog.10.2020.04.06.16.28.40; Mon, 06 Apr 2020 16:29:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726277AbgDFX2d (ORCPT + 99 others); Mon, 6 Apr 2020 19:28:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:38892 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726254AbgDFX2d (ORCPT ); Mon, 6 Apr 2020 19:28:33 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7F455ABEA; Mon, 6 Apr 2020 23:28:30 +0000 (UTC) From: NeilBrown To: Jan Kara Date: Tue, 07 Apr 2020 09:28:19 +1000 Cc: Christoph Hellwig , Trond Myklebust , "Anna.Schumaker\@Netapp.com" , Andrew Morton , Jan Kara , 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. In-Reply-To: <20200403094220.GA29920@quack2.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> Message-ID: <87k12sw5ws.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org --=-=-= Content-Type: text/plain 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? Thanks, NeilBrown --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAl6LuxQACgkQOeye3VZi gbnfBQ//YmR4QcCtxB8I35791ntzSvFx751DsikAAi8zGSqNKdH1bEf5602n4pAE b4aMLG9qPDPGYpAYwae65k2Rg+JHbiPJC8gzpcisA9BMQnmH1Yj3z4t0tYoxR+7z 1t/KpJftRVscqSsYhWkzG0Qmo7zveFKcuKh238HAIGC6afP05ZS16SDAcg6O4D7S EntFueWyu4kKBgnwPvciVoMTHHEpijIOX84eRB1sz6I33e1/TuX88y+uTdKNGjzZ rBdNxX5J0GMdARgKKCdkg4wunAqordQOZGkAM0cGCeTxR0IEuyWbIK4DT03jzrTQ asy/NjfBCMXQEpbeBMZncT3Mtd1m1rfOt3CnrnwmvCjIuJPdcFQvUeQirOYepwm5 r3qd/rYzdFqqlijeYNNEuwaJZb7+jK5HVcPXkxwJ5meSb03S2zKeI2j5I44AmDXd TNOqZzRzp1WAeQrE7RhN1zMez2mBwV6TK426bPe50wTsXdj4pBfJhGNUiCcdbrkl 7+zJb+HW5LP6QFl+QYfxUtqWhIKduwIvQsuqmu7UCHegHclqeYSPxEdI8ai1atHQ lpFBcVZv3rNkS/pEC6CJ6Aig9hObJpR0A29xSvD1IOlIRuwDwfzKYwA7+HfF16ci VjtstzOpFoAdyHp1fttsztwQiYl3GtTrcSTVXjVFv45AlA9e1Pg= =qYtq -----END PGP SIGNATURE----- --=-=-=--