* Re: [linux-fbdev] Re: console spin_lock
@ 2001-01-17 18:02 Petr Vandrovec
0 siblings, 0 replies; only message in thread
From: Petr Vandrovec @ 2001-01-17 18:02 UTC (permalink / raw)
To: Andrew Morton
Cc: Linux Kernel Mailing List, FrameBuffer List, Linux console project
On 18 Jan 01 at 0:49, Andrew Morton wrote:
> Assumption:
> - Once the system is up and running, it's always safe to
> call down() when in_interrupt() returns false - probably
> not the case in parts of the exit path - tough.
>
> Anyway, that's the thoughtware. Sound sane?
Do not forget to handle printk() done by fbdev driver... It
may invoke printk() from user context, but with console_semaphore
already held... Something like reentrant_semaphore? Also, we
should declare which console/fbdev function can printk/can schedule
and which must not, as using interrupts & schedule could yield
CPU to other tasks when (hardware assisted) operation is performed.
Some of them (clear, bmove) can take loong time to finish.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-17 17:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-17 18:02 [linux-fbdev] Re: console spin_lock Petr Vandrovec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®