Re: Huge console switching lags

From: Andrew Morton (akpm@zip.com.au)
Date: Tue Oct 02 2001 - 13:22:33 EST


Ricky Beam wrote:
>
> On Tue, 2 Oct 2001, Andrew Morton wrote:
> >In 2.4.10, the console switching code moved from interrupt context
> >into process context. So if your system is taking a long time to
> >schedule processes (in this case, keventd) then yes, console
> >switching will take a long time.
>
> And what's the brilliant reason for this? And don't give any BS about it
> taking too long inside an interrupt context -- we're switching consoles not
> start netscrape.
>

It takes too long in interrupt context :) Tens of milliseconds
or more. More importantly, it sorts the locking out - you can't
acquire a semaphore in interrupt context.
-
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/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:23 EST