I chased down the dcache shrink patch and rebuilt 2.1.57 with:
bad_inode57-patch
file_table57-patch
nfs_57-patch
procfs_57-patch
remount_57-patch
shrink_dcache_sb-57.patch
smbfs_57-patch
sunrpc_57-patch (with one-line fixup per your posting)
Everything seems to work fine, but I've noticed that my file manager
(Midnight Commander) is taking about 6-8x longer to stat a large directory
(approx. 2200 files) than usual. Before I ifdef'ed the printk's out, the
dcache code reported a large amount of activity at this point. I'm
guessing that this slowdown is due to the shrinking algorithm?
Steve