Re: [testcase] madvise->semaphore deadlock 2.4.0

Mike Galbraith (mikeg@wen-online.de)
Tue, 9 Jan 2001 14:29:03 +0100 (CET)


On Tue, 9 Jan 2001, Andrew Morton wrote:

> Mike Galbraith wrote:
> >
> > Greetings,
> >
> > While trying to configure ftpsearch, the process hangs while running
> > it's madvise confidence test below. It appears to be taking a fault
> > in madvise_fixup_middle():atomic_add(2, &vma->vm_file->f_count) and
> > immediately deadlocking forever on mm->mmap_sem per IKD. (Virgin 2.4.0
> > agrees)
> >
>
> This should fix it.

Indeed it does. (benchmark _that_ OS rags;)

-Mike

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