From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f199.google.com (mail-qk0-f199.google.com [209.85.220.199]) by kanga.kvack.org (Postfix) with ESMTP id 970F66B0009 for ; Mon, 16 Apr 2018 17:04:13 -0400 (EDT) Received: by mail-qk0-f199.google.com with SMTP id w17so11181319qkb.19 for ; Mon, 16 Apr 2018 14:04:13 -0700 (PDT) Received: from mx1.redhat.com (mx3-rdu2.redhat.com. [66.187.233.73]) by mx.google.com with ESMTPS id z63si6952098qkz.347.2018.04.16.14.04.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 14:04:12 -0700 (PDT) Date: Mon, 16 Apr 2018 17:04:12 -0400 (EDT) From: Mikulas Patocka Subject: Re: slab: introduce the flag SLAB_MINIMIZE_WASTE In-Reply-To: Message-ID: References: <20180320173512.GA19669@bombadil.infradead.org> <20c58a03-90a8-7e75-5fc7-856facfb6c8a@suse.cz> <20180413151019.GA5660@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Vlastimil Babka Cc: Mike Snitzer , Christopher Lameter , Matthew Wilcox , Pekka Enberg , linux-mm@kvack.org, dm-devel@redhat.com, David Rientjes , Joonsoo Kim , Andrew Morton On Mon, 16 Apr 2018, Vlastimil Babka wrote: > On 04/13/2018 05:10 PM, Mike Snitzer wrote: > > On Fri, Apr 13 2018 at 5:22am -0400, > > Vlastimil Babka wrote: > >> > >> Would this perhaps be a good LSF/MM discussion topic? Mikulas, are you > >> attending, or anyone else that can vouch for your usecase? > > > > Any further discussion on SLAB_MINIMIZE_WASTE should continue on list. > > > > Mikulas won't be at LSF/MM. But I included Mikulas' dm-bufio changes > > that no longer depend on this proposed SLAB_MINIMIZE_WASTE (as part of > > the 4.17 merge window). > > Can you or Mikulas briefly summarize how the dependency is avoided, and This was Mike's misconception - dm-bufio actually needs the SLAB_MINIMIZE_WASTE patch, otherwise it is wasting memory. > whether if (something like) SLAB_MINIMIZE_WASTE were implemented, the > dm-bufio code would happily switch to it, or not? > > Thanks, > Vlastimil Mikulas