summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2017-03-14 20:43:04 +0000
committermjg <mjg@FreeBSD.org>2017-03-14 20:43:04 +0000
commit3edf8a9d08485cf11c17af11e7852d41f8edea23 (patch)
tree3a52f54c3221a41c2827b86fcf9b8cfa4136dae9 /lib/libc
parent57f28a25af7dd32fc8adea80c5ebb2b237cc86a6 (diff)
downloadFreeBSD-src-3edf8a9d08485cf11c17af11e7852d41f8edea23.zip
FreeBSD-src-3edf8a9d08485cf11c17af11e7852d41f8edea23.tar.gz
MFC r312724,r312901,r312902:
hwpmc: partially depessimize munmap handling if the module is not loaded HWPMC_HOOKS is enabled in GENERIC and triggers some work avoidable in the common (module not loaded) case. In particular this avoids permission checks + lock downgrade singlethreaded and in cases were an executable mapping is found the pmc sx lock is no longer bounced. Note this is a band aid. == hwpmc: partially depessimize mmap handling if the module is not loaded In particular this means the pmc sx lock is no longer taken when an executable mapping succeeds. == hwpmc: annotate pmc_hook and pmc_intr as __read_mostly
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud