patch-2.1.110 linux/fs/dcache.c

Next file: linux/fs/nfs/file.c
Previous file: linux/fs/coda/upcall.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/fs/dcache.c linux/fs/dcache.c
@@ -438,9 +438,13 @@
  */
 void shrink_dcache_memory(int priority, unsigned int gfp_mask)
 {
+#if 0
 	int count = select_dcache(32, 8);
 	if (count)
 		prune_dcache((count << 6) >> priority);
+#else
+	prune_dcache(0);
+#endif
 }
 
 #define NAME_ALLOC_LEN(len)	((len+16) & ~15)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov