freebsd-nq/sys/sparc64
Matt Macy ab3059a8e7 Back pcpu zone with domain correct pages
- Change pcpu zone consumers to use a stride size of PAGE_SIZE.
  (defined as UMA_PCPU_ALLOC_SIZE to make future identification easier)

- Allocate page from the correct domain for a given cpu.

- Don't initialize pc_domain to non-zero value if NUMA is not defined
  There are some misconceptions surrounding this field. It is the
  _VM_ NUMA domain and should only ever correspond to valid domain
  values as understood by the VM.

The former slab size of sizeof(struct pcpu) was somewhat arbitrary.
The new value is PAGE_SIZE because that's the smallest granularity
which the VM can allocate a slab for a given domain. If you have
fewer than PAGE_SIZE/8 counters on your system there will be some
memory wasted, but this is obviously something where you want the
cache line to be coming from the correct domain.

Reviewed by: jeff
Sponsored by: Limelight Networks
Differential Revision:  https://reviews.freebsd.org/D15933
2018-07-06 02:06:03 +00:00
..
central Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
conf Enable kernel dump features in GENERIC for most platforms. 2018-05-19 19:53:23 +00:00
ebus Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
fhc Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
include Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
isa Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
pci Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
sbus Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
sparc64 Define memmove and make bcopy alt entry point 2018-05-24 21:11:28 +00:00