Re: 2.2.16 deadlocking in schedule()

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Aug 30 2000 - 10:29:57 EST


On Wed, 30 Aug 2000, Alan Cox wrote:

>Please try 2.2.17pre20. THis has various vm and other fixes as well as an
>updated DAC960 driver

Note that the change to shrink_mmap to decrease the count in the while
clause, it's not fixing any deadlock.

To infinite loop the below conditions should be true:

o none page have page->count = 1

or

o all pages with page->count = 1 are locked

or

o all pages with page->count = 1 and unlocked doesn't
        belong to the dma zone and the allocations wants pages
        from the dma zone

The above can never happen because we have in the DMA zone the kernel code
(at address 1M) and all the pages of the kernel have page count = 1 and
they're all unlocked.

Andrea

-
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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:25 EST