From: Rik van Riel Date: Sun, 19 Oct 2008 03:26:23 +0000 (-0700) Subject: vmscan: free swap space on swap-in/activation X-Git-Tag: v2.6.28-rc1~245 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a22394c286a2daf06ee8d65d8835f738faefa5;p=pandora-kernel.git vmscan: free swap space on swap-in/activation If vm_swap_full() (swap space more than 50% full), the system will free swap space at swapin time. With this patch, the system will also free the swap space in the pageout code, when we decide that the page is not a candidate for swapout (and just wasting swap space). Signed-off-by: Rik van Riel Signed-off-by: Lee Schermerhorn Signed-off-by: MinChan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed