Date: Mon, 11 Sep 2017 01:24:27 -0700 From: Ryan Libby <rlibby@freebsd.org> To: Mateusz Guzik <mjguzik@gmail.com> Cc: Bruce Evans <brde@optusnet.com.au>, Mateusz Guzik <mjg@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r323393 - in head/sys: sys vm Message-ID: <CAHgpiFx-M3=JtZ0iq4CoxoEPMdDUYBS3W5SMaUntkBZZziqGjQ@mail.gmail.com> In-Reply-To: <CAGudoHG8yVw46cwmpswnozMf-pSjHtBXHDk8DmJ6v=CwOCvWLg@mail.gmail.com> References: <201709101900.v8AJ0c2N059845@repo.freebsd.org> <20170911111127.B870@besplex.bde.org> <CAGudoHG8yVw46cwmpswnozMf-pSjHtBXHDk8DmJ6v=CwOCvWLg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 11, 2017 at 12:30 AM, Mateusz Guzik <mjguzik@gmail.com> wrote: [...] > That said, looking now at the struct I think its use should be retired > from the kernel. It can remain in headers for userspace use. > > First, there is a bunch of counter(9) fields. I don't know the original > reasoning. I would expect these counters to be statically defined in a > per-cpu struct. The actual counter(9) counters are per-CPU. These are just offsets into the PCPU area. See r317061 / D10156 (recent work by glebius).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHgpiFx-M3=JtZ0iq4CoxoEPMdDUYBS3W5SMaUntkBZZziqGjQ>