diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2017-02-21 14:22:14 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2017-02-21 14:22:14 +0000 |
commit | e560eab72c49d96cc6566ac6f7fc6c985421df91 (patch) | |
tree | c899cffacef3b6d0c16064605eb0ffa125809db4 /sys/kern/kern_synch.c | |
parent | ef23481a79936b733ee5c40fdc6c9ec3b0c01fca (diff) | |
download | src-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/kern_synch.c')
0 files changed, 0 insertions, 0 deletions