Re: highmem deadlock fix [was Re: VM in 2.4.10(+tweaks) vs. 2.4.9-ac14/15(+stuff)]

From: Robert Macaulay (robert_macaulay@dell.com)
Date: Thu Sep 27 2001 - 21:12:25 EST


On Thu, 27 Sep 2001, Andrea Arcangeli wrote:

>
> Moving clear_bit just above submit_bh will fix it (please Robert make
> this change before testing it), because if we block in submit_bh in the
> bounce, then we won't deadlock on ourself because of the pagehighmem
> check, and all previous non-pending bh are ok too, (only the next are
> problematic, and they're still marked pending_IO so we can't deadlock on
> them).
>
It worked. The box did not freeze.

We can try Linus' patch as well if needed. I had actually applied
it and rebooted before the warning, and as predicted, it froze very
early in the boot process.

Thanks Andrea. I'll see if we can repeat the 0-page alloc again.
Robert

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



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:59 EST