[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MM deadlock [was: Re: arca-vm-8...]



Hi,

On Sat, 30 Jan 1999 00:01:00 -0700 (MST), yodaiken@chelm.cs.nmt.edu
said:

>> The idea was to decide what region to hand out, _then_ to clear it.
>> Standard best-fit algorithms apply when carving up the region.

> If clearing involves remapping kernel address space, then its a rather
> complex process. 

No, that is the whole point behind restricting such allocations to a
zone containing only swappable objects.  There will be no
non-relocatable objects there, and we can simply swap out each page in
the selected contiguous zone.  

_If_ we expect to do this often then we will want to keep the relocated
pages in memory, but for solving the current problem --- driver
initialisation --- that is not so important and we can rely on the
existing page swap code to just get rid of the data which is in the way.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/