From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752440Ab2ISHo7 (ORCPT ); Wed, 19 Sep 2012 03:44:59 -0400 Received: from mx2.parallels.com ([64.131.90.16]:52672 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751507Ab2ISHo6 (ORCPT ); Wed, 19 Sep 2012 03:44:58 -0400 Message-ID: <5059772A.8020402@parallels.com> Date: Wed, 19 Sep 2012 11:41:30 +0400 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: Christoph Lameter CC: , , , , Tejun Heo , , Suleiman Souhlal , Frederic Weisbecker , Mel Gorman , David Rientjes , Pekka Enberg , Michal Hocko , Johannes Weiner Subject: Re: [PATCH v3 13/16] slab: slab-specific propagation changes. References: <1347977530-29755-1-git-send-email-glommer@parallels.com> <1347977530-29755-14-git-send-email-glommer@parallels.com> <00000139da52bc21-06113921-5cf5-42b6-94e3-fe9763e909bc-000000@email.amazonses.com> In-Reply-To: <00000139da52bc21-06113921-5cf5-42b6-94e3-fe9763e909bc-000000@email.amazonses.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/18/2012 09:00 PM, Christoph Lameter wrote: > On Tue, 18 Sep 2012, Glauber Costa wrote: > >> When a parent cache does tune_cpucache, we need to propagate that to the >> children as well. For that, we unfortunately need to tap into the slab core. > > One of the todo list items for the common stuff is to have actually a > common kmem_cache structure. If we add a common callback then we could put > that also into the core. > At this point, I'd like to keep it this way if possible. I agree that it would be a lot better living in a common location, and I commit to helping you to move in that direction. But I see no reason to have this commonization to happen first, as a pre-requisite for this.