Re: [Linux-fbdev-devel] Re: fbcon sleeping function call from

Benjamin Herrenschmidt (benh@kernel.crashing.org)
26 Mar 2003 22:57:44 +0100


On Wed, 2003-03-26 at 19:33, James Simmons wrote:
> > 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/