Re: 2.6.9-rc2-mm4 ps hang ?

From: Badari Pulavarty
Date: Fri Oct 01 2004 - 16:43:26 EST


On Fri, 2004-10-01 at 12:09, Andrew Morton wrote:
> Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
> >
> > I randomly see "ps" hangs on my AMD64 system running 2.6.9-rc2-mm4.
> > I don't remember seeing this on earlier kernels. Is this something
> > known/fixed ?
>
> hm. I can see that access_process_vm() is doing lock_page() inside
> mmap_sem, which is a ranking bug, but it's not that.
>
> And I see a distinct lack of flush_foo_page() calls after the by-hand
> modification of the user page. But it's not that either.
>
> 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 ?

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/