Gleb Smirnoff
83c9dea1ba
- 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.
Further related changes:
- Don't include vmmeter.h into pcpu.h.
- vm.stats.vm.v_swappgsout and vm.stats.vm.v_swappgsin changed to 64-bit,
to match kernel representation.
- struct vmmeter hidden under _KERNEL, and only vmstat(1) is an exclusion.
This is based on benno@'s 4-year old patch:
https://lists.freebsd.org/pipermail/freebsd-arch/2013-July/014471.html
Reviewed by: kib, gallatin, marius, lidl
Differential Revision: https://reviews.freebsd.org/D10156
2017-04-17 17:34:47 +00:00
..
2016-04-21 12:58:29 +00:00
2017-02-28 23:42:47 +00:00
2016-06-16 21:22:26 +00:00
2016-07-30 06:32:18 +00:00
2017-02-11 20:19:04 +00:00
2017-03-09 03:27:53 +00:00
2017-04-13 23:22:18 +00:00
2017-02-28 23:42:47 +00:00
2017-03-05 16:10:35 +00:00
2017-02-28 23:42:47 +00:00
2017-02-11 20:27:53 +00:00
2017-04-15 01:44:45 +00:00
2017-03-20 13:02:27 +00:00
2017-03-31 03:11:25 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2015-12-04 03:17:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-05-13 05:49:02 +00:00
2017-01-04 16:24:40 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-01-27 20:01:46 +00:00
2017-02-28 23:42:47 +00:00
2017-03-23 03:28:24 +00:00
2017-02-28 23:42:47 +00:00
2016-04-17 23:02:49 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-20 13:02:27 +00:00
2016-07-29 21:18:20 +00:00
2016-05-10 11:11:23 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2016-04-21 12:58:29 +00:00
2017-03-05 16:10:35 +00:00
2017-04-15 13:57:35 +00:00
2017-02-28 23:42:47 +00:00
2016-01-27 00:03:43 +00:00
2017-03-12 18:58:44 +00:00
2017-04-17 17:23:19 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2016-11-13 00:11:30 +00:00
2017-02-06 08:27:19 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2016-03-29 11:56:00 +00:00
2017-03-12 18:58:44 +00:00
2016-05-04 23:20:53 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-04 19:46:23 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-30 18:21:36 +00:00
2016-05-10 11:12:31 +00:00
2017-03-20 16:44:55 +00:00
2017-01-28 16:31:23 +00:00
2016-06-04 21:34:06 +00:00
2016-11-13 00:11:30 +00:00
2017-02-28 23:42:47 +00:00
2015-12-04 03:17:47 +00:00
2017-04-17 14:59:55 +00:00
2017-02-06 07:02:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2016-12-16 02:06:34 +00:00
2017-02-28 23:42:47 +00:00
2017-03-23 03:28:24 +00:00
2017-03-03 20:15:22 +00:00
2017-03-12 18:58:44 +00:00
2015-12-01 05:18:48 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-15 22:36:26 +00:00
2017-02-28 23:42:47 +00:00
2016-12-16 01:59:28 +00:00
2017-03-15 15:57:11 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-05-16 16:01:46 +00:00
2017-02-28 23:42:47 +00:00
2017-04-15 20:55:09 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-04-04 19:46:23 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-01 02:10:40 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 10:56:19 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2016-12-16 01:51:12 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-23 03:28:24 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-11 23:40:57 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2016-11-05 14:08:14 +00:00
2017-04-16 19:17:10 +00:00
2016-05-01 08:22:11 +00:00
2016-08-30 19:02:15 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-07-31 19:02:19 +00:00
2016-04-21 12:58:29 +00:00
2017-02-28 23:42:47 +00:00
2016-05-17 12:52:31 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-07 05:10:38 +00:00
2017-02-28 23:42:47 +00:00
2017-03-05 16:10:35 +00:00
2016-07-09 04:56:28 +00:00
2017-02-11 23:45:50 +00:00
2015-12-04 03:17:47 +00:00
2017-04-05 16:13:36 +00:00
2016-09-30 13:50:59 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-09-23 22:46:19 +00:00
2017-03-30 18:21:36 +00:00
2015-12-01 05:23:19 +00:00
2017-02-28 23:42:47 +00:00
2016-06-08 02:14:05 +00:00
2016-04-07 04:23:25 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2016-07-29 21:05:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-11 23:39:56 +00:00
2017-02-28 23:42:47 +00:00
2017-01-12 14:44:41 +00:00
2017-04-04 19:46:23 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 04:06:33 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-08 08:42:25 +00:00
2017-03-27 16:01:44 +00:00
2015-12-01 05:23:19 +00:00
2016-09-16 14:23:16 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-04-21 12:58:29 +00:00
2017-03-12 18:58:44 +00:00
2017-03-21 08:57:20 +00:00
2017-03-23 03:28:24 +00:00
2017-02-17 19:53:20 +00:00
2017-02-28 23:42:47 +00:00
2016-04-26 00:29:00 +00:00
2016-04-21 12:58:29 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-21 06:39:49 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-24 00:02:12 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2016-05-04 23:20:53 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-09 04:20:00 +00:00
2017-04-17 17:34:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-05-04 23:20:53 +00:00
2017-03-19 00:36:29 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-07-11 08:05:46 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2015-12-03 14:32:54 +00:00
2017-02-28 23:42:47 +00:00
2017-02-11 23:38:28 +00:00
2017-03-12 18:58:44 +00:00
2017-02-11 23:37:48 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-10 06:23:15 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-04-17 17:34:47 +00:00
2016-09-14 18:22:12 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-05-01 16:13:05 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2016-11-08 23:59:41 +00:00
2016-05-04 23:20:53 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-04-15 21:12:11 +00:00
2017-04-15 20:05:22 +00:00