On Thursday 28 June 2001 07:39, Alexander Viro wrote:
> BTW, cost of extra dereferncing is trivial - when we access ext2-specific
> part of inode we usually
> a) do it more than once in a given function
> b) access a lot of stuff outside of struct inode.
It's not the only cost:
- The memory manager overhead is doubled, inode slab fragmentation is
doubled
- We use an average of half a cache line more per inode, depending on inode
size
If we choose not to align the inode objects in slab then we waste an extra
full cache line (half wasted at the end of the generic inode and half at the
beginning of the specific part).
--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]