Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754045AbbDHNq3 (ORCPT ); Wed, 8 Apr 2015 09:46:29 -0400 Received: from resqmta-ch2-04v.sys.comcast.net ([69.252.207.36]:33086 "EHLO resqmta-ch2-04v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753438AbbDHNq0 (ORCPT ); Wed, 8 Apr 2015 09:46:26 -0400 Date: Wed, 8 Apr 2015 08:46:22 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Vladimir Davydov cc: Andrew Morton , Johannes Weiner , Michal Hocko , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -mm] slab: use cgroup ino for naming per memcg caches In-Reply-To: <20150408095404.GC10286@esperanza> Message-ID: References: <1428414798-12932-1-git-send-email-vdavydov@parallels.com> <20150407133819.993be7a53a3aa16311aba1f5@linux-foundation.org> <20150408095404.GC10286@esperanza> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 683 Lines: 15 On Wed, 8 Apr 2015, Vladimir Davydov wrote: > has its own copy of kmem cache. What if we decide to share the same kmem > cache among all memory cgroups one day? Of course, this will hardly ever > happen, but it is an alternative approach to implementing the same /sys/kernel/slab already supports the use of symlinks. And both SLAB and SLUB do slab merging which means effectively an aliasing of multiple slab caches to the same name. -- 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/