At the moment there is no way to reclaim the swap space if
the page is shared, and for non-shared pages we haven't
implemented a way to reclaim swap space.
While reclaiming swap space when you run out is pretty
trivial to do, Linus doesn't seem to like the idea all
that much and Disk Space Is Cheap(tm) so it's not very
high on my list of things to do.
> Does this mean that having a swap partition less than or equal
> to RAM is now effectively pointless?
If you're swapping heavily, yes. If most of your programs
fit in memory and you're hardly using swap, nothing changes.
regards,
Rik
-- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/