Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934586AbbKSTFK (ORCPT ); Thu, 19 Nov 2015 14:05:10 -0500 Received: from gum.cmpxchg.org ([85.214.110.215]:44688 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934506AbbKSTFH (ORCPT ); Thu, 19 Nov 2015 14:05:07 -0500 Date: Thu, 19 Nov 2015 14:04:55 -0500 From: Johannes Weiner To: Vladimir Davydov Cc: Andrew Morton , Michal Hocko , Tejun Heo , Greg Thelen , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/6] vmalloc: allow to account vmalloc to memcg Message-ID: <20151119190455.GE3941@cmpxchg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 648 Lines: 14 On Tue, Nov 10, 2015 at 09:34:06PM +0300, Vladimir Davydov wrote: > This patch makes vmalloc family functions allocate vmalloc area pages > with alloc_kmem_pages so that if __GFP_ACCOUNT is set they will be > accounted to memcg. This is needed, at least, to account alloc_fdmem > allocations. > > Signed-off-by: Vladimir Davydov Acked-by: Johannes Weiner -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/