summaryrefslogtreecommitdiffstats
path: root/sys/libkern/strcpy.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-09-27 05:39:42 +0000
committeralc <alc@FreeBSD.org>2012-09-27 05:39:42 +0000
commitffd834ae9ab87bad91ee1123b98fc7de41f72a69 (patch)
tree07a4b99bade374e140364acd197f7fb9e70769b5 /sys/libkern/strcpy.c
parent2f41324b96254f12b272532143f5f723867e6152 (diff)
downloadFreeBSD-src-ffd834ae9ab87bad91ee1123b98fc7de41f72a69.zip
FreeBSD-src-ffd834ae9ab87bad91ee1123b98fc7de41f72a69.tar.gz
Implementing pmap_kextract(va) as pmap_extract(kernel_pmap, va) is
problematic because some callers to pmap_kextract() expect its implementation to be lock-less. In particular, uma_dbg_alloc() implicitly requires this. Otherwise, lock-order reversals occur between pmap locks and UMA zone locks. So, this change introduces a lock-less implementation of pmap_kextract(). Disable recursion on the pvh global lock in the new armv6 pmap. While recursion on this locks occurs in the old arm pmap, it thankfully doesn't occur in the armv6 pmap. Tested by: jmg
Diffstat (limited to 'sys/libkern/strcpy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud