Re: [prepatches] removal of console_lock

2001-03-05 Thread Benjamin Herrenschmidt
>Cort Dougan wrote: >> >> I still get huge over-runs with fbdev (much improved, though). > >If you're referring to scheduling overruns then yes, you will >still see monstrous ones. We're still spending great lengths of >time in the kernel, only now we're doing it with interrupts >enabled. We ca

Re: [prepatches] removal of console_lock

2001-03-05 Thread Andrew Morton
Cort Dougan wrote: > > I still get huge over-runs with fbdev (much improved, though). If you're referring to scheduling overruns then yes, you will still see monstrous ones. We're still spending great lengths of time in the kernel, only now we're doing it with interrupts enabled. We can still

Re: [prepatches] removal of console_lock

2001-03-04 Thread Cort Dougan
I still get huge over-runs with fbdev (much improved, though). Andrew, are you still working on it? If so, I'm happy to keep you up-to-date on performance WRT Linux/PPC. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More m

Re: [prepatches] removal of console_lock

2001-03-04 Thread Andrew Morton
Manfred Spraul wrote: > > > - Major revamp of printk(). The approach taken in printk() is to try > > to acquire the (new) console_sem. If we succeed, the output is > > placed into the log buffer and is printed to the consoles. If we fail > > to acquire the semaphore we just buffer the outpu

Re: [prepatches] removal of console_lock

2001-03-04 Thread Manfred Spraul
> - Major revamp of printk(). The approach taken in printk() is to try > to acquire the (new) console_sem. If we succeed, the output is > placed into the log buffer and is printed to the consoles. If we fail > to acquire the semaphore we just buffer the output in the log buffer > and t

Re: [prepatches] removal of console_lock

2001-03-04 Thread Andrew Morton
Pierre Rousselet wrote: > > Andrew Morton wrote: > > > This patch fixes it. Interrupts are enabled across all console operations. > > > > It's still somewhat a work-in-progress. > > The patch applies OK against 2.4.3-pre1 > At the end of make bzImage I got > kerne/kernel.o(.text+0xcd00): undef

Re: [prepatches] removal of console_lock

2001-03-04 Thread Pierre Rousselet
Andrew Morton wrote: > This patch fixes it. Interrupts are enabled across all console operations. > > It's still somewhat a work-in-progress. The patch applies OK against 2.4.3-pre1 At the end of make bzImage I got kerne/kernel.o(.text+0xcd00): undefined reference to 'in_interrupt' PR -- ---

[prepatches] removal of console_lock

2001-03-03 Thread Andrew Morton
All console-related activity curently happens under spin_lock_irqsave(&console_lock). This causes interrutps to be blocked for 1-2 milliseconds with vgacon, and for hundreds of milliseconds with fbdevs. This results in network overruns, audio dropouts, dropped characters on serial ports and oth