Received: by 10.192.165.156 with SMTP id m28csp1500591imm; Mon, 16 Apr 2018 23:45:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/2Z9DkB3HQWRfglQV+n4pcgWuzXziZI7Fpu4an7mg2xB7hL5IB//yxOBheTUr7n+cmrjOD X-Received: by 10.98.180.2 with SMTP id h2mr886492pfn.189.1523947538122; Mon, 16 Apr 2018 23:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523947538; cv=none; d=google.com; s=arc-20160816; b=jZvFTaMfjluy40J4/sIHwPmNlL2SOVAecxLfrNPaweu3X7R6fQ2C07lnI+vbHS6jTa rNeNY3fo/4Tf/ZfI+vCu669JdUr7cJaxnr8zFIATGbsdw0gX7LIva0r0+y4CGExcHKis +LQ33kBvC4V0uIotcOx5xyn7Fikd75jLUNAy6XtOCb9/ezTHcxYnyb0OWjPDZjS/quLF Z4m9/w8EPR6oldn8sDfysqfYtMgi9MTDK0sduOMJ6dwjv6U3Eqxjr21EY4Pb+myaE8VD FatIEfpvqkHa2Lqe+SgTEHxwTpTYIWXC+BTka8BjeI3q0ud+qAeLremtqUHcY5uBDFQg HZKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=POeuiZcw8Xw4vWUYePzLBc+Mp9IbXjj09Cz59jKeggI=; b=CQ1PbH2zre9/VXZTY0STAS5Mopfdyjwf2vWIomrbrd7TVVAxbR5WvbV68d06robiu7 YbKdIfXRF+NivD0zDmRJrZLeAQBMNAp8PtQoJ1uBXfMQS6QHSNkqz61UvnL0OtVzJRFp rqsYz050Uv7jv8FvLFB/5zUgur9ldqiXffWSWXdeUxsPD5OU6PWnrEoTB4d6ytxR/kI+ GlkwJb7MCTM8HUwj8Ndk8XfQyMK6GfHVQv4CZm4vGP4Sh3MjyVEfYJNgocavXrwq1gBC wQyhIjgJXh12FpY8Lc9F592Z7xOpxp30C2nn1ZT/F9hDAwCHUwV+qBebYGn2W6Pp3iPR rG4g== 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 q74si1053049pfi.282.2018.04.16.23.45.23; Mon, 16 Apr 2018 23:45:38 -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 S1751218AbeDQGoS (ORCPT + 99 others); Tue, 17 Apr 2018 02:44:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:37210 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbeDQGoQ (ORCPT ); Tue, 17 Apr 2018 02:44:16 -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 5AA6AAE32; Tue, 17 Apr 2018 06:44:15 +0000 (UTC) Date: Tue, 17 Apr 2018 08:44:14 +0200 From: Michal Hocko To: Vlastimil Babka 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 Subject: Re: [PATCH 3/3] dcache: account external names as indirectly reclaimable memory Message-ID: <20180417064414.GX17484@dhcp22.suse.cz> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [the head of the thread is http://lkml.kernel.org/r/08524819-14ef-81d0-fa90-d7af13c6b9d5@suse.cz] On Mon 16-04-18 21:57:50, Vlastimil Babka wrote: > 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 OK, noted. -- Michal Hocko SUSE Labs