Source-Changes archive

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

Re: CVS commit: src/sys



On Sun, Dec 07, 2008 at 11:43:54AM +0000, Andrew Doran wrote:
> On Sun, Dec 07, 2008 at 11:40:53AM +0000, Andrew Doran wrote:
> 
> > Module Name:        src
> > Committed By:       ad
> > Date:               Sun Dec  7 11:40:53 UTC 2008
> > 
> > Modified Files:
> >     src/sys/kern: kern_cpu.c
> >     src/sys/sys: cpu.h
> 
> cvs admin "-m1.27:Add cpu_softintr_p() for assertions" cpu.h
> cvs admin "-m1.39:Add cpu_softintr_p() for assertions" kern_cpu.c

Cool. Does is means that we can use
(!cpu_intr_p() && !cpu_softintr_p())
to know if we can tsleep() or not (this would clean up the ATA subsystem)

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index