2be65aaed5181c512ac8d3723be3dd parent 4bb3e31ef408a5ce460da3555c9f59dfe39636ff author Sasha Levin 1339325461 +0200 committer Konrad Rzeszutek Wilk 1339443047 -0400 mm: frontswap: split out __frontswap_curr_pages Code was duplicated in two functions, clean it up. Also, assert that the deduplicated code runs under the swap spinlock. Reviewed-by: Minchan Kim Signed-off-by: Sasha Levin Signed-off-by: Konrad Rzeszutek Wilk ŒŽ½ìå ƒAxœ Ì» Â0