Date: Fri, 30 Oct 2020 16:38:51 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Mateusz Guzik <mjguzik@gmail.com> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r367165 - head/sys/fs/tmpfs Message-ID: <20201030143851.GE2654@kib.kiev.ua> In-Reply-To: <CAGudoHGBMFoeOKwZWq2%2B1xC9924Xi2AEt4a1zYgwa_EA3HzAkA@mail.gmail.com> References: <202010301407.09UE7Phw060731@repo.freebsd.org> <CAGudoHGBMFoeOKwZWq2%2B1xC9924Xi2AEt4a1zYgwa_EA3HzAkA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 30, 2020 at 03:08:32PM +0100, Mateusz Guzik wrote: > On 10/30/20, Mateusz Guzik <mjg@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201030143851.GE2654>