HomeFreeBSD

Streamline the LinuxKPI spinlock wrappers.

Description

Streamline the LinuxKPI spinlock wrappers.

  1. Add better spinlock debug names when WITNESS_ALL is defined.
  1. 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.

  1. Add support for using LinuxKPI spinlocks during a panic().

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS314043: Add support for LinuxKPI tasklets.
Branches
Unknown
Tags
Unknown