Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752575AbXL0U2a (ORCPT ); Thu, 27 Dec 2007 15:28:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752861AbXL0U2X (ORCPT ); Thu, 27 Dec 2007 15:28:23 -0500 Received: from relay2.sgi.com ([192.48.171.30]:35251 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752322AbXL0U2W (ORCPT ); Thu, 27 Dec 2007 15:28:22 -0500 Date: Thu, 27 Dec 2007 12:28:14 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Al Viro cc: Theodore Tso , Andi Kleen , Willy Tarreau , Steven Rostedt , Linus Torvalds , Ingo Molnar , Peter Zijlstra , LKML , Andrew Morton , Christoph Hellwig , "Rafael J. Wysocki" Subject: SLUB sysfs support In-Reply-To: Message-ID: References: <20071222192550.GD28891@thunk.org> <20071222221050.GA20753@1wt.eu> <20071223051241.GA4449@1wt.eu> <20071223141500.GB6430@one.firstfloor.org> <20071224034530.GB16658@thunk.org> <20071224233701.GB9784@kernel.org> <20071226221631.GD27894@ZenIV.linux.org.uk> MIME-Version: 1.0 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: 648 Lines: 19 Hmmm.. If I separately allocate the kobject then I can no longer get to the kmem_cache structure from the kobject. I need to add a second kobject_del to sysfs_slab_remove() to make sysfs completely forget about the object? Probably should track down any remaining symlinks at that point and nuke them too. Isnt there some way to convince sysfs to remove the symlinks if the target vanishes? -- 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/