diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/inode.c b/fs/inode.c index 9068498c2..1bacb24a7 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -450,7 +450,7 @@ void prune_icache(int goal) 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,11 +876,12 @@ void __init inode_init(unsigned long mempages) __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; do { |