1 Dec 2004 08:16
Re: [PATCH] [Request for inclusion] Filesystem in Userspace
Jan Hudec <bulb <at> ucw.cz>
2004-12-01 07:16:27 GMT
2004-12-01 07:16:27 GMT
On Tue, Nov 30, 2004 at 22:13:27 +0100, Miklos Szeredi wrote: > > > you're describing the deadlock here: all memory is full, no process > > which allocates memory can make any progress. > > Yes they, can: the allocation will fail, function will return -ENOMEM, > malloc will return NULL, pagefault will fail with OOM. This is > progress, though not the best sort. It is most certainly _not_ a > deadlock. Allocation won't fail! There's overcommit! Pagefault won't OOM, because it will wait for the pages to get laundered. And the pages won't get laundered untill the pagefault suceeds. (Yes, I know that you are going to mark the pages as dirty again so the pagefault won't wait for them, but you have to mention it.) ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb <at> ucw.cz>
RSS Feed