On Sunday 18 July 2010 08:36:59 Wang Sheng-Hui wrote: > I regenerated the patch. Please check it. The logic for calculating how many objects to free is still wrong: mb_cache_shrink_fn returns the number of entries scaled by sysctl_vfs_cache_pressure / 100. It should also scale nr_to_scan by the inverse of that. The sysctl_vfs_cache_pressure == 0 case (never scale) may require special attention. See dcache_shrinker() in fs/dcache.c. Thanks, Andreas -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>