tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Heads up: moving some uvmexp stat to being per-cpu



On Thu, Dec 16, 2010 at 7:07 AM, David Holland 
<dholland-tech%netbsd.org@localhost> wrote:
> On Tue, Dec 14, 2010 at 08:49:14PM -0800, Matt Thomas wrote:
>  > I have a fairly large but mostly simple patch which changes the
>  > stats collected in uvmexp for faults, intrs, softs, syscalls, and
>  > traps from 32 bit to 64 bits and puts them in cpu_data (in
>  > cpu_info).  This makes more accurate and a little cheaper to update
>  > on 64bit systems.
>
> Would this be a good opportunity to retire the sysctl that returns the
> non-ABI-stable uvmexp, or perhaps change its name to indicate that
> it's not stable/supported?
>
> --
> David A. Holland
> dholland%netbsd.org@localhost
>

Hi, in my humble opinion, retiring the exported uvmexp would be a good move,
it carries counters for highly page-out-algorithm specific events,
that might change if those algorithms are tuned changed,
and such changes shouldn't break the ABI.

Lars

-- 
Mystische Erklärungen:
Die mystischen Erklärungen gelten für tief;
die Wahrheit ist, dass sie noch nicht einmal oberflächlich sind.
   -- Friedrich Nietzsche
   [ Die Fröhliche Wissenschaft Buch 3, 126 ]


Home | Main Index | Thread Index | Old Index