svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocfs...
Antoine Brodin
antoine at freebsd.org
Wed Apr 19 18:02:42 UTC 2017
On Mon, Apr 17, 2017 at 7:34 PM, Gleb Smirnoff <glebius at freebsd.org> wrote:
> Author: glebius
> Date: Mon Apr 17 17:34:47 2017
> New Revision: 317061
> URL: https://svnweb.freebsd.org/changeset/base/317061
>
> Log:
> - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter
> in place. To do per-cpu stats, convert all fields that previously were
> maintained in the vmmeters that sit in pcpus to counter(9).
> - Since some vmmeter stats may be touched at very early stages of boot,
> before we have set up UMA and we can do counter_u64_alloc(), provide an
> early counter mechanism:
> o Leave one spare uint64_t in struct pcpu, named pc_early_dummy_counter.
> o Point counter(9) fields of vmmeter to pcpu[0].pc_early_dummy_counter,
> so that at early stages of boot, before counters are allocated we already
> point to a counter that can be safely written to.
> o For sparc64 that required a whole dummy pcpu[MAXCPU] array.
Hi,
This seems to break a few ports, the most important ones:
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p438755_s317076/logs/errors/net-snmp-5.7.3_15.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p438755_s317076/logs/errors/sigar-1.7.3_2.log
Cheers,
Antoine
More information about the svn-src-head
mailing list