Messages in this thread | | | From | Roger Larsson <> | Subject | Re: 2.4 and 2GB swap partition limit | Date | Wed, 2 May 2001 03:14:33 +0200 |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |