patch-2.3.99-pre7 linux/fs/inode.c

Next file: linux/fs/isofs/dir.c
Previous file: linux/fs/hpfs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/fs/inode.c linux/fs/inode.c
@@ -450,7 +450,7 @@
 	dispose_list(freeable);
 }
 
-int shrink_icache_memory(int priority, int gfp_mask, zone_t *zone)
+int shrink_icache_memory(int priority, int gfp_mask)
 {
 	int count = 0;
 		
@@ -876,10 +876,11 @@
 			__get_free_pages(GFP_ATOMIC, order);
 	} while (inode_hashtable == NULL && --order >= 0);
 
+	printk("Inode-cache hash table entries: %d (order: %ld, %ld bytes)\n",
+			nr_hash, order, (PAGE_SIZE << order));
+
 	if (!inode_hashtable)
 		panic("Failed to allocate inode hash table\n");
-
-	printk("VFS: INODE hash table configured to %d entries\n", nr_hash);
 
 	head = inode_hashtable;
 	i = nr_hash;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)