On Thu, Jun 22, 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. I've updated my patches to Linus git repository from today. Additionally, I've changed shrink_dcache_parent() to not use prune_dcache() anymore. Comments are welcome. Regards, Jan