cvs commit: src/sys/kern subr_witness.c

John Baldwin jhb at freebsd.org
Tue Feb 6 16:57:31 UTC 2007


On Tuesday 06 February 2007 00:51, Mike Pritchard wrote:
> mpp         2007-02-06 05:51:55 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             subr_witness.c 
>   Log:
>   The change to the vm_page_queue_freelist lock from a spin lock to a
>   sleep lock missed the witness code, and the system will panic
>   immediately on boot if WITNESS is enabled.
>   
>   Changed the witness definition to the new type.

You had better take it out altogether.  Now you've told witness that this lock 
comes after a spin lock, and that is only going to result in pain and 
suffering.

-- 
John Baldwin


More information about the cvs-src mailing list