Thread (2 messages) 2 messages, 2 authors, 2003-03-26

Re: Re: fbcon sleeping function call from illegal context

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-03-26 21:45:30
Also in: lkml

On Wed, 2003-03-26 at 19:33, James Simmons wrote:
quoted
Running with the patch as posted by Mr. Simmons I didn't get any further 
instances of the sleeping function call from illegal context messages I 
reported before, until screenblanking went into effect.  I then got the 
following:
Oh no!!! I just look at the console timer blanking code. It calls alot of 
stuff. Not only does this mean we are limited in using kmalloc if we need 
it but also using a semaphore to sync up the fb_pixmap stuff. At present 
we use a spinlock. I tried it with a semphore but it kept hosing my 
system. Now I know why. 
Junk. Move that console blanking stuff to process context too.

Actually, I've never fully understood some of the console blanking
code, especially the PM callback in there which does really weird
things. On pmacs, this code cause the screen to first blank, then
unblank, then blank again when the machine is going to sleep.

Ben.



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help