Received: by 10.192.165.156 with SMTP id m28csp1039374imm; Mon, 16 Apr 2018 13:01:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ouyVixsuH628K4J7TGwSsKFbZdHyXIrByDBBjBQYqQubtTBnYpP0kw7Zfpip6b9VkeV+j X-Received: by 10.98.141.205 with SMTP id p74mr22977187pfk.210.1523908869955; Mon, 16 Apr 2018 13:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523908869; cv=none; d=google.com; s=arc-20160816; b=frbucr4fsnd+jsvJFUqnpOTd5P6vpCZ9NF2hfLVRE0y9bAc9ypj7IT+XSustUULa32 zfDC1yO7gsy+LSavSQbDd4C0DXdkGqPi6Gf8iSthrN8M6fseSsDaC4JK/Mo+6/A9FzvR KueaBS9uC3WCreqwscAAQNunQ6NW9CkguK3jfvaH4AY+nL0/0lCfb1VtRm/ndfbMsd9d wirGyN9GeZtU4B91DJbSFI72ihkc8tYqS1i9pCq8O91/hVvbJ1ZhzgiAg/gxuIK5SjTy t38sJRcTCLjVqZnl70zFcXteEmteXfjtEdHigjygQ1FOTR41XjAOgjH4bD+1hH6vtD/o uYOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=paVGfp2BMIZfPjd2KqHwWfHzibTly3aoLpVB81YT3rQ=; b=DrYYoO9Hg47DI6CtkkojAudW+UjbI/8rIlvzeWhE9990xUgXkgE2sUqVjJi04B5H/w l438Ojnk2RIqG9ueV1w03S8/8gk+FMxpoQ1UolTz5OZ11thhrCLpO3qLyahLbtz/RPld RLUfkpaHtx40BfIV+BtwJnYwmN87RqPAdFpspv2IZr6b0wwolzcHbQ2Fyd91ZBWK2iiN Za/2L4nA6sc3wibkFUWLNyeWHThJx0W4Tjn4fRC9CCxT2XieEKT2NFsljKIp7sdom6Iy w5P9Ho9p59PsV9jMOMz5mOr2e0SFA3NbFPfCSrRq4yrP8TYkHvQwiS0VOXGtNcSU1v58 Kcbg== 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 o11si10441895pgc.274.2018.04.16.13.00.54; Mon, 16 Apr 2018 13:01:09 -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 S1753425AbeDPT7u (ORCPT + 99 others); Mon, 16 Apr 2018 15:59:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:55045 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752934AbeDPT7t (ORCPT ); Mon, 16 Apr 2018 15:59:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 5D713AEA5; Mon, 16 Apr 2018 19:59:47 +0000 (UTC) Subject: Re: [PATCH 3/3] dcache: account external names as indirectly reclaimable memory To: Michal Hocko Cc: Johannes Weiner , Minchan Kim , Roman Gushchin , linux-mm@kvack.org, Andrew Morton , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, lsf-pc@lists.linux-foundation.org References: <20180305133743.12746-1-guro@fb.com> <20180305133743.12746-5-guro@fb.com> <20180413133519.GA213834@rodete-laptop-imager.corp.google.com> <20180413135923.GT17484@dhcp22.suse.cz> <13f1f5b5-f3f8-956c-145a-4641fb996048@suse.cz> <20180413142821.GW17484@dhcp22.suse.cz> <20180413143716.GA5378@cmpxchg.org> <20180416114144.GK17484@dhcp22.suse.cz> <1475594b-c1ad-9625-7aeb-ad8ad385b793@suse.cz> <20180416122747.GM17484@dhcp22.suse.cz> From: Vlastimil Babka Message-ID: Date: Mon, 16 Apr 2018 21:57:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180416122747.GM17484@dhcp22.suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/16/2018 02:27 PM, Michal Hocko wrote: > On Mon 16-04-18 14:06:21, Vlastimil Babka wrote: >> >> For example the percpu (and other) array caches... >> >>> maybe it will turn out that such a large >>> portion of the chache would need to duplicate the state that a >>> completely new cache would be more reasonable. >> >> I'm afraid that's the case, yes. >> >>> Is this worth exploring >>> at least? I mean something like this should help with the fragmentation >>> already AFAIU. Accounting would be just free on top. >> >> Yep. It could be also CONFIG_urable so smaller systems don't need to >> deal with the memory overhead of this. >> >> So do we put it on LSF/MM agenda? > > If you volunteer to lead the discussion, then I do not have any > objections. Sure, let's add the topic of SLAB_MINIMIZE_WASTE [1] as well. Something like "Supporting reclaimable kmalloc caches and large non-buddy-sized objects in slab allocators" ? [1] https://marc.info/?l=linux-mm&m=152156671614796&w=2