Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-25 Thread Jens Axboe
On Thu, Aug 25 2005, Ingo Molnar wrote: > > * Jens Axboe <[EMAIL PROTECTED]> wrote: > > > There can quite easily be lots of pending IO for the io_context (and, > > in CFQ's case, below cfq_io_contexts), task exiting is completely > > decoupled from any pending io. > > yes, but that only affect

Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-25 Thread Ingo Molnar
* Jens Axboe <[EMAIL PROTECTED]> wrote: > There can quite easily be lots of pending IO for the io_context (and, > in CFQ's case, below cfq_io_contexts), task exiting is completely > decoupled from any pending io. yes, but that only affects the io_context reference count. Actual new use of tsk

Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-25 Thread Ingo Molnar
* Esben Nielsen <[EMAIL PROTECTED]> wrote: > Yes, spin_lock(lock) is blocking since lock is mutex, not a spinlock > under preempt-rt. But isn't it easy to fix? Replace the two lines by > spin_lock_irqsave(flags). That would work for both preempt-rt and > !preempt-rt. at this moment we do not

Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-24 Thread Jens Axboe
On Thu, Aug 25 2005, Ingo Molnar wrote: > > * Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > BUG: scheduling with irqs disabled: libc6.postinst/0x2000/13229 > > > caller is ___down_mutex+0xe9/0x1a0 > > > [] schedule+0x59/0xf0 (8) > > > [] ___down_mutex+0xe9/0x1a0 (28) > > > [] cfq_exit_sing

Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-24 Thread Jens Axboe
On Wed, Aug 24 2005, Esben Nielsen wrote: > On Wed, 24 Aug 2005, Jens Axboe wrote: > > > On Wed, Aug 24 2005, Lee Revell wrote: > > > Just found this in dmesg. > > > > > > BUG: scheduling with irqs disabled: libc6.postinst/0x2000/13229 > > > caller is ___down_mutex+0xe9/0x1a0 > > > [] schedu

Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-24 Thread Ingo Molnar
* Jens Axboe <[EMAIL PROTECTED]> wrote: > > BUG: scheduling with irqs disabled: libc6.postinst/0x2000/13229 > > caller is ___down_mutex+0xe9/0x1a0 > > [] schedule+0x59/0xf0 (8) > > [] ___down_mutex+0xe9/0x1a0 (28) > > [] cfq_exit_single_io_context+0x22/0xa0 (84) > > [] cfq_exit_io_context

Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-24 Thread Esben Nielsen
On Wed, 24 Aug 2005, Jens Axboe wrote: > On Wed, Aug 24 2005, Lee Revell wrote: > > Just found this in dmesg. > > > > BUG: scheduling with irqs disabled: libc6.postinst/0x2000/13229 > > caller is ___down_mutex+0xe9/0x1a0 > > [] schedule+0x59/0xf0 (8) > > [] ___down_mutex+0xe9/0x1a0 (28) > >

Re: CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-24 Thread Jens Axboe
On Wed, Aug 24 2005, Lee Revell wrote: > Just found this in dmesg. > > BUG: scheduling with irqs disabled: libc6.postinst/0x2000/13229 > caller is ___down_mutex+0xe9/0x1a0 > [] schedule+0x59/0xf0 (8) > [] ___down_mutex+0xe9/0x1a0 (28) > [] cfq_exit_single_io_context+0x22/0xa0 (84) > [] cfq

CFQ + 2.6.13-rc4-RT-V0.7.52-02 = BUG: scheduling with irqs disabled

2005-08-24 Thread Lee Revell
Just found this in dmesg. BUG: scheduling with irqs disabled: libc6.postinst/0x2000/13229 caller is ___down_mutex+0xe9/0x1a0 [] schedule+0x59/0xf0 (8) [] ___down_mutex+0xe9/0x1a0 (28) [] cfq_exit_single_io_context+0x22/0xa0 (84) [] cfq_exit_io_context+0x3a/0x50 (16) [] exit_io_context+0x6