svn commit: r367165 - head/sys/fs/tmpfs

Konstantin Belousov kostikbel at gmail.com
Fri Oct 30 14:38:59 UTC 2020


On Fri, Oct 30, 2020 at 03:08:32PM +0100, Mateusz Guzik wrote:
> On 10/30/20, Mateusz Guzik <mjg at freebsd.org> wrote:
> > Author: mjg
> > Date: Fri Oct 30 14:07:25 2020
> > New Revision: 367165
> > URL: https://svnweb.freebsd.org/changeset/base/367165
> >
> > Log:
> >   tmpfs: change tmpfs dirent zone into a malloc type
> >
> >   It is 64 bytes.
> >
> 
> Right now malloc has only power-of-2 zones but I'm looking into
> changing that. The allocator itself trivially extends to multiply of
> 16, but stat collection needs reworking.

Either commit message or follow-up do not explain why stopping using
zone for dirents is useful.  Intuition says exactly reverse, dirents
on tmpfs are allocation-intensive typically.


More information about the svn-src-head mailing list