tech-smp archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Questions of lock usage in NetBSD kernel code

On Mon, Jun 26, 2017 at 10:22:26AM +0800, Jia-Ju Bai wrote:
> Meanwhile, in your link
> (,
> "KERNEL_LOCK" and "KERNEL_UNLOCK" can be regarded as "mutex_spin_enter" and
> "mutex_spin_exit"?

Not really.  KERNEL_LOCK is a counted lock.

  Thor Lancelot Simon	                           

  "We cannot usually in social life pursue a single value or a single moral
   aim, untroubled by the need to compromise with others."      - H.L.A. Hart

Home | Main Index | Thread Index | Old Index