Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932247AbbDHSYb (ORCPT ); Wed, 8 Apr 2015 14:24:31 -0400 Received: from resqmta-ch2-11v.sys.comcast.net ([69.252.207.43]:46240 "EHLO resqmta-ch2-11v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753483AbbDHSY3 (ORCPT ); Wed, 8 Apr 2015 14:24:29 -0400 Date: Wed, 8 Apr 2015 13:24:26 -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: <20150408181911.GA18199@esperanza> Message-ID: References: <1428414798-12932-1-git-send-email-vdavydov@parallels.com> <20150407133819.993be7a53a3aa16311aba1f5@linux-foundation.org> <20150408095404.GC10286@esperanza> <20150408181911.GA18199@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: 879 Lines: 19 On Wed, 8 Apr 2015, Vladimir Davydov wrote: > Yeah, I think cache merging is a good argument for grouping memcg caches > under /sys/kernel/slab//cgroup/. We cannot maintain symlinks > for merged memcg caches, because when a memcg cache is created we do not > have names of caches the new cache is merged with. If memcg caches were > listed under /sys/kernel/slab/ along with global ones, absence of the > symlinks would lead to confusion. The point of the unique name creation is to not have to use the name given by the user for the slab. You can generate a unique identifier and use that as a target for the symlink. -- 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/