Received: by 10.192.165.156 with SMTP id m28csp790094imm; Fri, 13 Apr 2018 07:54:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Amm6i9sMm6d4TWIncE1AODEiEf/VCkwwmKtqH35n6Ate7UP7VN178ILqkzqVUG5PzMnln X-Received: by 2002:a17:902:9896:: with SMTP id s22-v6mr5438054plp.240.1523631256341; Fri, 13 Apr 2018 07:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523631256; cv=none; d=google.com; s=arc-20160816; b=DirJhT8fVJCl4BTnCVjL2twfao7aQmfFfwdoSsxGjDUFrDIj7FRd9j1/JAFmjxMwSN 6cNQMWuEXGwg24Kk5xtrDeCIlCw60iGeu/maOE8vfMjA/9zMXKmGO8c8WFyA8fZIIHED RW9jG/nAIRPBNVWUNW3WRgxINn/CWNjw01Pc52jcaP0z3qrUfB8wng8IO1+64+ivT0NX pEsjxwRn/l6/rJfK0vmGpAQdWxSznP+vCCYFTxY2cZy1k23RJJIzPiFTXDTFtKBKtXOt Io2aJ724sjZ8mkadS8C/jOPSftufH9xGP2w23QUcqQYh6VxaHGXoJuvubchPJF2TBHPc Xhww== 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:dkim-signature:arc-authentication-results; bh=71q5tB0RBmHKP4FQBtO50XkrfGCEqA2G8ZcfbQstSCQ=; b=j8qHbw9GO90WqJYA2Gda+5ddJetUv+GH7ZRwMByDZf4Z36/VClyQP6bTjrsj66OneM Oui3tv/pxRQJEWeYOgLxzfZOcJuJJZiKmh0O1rxdPJBb4VMY6Ck0+Cf0++KK1HkDcsye wYScHmRGTBN14U6WSqXf5CjIlZNLxynau+LLbQVq5F+B/83HxL2VCjUAa7ZNH2+8+6tE iKn2/a+vp7cbPTxGxwbVvOiTcNBDwFupiO9772SubhlQTIKt0eP36vBnxNRzUpzTalBW 4UsSAn0iOdCs2pp65egHXUQbXrPTYiV/ojO20iEqELYZmZI6h5XXWPpEyWtiepe3axzV OH+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=IgE3QK4C; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j26si4547718pfh.266.2018.04.13.07.54.02; Fri, 13 Apr 2018 07:54:16 -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=fail header.i=@cmpxchg.org header.s=x header.b=IgE3QK4C; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753262AbeDMOfy (ORCPT + 99 others); Fri, 13 Apr 2018 10:35:54 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:51368 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753103AbeDMOfw (ORCPT ); Fri, 13 Apr 2018 10:35:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cmpxchg.org ; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=71q5tB0RBmHKP4FQBtO50XkrfGCEqA2G8ZcfbQstSCQ=; b=IgE3QK4C5HIHoQQTdBJ/Zf8MHe DrULRNFrOAr3sjJLRseBuX8wiUJMv76oWriaEPBJb5aA/MPe/TRUW9IpagIN776qiTLi62PCPPoJW txdZiANFrB2NMeFhLOEIZTubDY0kfOKjK247T75uY1uG3HQQPfvRTBGUlG8RiVob3ZhE=; Date: Fri, 13 Apr 2018 10:37:16 -0400 From: Johannes Weiner To: Michal Hocko Cc: Vlastimil Babka , 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 Subject: Re: [PATCH 3/3] dcache: account external names as indirectly reclaimable memory Message-ID: <20180413143716.GA5378@cmpxchg.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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180413142821.GW17484@dhcp22.suse.cz> 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 On Fri, Apr 13, 2018 at 04:28:21PM +0200, Michal Hocko wrote: > On Fri 13-04-18 16:20:00, Vlastimil Babka wrote: > > We would need kmalloc-reclaimable-X variants. It could be worth it, > > especially if we find more similar usages. I suspect they would be more > > useful than the existing dma-kmalloc-X :) > > I am still not sure why __GFP_RECLAIMABLE cannot be made work as > expected and account slab pages as SLAB_RECLAIMABLE Can you outline how this would work without separate caches?