Re: 2.4 and 2GB swap partition limit

Roger Larsson
2001-05-02T01:18:29Z

On Wednesday 02 May 2001 02:43, Rik van Riel wrote:
> On Tue, 1 May 2001, David S. Miller wrote:
> > Rik van Riel writes:
> > > Then we will be scanning through memory looking for something to
> > > swap out (otherwise we'd not be in need of swap space, right?).
> > > At this point we can simply free up swap entries while scanning
> > > through memory looking for stuff to swap out.
> >
> > Sounds a lot like my patch I posted a few weeks ago:
>
> Not really. Your patch only reclaims swap cache pages that
> hang around after a process exit()s. What I want to do is
> reclaim swap space of pages which have been swapped in so
> we can use that swap space to swap something else out.
>

We could reclaim swap space for dirty pages. They have to be
rewritten anyway...

Or would the fragmentation risk be too high?

/RogerL

--
Roger Larsson
Skellefteå
Sweden