From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422888AbXDTFgX (ORCPT ); Fri, 20 Apr 2007 01:36:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422895AbXDTFgX (ORCPT ); Fri, 20 Apr 2007 01:36:23 -0400 Received: from cantor2.suse.de ([195.135.220.15]:47862 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422888AbXDTFgW (ORCPT ); Fri, 20 Apr 2007 01:36:22 -0400 From: Neil Brown To: Christoph Lameter Date: Fri, 20 Apr 2007 15:35:56 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17960.20796.761309.771912@notabene.brown> Cc: linux-kernel@vger.kernel.org Subject: Re: SLUB: kmem_cache_destroy doesn't - version 2. In-Reply-To: message from Christoph Lameter on Thursday April 19 References: <17960.16739.870487.497750@notabene.brown> X-Mailer: VM 7.19 under Emacs 21.4.1 X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D On Fri, 20 Apr 2007, Neil Brown wrote: > > > Not sure how best to fix this one.... kmem_cache_destroy currently > > doesn't know which alias is being destroyed. > > The aliases are there for decorative purposes when running without > debugging. If one switches on debugging then it matters but then the > symlinks are not created since there will be no aliases. > > I guess we can ignore the problem? Maybe.... But then if we create the same cache with a different size, we might need to create a directory in sysfs, but there is already a symlink there... It doesn't feel very clean. NeilBrown