Re: Linux/Pro -- clusters

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Dec 04 2001 - 13:04:12 EST


> Single additional alloc -> twice as many allocs, two slabs, more cachelines
> dirty. This was hashed out on fsdevel, though apparently not to everyone's
> satisfaction.

Al Viro's NFS in generic_ip saved me something like 130K of memory.

> > Using generic_ip in its current form has the advantage of being able to
> > create a nicely-aligned kmem cache for your private inode data.
>
> I don't see why that's hard with the combined struct.

Providing you end up with fs->alloc_inode() and the fs allocates a suitable
sized inode + private I see no problem.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:24 EST