freebsd-skq/sys/dev/hwpmc
Matt Macy 0f00315cb3 hwpmc: fix load/unload race and vm map LOR
- fix load/unload race by allocating the per-domain list structure at boot

- fix long extant vm map LOR by replacing pmc_sx sx_slock with global_epoch
  to protect the liveness of elements of the pmc_ss_owners list

Reported by:	pho
Approved by:	sbruno
2018-05-14 00:21:04 +00:00
..
hwpmc_amd.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_amd.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_arm64_md.c
hwpmc_arm64.c
hwpmc_arm64.h
hwpmc_arm.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_armv7.c Fix HWPMC interrupt handling in Counting Mode 2017-06-13 18:51:23 +00:00
hwpmc_armv7.h
hwpmc_core.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_core.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_e500.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_intel.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_logging.c hwpmc: fix load/unload race and vm map LOR 2018-05-14 00:21:04 +00:00
hwpmc_mips24k.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_mips74k.c
hwpmc_mips.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_mod.c hwpmc: fix load/unload race and vm map LOR 2018-05-14 00:21:04 +00:00
hwpmc_mpc7xxx.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_octeon.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_pentium.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_pentium.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_piv.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_piv.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_powerpc.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_powerpc.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_ppc970.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_ppro.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_ppro.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_riscv.h
hwpmc_soft.c hwpmc(9): Make pmclog buffer pcpu and update constants 2018-05-12 01:26:34 +00:00
hwpmc_soft.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_sparc64.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_tsc.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_tsc.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_uncore.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_uncore.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_x86.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_xscale.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_xscale.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pmc_events.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00