freebsd-skq/sys/arm
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
..
allwinner aw_mmc: Fix style(9) after r335476 2018-06-23 15:05:21 +00:00
altera/socfpga dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
amlogic/aml8726 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
annapurna/alpine Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
arm Move the SYSINIT to allow userspace access to the ARM generic timer later 2018-06-20 11:13:10 +00:00
at91 ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
broadcom/bcm2835 [rpi] Add support for the second PWM channel 2018-07-02 01:30:33 +00:00
cavium/cns11xx ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
cloudabi32 Correct some more places where TO_PTR() should be used. 2017-11-26 14:53:56 +00:00
conf Since we don't enable BUF_TRACKING and FULL_BUF_TRACKING buffer debugging 2018-06-05 05:24:42 +00:00
freescale Add a missing call to usb_bus_mem_free_all() when detaching. 2018-07-05 15:52:26 +00:00
include Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
mv Fix SoC identification issue on Marvell platforms 2018-05-03 01:10:41 +00:00
nvidia Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
qemu Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
ralink ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
rockchip dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
samsung/exynos arm: Fix duplicate ehci DRIVER_MODULE 2018-04-27 21:05:58 +00:00
ti ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
versatile Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
xilinx arm: Fix duplicate ehci DRIVER_MODULE 2018-04-27 21:05:58 +00:00
xscale hwpmc: remove hwpmc_xscale.c from corresponding arm build 2018-06-08 18:24:46 +00:00