Re: [DMESG] cpumask_t in action

Jesse Barnes
2003-11-06T04:36:48Z

On Thu, Nov 06, 2003 at 12:42:31AM +0100, Antonio Vargas wrote:
> > As for the dentry and inode-cache tables, yes they're probably too big,
> > and they're also allocated on node 0 rather than being spread out.
> >
>
> Jesse, what about making hash_size = scale * log(mem_size), so that the
> tables are not scaled too high on your very-high-end boxes? ;)

Sounds good to me, should we change the callers in vfs_caches_init() or
revisit each individual hash to see what size makes sense?

Thanks,
Jesse