Alexander Viro writes:
>
>
> On Mon, 23 Apr 2001, Richard Gooch wrote:
>
> > - keep a separate VFSinode and FSinode slab cache
>
> Yup.
>
> > - allocate an enlarged VFSinode that contains the FSinode at the end,
> > with the generic pointer in the VFSinode part pointing to FSinode
> > part.
>
> Please, don't. It would help with bloat only if you allocated these
> beasts separately for each fs and then you end up with _many_ allocators
> that can generate pointer to struct inode.
>
> "One type - one allocator" is a good rule - violating it turns into
> major PITA couple of years down the road 9 times out of 10.
Agreed. The better option is the separate VFSinode and FSinode caches.
The enlarged inode scheme is also ugly, like the unions. It's just
less bloated :-)
Regards,
Richard....
Permanent: [EMAIL PROTECTED]
Current: [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Re: hundreds of mount --bind mountpoints? Ingo Oeser
- Re: hundreds of mount --bind mountpoints? Alexander Viro
- Re: hundreds of mount --bind mountpoints? Ingo Oeser
- Re: hundreds of mount --bind mountpoints? Christoph Hellwig
- Re: hundreds of mount --bind mountpoints? Ingo Oeser
- Re: hundreds of mount --bind mountpoints? Alexander Viro
- Re: hundreds of mount --bind mountpoints? Richard Gooch
- Re: hundreds of mount --bind mountpoints? Albert D. Cahalan
- Re: hundreds of mount --bind mountpoints? Richard Gooch
- Re: hundreds of mount --bind mountpoints? Alexander Viro
- Re: hundreds of mount --bind mountpoints? Richard Gooch
- Re: hundreds of mount --bind mountpoints? Rik van Riel
- Re: hundreds of mount --bind mountpoints? Andreas Dilger
- Re: hundreds of mount --bind mountpoints? Jan Harkes
- Re: hundreds of mount --bind mountpoints? Alexander Viro
- Re: hundreds of mount --bind mountpoints? David Woodhouse
- Re: hundreds of mount --bind mountpoints? Alexander Viro
- Re: hundreds of mount --bind mountpoints? David Woodhouse
- Re: hundreds of mount --bind mountpoints? Christoph Rohland
- Re: hundreds of mount --bind mountpoints? Alexander Viro
- Re: hundreds of mount --bind mountpoints? David Woodhouse

