From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751032AbdANNa2 (ORCPT ); Sat, 14 Jan 2017 08:30:28 -0500 Received: from smtp48.i.mail.ru ([94.100.177.108]:48783 "EHLO smtp48.i.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbdANNa1 (ORCPT ); Sat, 14 Jan 2017 08:30:27 -0500 X-Greylist: delayed 632 seconds by postgrey-1.27 at vger.kernel.org; Sat, 14 Jan 2017 08:30:26 EST Date: Sat, 14 Jan 2017 16:30:00 +0300 From: Vladimir Davydov To: Tejun Heo Cc: cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, jsvana@fb.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 4/9] slab: reorganize memcg_cache_params Message-ID: <20170114133000.GC2668@esperanza> References: <20170114055449.11044-1-tj@kernel.org> <20170114055449.11044-5-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170114055449.11044-5-tj@kernel.org> Authentication-Results: smtp48.i.mail.ru; auth=pass smtp.auth=vdavydov@tarantool.org smtp.mailfrom=vdavydov@tarantool.org X-E1FCDC63: 32EF25A17406312B8DF2D20E129525B7F8D9167951636F18 X-E1FCDC64: 4599A228884CAD9A381CEEAC3C3386B168E84404D18CB71F807DCD04BDE74EBD X-Mailru-Sender: AA5F055C295B4E991E00E7277EE5FAA7886F07EFEBE0925EEC3287D0A61FB79D1BDD93496B4C83A6 X-Mras: OK Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 14, 2017 at 12:54:44AM -0500, Tejun Heo wrote: > We're gonna change how memcg caches are iterated. In preparation, > clean up and reorganize memcg_cache_params. > > * The shared ->list is replaced by ->children in root and > ->children_node in children. > > * ->is_root_cache is removed. Instead ->root_cache is moved out of > the child union and now used by both root and children. NULL > indicates root cache. Non-NULL a memcg one. > > This patch doesn't cause any observable behavior changes. > > Signed-off-by: Tejun Heo > Cc: Vladimir Davydov > Cc: Christoph Lameter > Cc: Pekka Enberg > Cc: David Rientjes > Cc: Joonsoo Kim > Cc: Andrew Morton Acked-by: Vladimir Davydov From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Davydov Subject: Re: [PATCH 4/9] slab: reorganize memcg_cache_params Date: Sat, 14 Jan 2017 16:30:00 +0300 Message-ID: <20170114133000.GC2668@esperanza> References: <20170114055449.11044-1-tj@kernel.org> <20170114055449.11044-5-tj@kernel.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tarantool.org; s=mailru; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=GZNMsFoYSXJLCsm9gF5Nx01VSiNO22awAL5LKfB2VsY=; b=r3sObd2nLHafV7/cWUidtoT6mj+gP4EYUCl7Vs6H7iUr7PbfdhX5zd48qzEnf5fmdUlMyoGcNO1fI5rVQ39VsCR14vmjwCNe/4gHJqkbAgjfN3xBH9oegqAUVhBVnxOMGcCb7mmz8+0eTFgumwmjGZ2RenSGiifLM4PKZVZvVso=; Content-Disposition: inline In-Reply-To: <20170114055449.11044-5-tj@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tejun Heo Cc: cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, jsvana@fb.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, kernel-team@fb.com On Sat, Jan 14, 2017 at 12:54:44AM -0500, Tejun Heo wrote: > We're gonna change how memcg caches are iterated. In preparation, > clean up and reorganize memcg_cache_params. > > * The shared ->list is replaced by ->children in root and > ->children_node in children. > > * ->is_root_cache is removed. Instead ->root_cache is moved out of > the child union and now used by both root and children. NULL > indicates root cache. Non-NULL a memcg one. > > This patch doesn't cause any observable behavior changes. > > Signed-off-by: Tejun Heo > Cc: Vladimir Davydov > Cc: Christoph Lameter > Cc: Pekka Enberg > Cc: David Rientjes > Cc: Joonsoo Kim > Cc: Andrew Morton Acked-by: Vladimir Davydov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org