aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_busdma_bufalloc.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2017-02-21 14:22:14 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2017-02-21 14:22:14 +0000
commite560eab72c49d96cc6566ac6f7fc6c985421df91 (patch)
treec899cffacef3b6d0c16064605eb0ffa125809db4 /sys/kern/subr_busdma_bufalloc.c
parentef23481a79936b733ee5c40fdc6c9ec3b0c01fca (diff)
downloadsrc-e560eab72c49d96cc6566ac6f7fc6c985421df91.tar.gz
src-e560eab72c49d96cc6566ac6f7fc6c985421df91.zip
Streamline the LinuxKPI spinlock wrappers.
1) Add better spinlock debug names when WITNESS_ALL is defined. 2) Make sure that the calling thread gets bound to the current CPU while a spinlock is locked. Some Linux kernel code depends on that the CPU ID doesn't change while a spinlock is locked. 3) Add support for using LinuxKPI spinlocks during a panic(). MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=314044
Diffstat (limited to 'sys/kern/subr_busdma_bufalloc.c')
0 files changed, 0 insertions, 0 deletions