Re: [patch 02/19] free swap space on swap-in/activation

From: Christoph Lameter
Date: Tue Jan 08 2008 - 17:10:30 EST


On Tue, 8 Jan 2008, Rik van Riel wrote:

> Free swap cache entries when swapping in pages if vm_swap_full()
> [swap space > 1/2 used?]. Uses new pagevec to reduce pressure
> on locks.

The pagevec function would be faster if the swap removal could be batched
inside of the locks taken in remove_exclusive_swap_page.

Reviewed-by: Christoph Lameter <clameter@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/