Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2008 01:16:11 +0100
From:      "Attilio Rao" <attilio@freebsd.org>
To:        "John Baldwin" <jhb@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_mutex.c
Message-ID:  <3bbf2fe10802131616p53b2bae2ma4bccef2d8c8fb76@mail.gmail.com>
In-Reply-To: <200802132333.m1DNXokI060695@repoman.freebsd.org>
References:  <200802132333.m1DNXokI060695@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/2/14, John Baldwin <jhb@freebsd.org>:
> jhb         2008-02-13 23:33:50 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             kern_mutex.c
>   Log:
>   Add a couple of assertions and KTR logging to thread_lock_flags() to
>   match mtx_lock_spin_flags().

As I tried to pointed out in perforce, it would not be better to check
against LC_SPINLOCK (and lc_flags) instead than direct comparisons
with lock_class_mtx_spin ?

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10802131616p53b2bae2ma4bccef2d8c8fb76>