svn commit: r367165 - head/sys/fs/tmpfs
Mark Johnston
markj at freebsd.org
Fri Oct 30 14:51:47 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.
Sums of consecutive powers of 2 also works well. That is, 16, 16 + 8,
32, 32 + 16, ...
When I last looked I didn't see very many places that would benefit, at
least outside of ZFS. Probably the main one is CAM CCBs, and that'll be
helped by https://reviews.freebsd.org/D26844 .
More information about the svn-src-head
mailing list