[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: fork: out of memory
From:       alan () lxorguk ! ukuu ! org ! uk (Alan Cox)
Date:       1997-11-29 11:39:02
[Download RAW message or body]

> __get_free_pages would fail the improved version probably doesn't fail
> but is only a bit slower than a normal __get_free_pages call. There won't
> be any user-visible changes except this.
> 
> What do the kernel gurus think about this proposal? Have I overlooked
> something?

Two things.

Firstly there is no real way to say 

	swap_out(physical_address);

and work back to the virtual addresses and remap the pages.

Secondly even if you do so there is no way to be sure the next page
to the one you picked isnt locked in memory right now

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic