Received: by 10.192.165.156 with SMTP id m28csp2047089imm; Thu, 12 Apr 2018 07:47:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx494VwAcUfx/LzPA2NtgN6baKZd0u7/9UW92YWtNzwYVIh0W5RY3rkb3jnW4NVrt2vlnk66u X-Received: by 2002:a17:902:bb0c:: with SMTP id l12-v6mr1320772pls.347.1523544434950; Thu, 12 Apr 2018 07:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523544434; cv=none; d=google.com; s=arc-20160816; b=kv3CkUoWFF+jrjFI2yf4UlFaEQgnsoaAhqNPeAn8Z26jq5Sfj6e2vMGErBIGwZYwfv gTCPubE0mIhGvk3GwYaHCV9zGVVY6xCLxC0k0vmPkm7m53n9G8ziNcRjpCURfVGw0wwg VBPoE6jMkHufErJ6gxeQUdYpl+5FqI7eMip7+qBwLQTahKI/pWA+FMIyUyzpNy7AcpP4 ePXnbT0Aoa9S4NIY86bUKHLvvyH5XKGptK+L2OacLRtmbZISSZ5onbf131+g8eeaNT6Q bHIGBNVnylBEajAa8BlbmIoT/PgZlF5JtKXAD2UP9gNU+IUAqIOQ3JcLMDYa9oF/y7iD 6x0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature:arc-authentication-results; bh=D3sLZW5qNseeQVZJBhpANVj1mK0vy7xz9K/eURAj9uA=; b=mXV4iJVLZ3IClVgfT9lCx62Ahbub0FR1eR1RtT2BdcW3MuopsjGUka4z33JuvEtss8 yng9HIGTPnNqgvEbFo7IpmiBfaI/INMQunV4wUbyXTZ8ucXGxKwDt7HReKkgwz8J+t58 9OIjo3Tem8aRasT/xOdoAPTSLvLWgOwE/aqC2OclB0X6QWZiKUveo9wT4Au18sKncP5y xjqYsnaDVecping1evwHc0QcvlD3/tJ2ovfkQOrE8NowkQtKjDzrQgpP/h77891VZWP7 ZeNxy/ZVs5J7Wzuoi4wtbhg1hGdJCjbxy6cZwiADsywTcJ6UchOTCfSvWxnxhd08QVWZ yi7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=q+JpI/xR; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=Ri/JNkDz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o69si2703214pfi.322.2018.04.12.07.46.37; Thu, 12 Apr 2018 07:47:14 -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; dkim=pass header.i=@fb.com header.s=facebook header.b=q+JpI/xR; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=Ri/JNkDz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753383AbeDLOjZ (ORCPT + 99 others); Thu, 12 Apr 2018 10:39:25 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:36704 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752824AbeDLOjV (ORCPT ); Thu, 12 Apr 2018 10:39:21 -0400 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3CEc2Qc029455; Thu, 12 Apr 2018 07:39:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=facebook; bh=D3sLZW5qNseeQVZJBhpANVj1mK0vy7xz9K/eURAj9uA=; b=q+JpI/xRlKUhZEmBNC7d7wyKmcmxJDaDKooguEtvDTcnuCkNnVmv4keDK+rk3wA77hD3 nu7V4qzREN2I029nhQAGBbS6CaxO2b5Hl+OFuOqF7HYJD9FFOWiAOAzPs4VEwz2X4J75 IdVuKXTMoa9HW6Btg2V2J+34VypAKY12LPw= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2ha8jfr66q-20 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 12 Apr 2018 07:39:09 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.23) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 12 Apr 2018 07:38:57 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=D3sLZW5qNseeQVZJBhpANVj1mK0vy7xz9K/eURAj9uA=; b=Ri/JNkDzV0YaxkLvujABKQrk/3Bz/RVkuBrE9bWf7KXF7hHvl78C1QLtVEZj6QG1WPZXJxsXSdVpNH2BKPxqEs4vSpjE9j4iMlNnPJHOyuPRo6r7VvJhDuBODRJvvLHqqulJO4W4vUwy5zy8OZ7Ijfb+N631huUPoVPowkpil00= Received: from castle.DHCP.thefacebook.com (2620:10d:c092:200::1:53ee) by CO1PR15MB1078.namprd15.prod.outlook.com (2a01:111:e400:7b66::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.11; Thu, 12 Apr 2018 14:38:49 +0000 Date: Thu, 12 Apr 2018 15:38:33 +0100 From: Roman Gushchin To: Michal Hocko CC: Vlastimil Babka , , Andrew Morton , Alexander Viro , Johannes Weiner , , , , Linux API Subject: Re: [PATCH 1/3] mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES Message-ID: <20180412143826.GA30714@castle.DHCP.thefacebook.com> References: <20180305133743.12746-1-guro@fb.com> <20180305133743.12746-2-guro@fb.com> <08524819-14ef-81d0-fa90-d7af13c6b9d5@suse.cz> <20180411135624.GA24260@castle.DHCP.thefacebook.com> <46dbe2a5-e65f-8b72-f835-0210bc445e52@suse.cz> <20180412115217.GC23400@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180412115217.GC23400@dhcp22.suse.cz> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [2620:10d:c092:200::1:53ee] X-ClientProxiedBy: VI1PR0902CA0047.eurprd09.prod.outlook.com (2603:10a6:802:1::36) To CO1PR15MB1078.namprd15.prod.outlook.com (2a01:111:e400:7b66::8) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:CO1PR15MB1078; X-Microsoft-Exchange-Diagnostics: 1;CO1PR15MB1078;3:EOs800hSqBYLULM4gp1WPe7ijVA5ZPToi8d4emvjBXn9Sh6Ipt9D+tleYHPlrwoX8zBdJRX5vAEukvuCW7EgOHi4cVSJQxDa+ok5UoeOxO1YuUOHR8WoZ3uEKwMlvL+H3RjsAvjw17ysF4/Z1bgttZZxNQoFW+5flKt9d4zPI0hFrynpMX+47uUojp7S5uMJ7KCYnvboMRF1jYdtkeiFa+p2mFleZZRm8wg1miRmYUIY98lqF7W38EVCVKDf0ylq;25:GojwaZmfDu3Wfzx0JnOUP/mMKznMRWbhaP8DVYt0YHDJssgTaFBaMIXN0D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5hFADUP04jrANNLj1UoB4AIUdqz;4:V4PhMr2p9HmTdarbyiboklIVWk8CBE/Uxq4qskhixIiJv6MXyFmbVDzHPOS6nD0E565KKbgwA43Vxni8vo5fjJn+Euamfr6E6jhYYgZortc2Et6IlxZFleyJ+Fr8IkFxUCozux/NjiKlq+53QnTOhEeSYf4c/gIqoxqBC2LHDNYnAmmau6PSNvUKUQ1TqGNUxH5MSrp0BHFWWNwnBoeEx+StUhfEugVtm3JGxUrcjohkRVcXcxjFgP1PCZdhOBC+hty8/07qJ1oMY+FsMgegd/bKnaaMN7PN1w+tzQ5jsSDyMX3KDAP1UFQHUotEKnRU X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(11241501184)(944501327)(52105095)(3002001)(10201501046)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:CO1PR15MB1078;BCL:0;PCL:0;RULEID:;SRVR:CO1PR15MB1078; X-Forefront-PRVS: 06400060E1 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(39860400002)(39380400002)(376002)(396003)(366004)(346002)(199004)(189003)(377424004)(16526019)(6246003)(53936002)(2906002)(4326008)(478600001)(97736004)(186003)(305945005)(47776003)(46003)(11346002)(486006)(7736002)(25786009)(6916009)(81156014)(6666003)(476003)(33656002)(81166006)(446003)(8936002)(229853002)(8676002)(105586002)(106356001)(23726003)(6116002)(9686003)(50466002)(5660300001)(55016002)(1076002)(59450400001)(6506007)(16586007)(58126008)(53546011)(386003)(52396003)(76176011)(93886005)(54906003)(316002)(86362001)(68736007)(52116002)(7696005)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:CO1PR15MB1078;H:castle.DHCP.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO1PR15MB1078;23:d6i8QjitqZKifIzlxeKNRezS0Soy7BKMFc5PAcf+w?= =?us-ascii?Q?EF5zOD7n5PoS03L7Gn/+L+miY/9Zr6dbFXQ/+KInU/i0u14unabXFCEfdXxp?= =?us-ascii?Q?+m/CjT1wExSpX/8tMpI7ILMP9bDE4SjeWsMrwby62uFASw67Gljexos1j9Og?= =?us-ascii?Q?gHRnmsvz3gBRI+zCk9OvPljmFbph4YWjbRf+xJf8OJU5QdjlYB0ctjYyWznc?= =?us-ascii?Q?pen+baK6buv1SIzg+IA45K4DHEnMSEF9hNjrBZ2dYA+RSwM+lb1/9pM2EyUS?= =?us-ascii?Q?Y2yT8aToiaExAo9fFKaGXGVfdtlrk48agnoXb5xl4jjY0YKdvsJFibcUp3Ip?= =?us-ascii?Q?AUJ9KhxrETQmdJG2a8+zJkPoVBlstsYZYIv01GEALbLIKo1+P7nRtPLmQTpP?= =?us-ascii?Q?+dBZonjjhHtKfy/eapHeweVg9NvU4MhJWh73JMnBAlOyTsEJ4yMA/ZfEzgdt?= =?us-ascii?Q?Xo3usOgfS/jLRujvRMoUdisEJHjq0nSx1xIPx0H8TjaHFBu7nbOorEG8bbwq?= =?us-ascii?Q?o1rJifQJ0O0zyxJ5aIp7CWQn5/NF6skEdVO/vhCXKoL+maFclDxpxJW80jHm?= =?us-ascii?Q?Hcaf0U1h7URBPi3n0uv3oSKESa9pf8SQ4rACIOR4lOuP59AGJ6XrnVhjsecY?= =?us-ascii?Q?B3Tv+HaLId1Y6qzDWP3kVjm+hZFISiKhPSEUpH0UrgkCl4XXRlwkC5IkRj82?= =?us-ascii?Q?Cz0gRvi+hR671ltqvW7iao086xdNNvjsUWQKDgc3MHOyIytAkMMgBkfsyzqm?= =?us-ascii?Q?+vjhO1ysuxsE8OgmPk50HkCkV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Vh59uy8APPicq0e73rLTcKWDb1VC39XCETBLzXWyV70QeSZczh0xIVU/G9oovJjtm67ef9dAp+9LRhHYCMD2pFqMDHfQpzcCLK5uXPzsBOnE9cdIQH5++k3yshQqM8BkadI3yFu3n9+PteOpfph/dURPyd8ive8bTOCULEXPbFnQQKSml1HQRthm7VxIzeZBlb2rw586fNgwErN/Z4MaFSYVcgWwsnKMcghT96kSYD6aT9yB+qqJ/mtjXweKExEHxvPMTuyOwvHjJY3o+UYza33pcGhkcmvbphBF5WluXw2usGAz15V5EorVAflMk7m20yh6FAHnICl3j1IOeBoQNS66Gl+zRJdqYzUKOWqGkqzmTwKDTiAujdbVCCLSjg==;5:/Inc1XB+XBGRWFCMnP5cxsFIYf21rqbUAM6QuyiMtkPOBucSEf6dYkcsyjVa5riEXvafGeycBpfNfhavgAtpiwh+ovjn3vLGphn+P3Ie4ZRdNr2MRqICRLdPItDAMSXTGy2/sTtbdwccUWk4oli5dyJ10PaG5g/QJRuXiS+KJWM=;24:8syH0nmuUCs76CV0JaAxXp6CIGPtr7MKHUYIsg874k4m9eumaRXipEtGoQMdH5ySVvLmN+hu0u9mQIEb+3NWWmiBzwQQcAyn/qFr74/bE/k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CO1PR15MB1078;7:vt1ctOK39iNmJP3N+tIoHXO+qyaINbNUAYmRHwkUaG5WQgcw+cPCUvWNlbcwdQp6S9x9eC3sdM4Xqq3rnukv8UAjWLthcMZM6Ezt711lrjhGs4Z+xmeWSVJ6QTZyd7ojUcufKBSpMXT9X4z65+1fObyfnFRJWi1y2NchKEhvZmhoIlCxOAAy1CSzS5qo6WW9pwd3HP1BQLOTSwK3peWztBEd0LT6CySuEOQSgpJVqjkyM1B5NYxKrTRs4Ber7BZC;20:AlVraqHhZIwEvOe9Tb7YTHkQcX6gHnLmCpZqyzTamY7xAO7H7mtJ72qsu2W3LxdxvyxXj0kOkP35INQsfs7Ydy6icbzVIaxS1d/H8is3hzWl8wwmiOAC3HdYF3cPrxSRRS5w9wKUK+FGEUWd3Rn4o2174EczaW+XY82TvU780GU= X-MS-Office365-Filtering-Correlation-Id: 1b9cc543-b9a8-481b-551a-08d5a0831c78 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2018 14:38:49.6913 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1b9cc543-b9a8-481b-551a-08d5a0831c78 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR15MB1078 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-12_08:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 12, 2018 at 01:52:17PM +0200, Michal Hocko wrote: > On Thu 12-04-18 08:52:52, Vlastimil Babka wrote: > > On 04/11/2018 03:56 PM, Roman Gushchin wrote: > > > On Wed, Apr 11, 2018 at 03:16:08PM +0200, Vlastimil Babka wrote: > [...] > > >> With that in mind, can we at least for now put the (manually maintained) > > >> byte counter in a variable that's not directly exposed via /proc/vmstat, > > >> and then when printing nr_slab_reclaimable, simply add the value > > >> (divided by PAGE_SIZE), and when printing nr_slab_unreclaimable, > > >> subtract the same value. This way we would be simply making the existing > > >> counters more precise, in line with their semantics. > > > > > > Idk, I don't like the idea of adding a counter outside of the vm counters > > > infrastructure, and I definitely wouldn't touch the exposed > > > nr_slab_reclaimable and nr_slab_unreclaimable fields. > > Why? Both nr_slab_reclaimable and nr_slab_unreclaimable have a very simple meaning: they are numbers of pages used by corresponding slab caches. In the answer to the very first version of this patchset Andrew suggested to generalize the idea to allow further accounting of non-kmalloc() allocations. I like the idea, even if don't have a good example right now. The problem with external names existed for many years before we've accidentally hit it, so if we don't have other examples right now, it doesn't mean that we wouldn't have them in the future. > > > We would be just making the reported values more precise wrt reality. > > I was suggesting something similar in an earlier discussion. I am not > really happy about the new exposed counter either. It is just arbitrary > by name yet very specific for this particular usecase. > > What is a poor user supposed to do with the new counter? Can this be > used for any calculations? For me the most important part is to fix the overcommit logic, because it's a real security and production issue. Adjusting MemAvailable is important too. I really open here for any concrete suggestions on how to do it without exporting of a new value, and without adding too much complexity to the code (e.g. skipping this particular mm counter on printing will be quite messy). Thanks!