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

Stephen C. Tweedie
1999-02-01T19:37:58Z

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/