Messages in this thread | | | Date | Wed, 27 Jan 1999 12:13:27 GMT | From | "Stephen C. Tweedie" <> | Subject | Re: MM deadlock [was: Re: arca-vm-8...] |
| |
Hi,
On Tue, 26 Jan 1999 02:57:41 +0100 (CET), Andrea Arcangeli <andrea@e-mind.com> said:
>> /* We can't free pages unless there's just one user */ >> if (atomic_read(&page->count) != 1) >> continue; >> + >> + count--;
> but this is plain bogus. When your machine will reach 0 freeable pages > (and that happens a bit before to kill the process because OOM) you'll get > an infinite loop in shrink_mmap().
No. We skip only shared pages. We still count page tables, vmalloced pages, task structs, kmalloc/slab pages, dma buffers and all those other kernel pages which do not belong to the VM.
--Stephen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |