Re: cvs commit: src/sys/kern subr_power.c

2005-11-10 Thread Bruce Evans
On Wed, 9 Nov 2005, Scott Long wrote: ... Bruce Evans wrote: Er, SWIs are interrupts too. Trying to sleep in a SWI handler should cause the same message. This commit uses the general taskqueue SWI handler. taskqueue(9) implicitly says that only the taskqueue thread handler can sleep (it gi

Re: cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread John Baldwin
On Wednesday 09 November 2005 11:25 am, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > > John Baldwin <[EMAIL PROTECTED]> writes: > : On Wednesday 09 November 2005 08:56 am, Scott Long wrote: > : > Bruce Evans wrote: > : > > On Wed, 9 Nov 2005, Warner Losh wrote: > : > >> Mo

Re: cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Wednesday 09 November 2005 08:56 am, Scott Long wrote: : > Bruce Evans wrote: : > > On Wed, 9 Nov 2005, Warner Losh wrote: : > >> Modified files: : > >>sys/kern subr_power.c : > >> Log: : > >

cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread Warner Losh
imp 2005-11-09 16:22:56 UTC FreeBSD src repository Modified files: sys/kern subr_power.c Log: General consensus is that it would be even better to run this in a thread context. While it doesn't matter too much at the moment, in the future we could be back in

Re: cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread John Baldwin
On Wednesday 09 November 2005 08:56 am, Scott Long wrote: > Bruce Evans wrote: > > On Wed, 9 Nov 2005, Warner Losh wrote: > >> Modified files: > >>sys/kern subr_power.c > >> Log: > >> Kick off the suspend sequence from the keyboard in a SWI rather than > >> in the hardware inter

cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread John Baldwin
jhb 2005-11-09 15:15:59 UTC FreeBSD src repository Modified files: sys/kern subr_power.c Log: Use intptr_t casts to convert void * <--> int to make 64-bit archs happy. Revision ChangesPath 1.7 +2 -2 src/sys/kern/subr_power.c

Re: cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread Scott Long
Bruce Evans wrote: On Wed, 9 Nov 2005, Warner Losh wrote: Modified files: sys/kern subr_power.c Log: Kick off the suspend sequence from the keyboard in a SWI rather than in the hardware interrupt context (even if it is likely just an ithread). We don't document that suspend

Re: cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread Nate Lawson
Bruce Evans wrote: On Wed, 9 Nov 2005, Warner Losh wrote: Modified files: sys/kern subr_power.c Log: Kick off the suspend sequence from the keyboard in a SWI rather than in the hardware interrupt context (even if it is likely just an ithread). We don't document that suspend

Re: cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread Bruce Evans
On Wed, 9 Nov 2005, Warner Losh wrote: Modified files: sys/kern subr_power.c Log: Kick off the suspend sequence from the keyboard in a SWI rather than in the hardware interrupt context (even if it is likely just an ithread). We don't document that suspend/resume routines are

cvs commit: src/sys/kern subr_power.c

2005-11-08 Thread Warner Losh
imp 2005-11-09 07:32:02 UTC FreeBSD src repository Modified files: sys/kern subr_power.c Log: Kick off the suspend sequence from the keyboard in a SWI rather than in the hardware interrupt context (even if it is likely just an ithread). We don't document that