Re: 2.6.9-rc2-mm4 ps hang ?

From: Badari Pulavarty
Date: Fri Oct 01 2004 - 19:37:48 EST


On Fri, 2004-10-01 at 16:49, Andrew Morton wrote:
> Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
> >
> > Here is the full sysrq-t output.
>
> What's this guy up to?
>
> db2fmcd D 0000000000000000 0 11032 1 1373 11031 (NOTLB)
> 00000101b9b9bef8 0000000000000002 0000003700000037 00000101c13608a0
> 000000010000009f 0000010199649250 0000010199649588 0000000000000000
> 0000000000000206 ffffffff801353db
> Call Trace:<ffffffff801353db>{try_to_wake_up+971} <ffffffff80445570>{__down_write+128}
> <ffffffff80125e7f>{sys32_mmap+143} <ffffffff80124b01>{ia32_sysret+0}
>
>
> Something is seriously screwed up if it's stuck in try_to_wake_up(). Tried
> generating a few extra traces?
>
> Then again, maybe we're missing an up_read() somewhere. hrm, I'll check.
>
Doesn't make any sense..

According to my objdump

try_to_wake_up+971 ==> task_rq_unlock()

kernel/sched.c:580
265f: 48 8b 75 d0 mov
0xffffffffffffffd0(%rbp),%rsi
2663: 4c 89 ff mov %r15,%rdi
2666: e8 00 00 00 00 callq 266b
<try_to_wake_up+0x3cb>


578 static inline void task_rq_unlock(spinlock_t *rql, unsigned long
*flags)
579 {
580 spin_unlock_irqrestore(rql, *flags);
581 }

Why would I be stuck in spin_unlock() ?

Thanks,
Badari


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