Re: 2.6.9-rc2-mm4 ps hang ?

From: Andrew Morton
Date: Fri Oct 01 2004 - 17:01:20 EST


Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
>
> > Can you work out who is holding mmap_sem for writing?
> >
>
> grr.. okay. It hangs randomly. Don't we have code to record the holder
> of a sem somewhere ?

The full sysrq-T trace should tell us. All I saw from your initial email
was two processes stuck in down_read(). That shouldn't happen, so either
there was another process in down_write() somewhere or we mucked up the
semaphore (it is corrupted, or someone forget up_write()).
-
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/