From: David Howells Subject: Re: [PATCH] Fix dcache race during umount Date: Thu, 22 Jun 2006 15:27:57 +0100 Message-ID: <11117.1150986477@warthog.cambridge.redhat.com> References: <15603.1150978967@warthog.cambridge.redhat.com> Cc: neilb@suse.de, balbir@in.ibm.com, akpm@osdl.org, aviro@redhat.com, jblunck@suse.de, dev@openvz.org, olh@suse.de, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: In-Reply-To: <15603.1150978967@warthog.cambridge.redhat.com> To: David Howells Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org David Howells wrote: > I'd like to propose an alternative to your patch to fix the dcache race > between unmounting a filesystem and the memory shrinker. > > In my patch, generic_shutdown_super() is made to call shrink_dcache_sb() > instead of shrink_dcache_anon(), and the latter function is discarded > completely since it's no longer used. On the other hand, I can make my patch just alter the effect of yours. David