mjg 6090f91124 vfs: convert struct mount counters to per-cpu
There are 3 counters modified all the time in this structure - one for
keeping the structure alive, one for preventing unmount and one for
tracking active writers. Exact values of these counters are very rarely
needed, which makes them a prime candidate for conversion to a per-cpu
scheme, resulting in much better performance.

Sample benchmark performing fstatfs (modifying 2 out of 3 counters) on
a 104-way 2 socket Skylake system:
before:   852393 ops/s
after:  76682077 ops/s

Reviewed by:	kib, jeff
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D21637
2019-09-16 21:37:47 +00:00
..
2019-09-03 04:16:30 +00:00
2019-09-03 04:16:30 +00:00
2019-01-27 00:46:06 +00:00
2019-09-03 18:56:25 +00:00
2019-06-24 20:52:21 +00:00
2019-08-28 16:18:23 +00:00
2019-09-03 18:56:25 +00:00
2019-08-28 16:18:23 +00:00
2018-12-05 16:43:03 +00:00
2019-09-03 04:16:30 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2019-07-24 23:04:59 +00:00
2018-08-18 19:45:56 +00:00
2019-09-16 21:31:02 +00:00
2018-06-01 13:26:45 +00:00
2019-02-20 09:38:19 +00:00
2019-07-24 23:04:59 +00:00
2018-11-20 14:58:41 +00:00
2019-08-05 20:31:17 +00:00
2019-09-03 04:16:30 +00:00
2019-09-03 04:16:30 +00:00
2019-09-03 04:16:30 +00:00
2018-06-01 13:26:45 +00:00
2018-10-23 21:43:41 +00:00
2019-08-28 20:34:24 +00:00