commit | 69217b4cd044671b6dddcd9d33c8e4fdfd295ae3 | [log] [tgz] |
---|---|---|
author | Sasha Levin <levinsasha928@gmail.com> | Sun Jun 10 12:51:03 2012 +0200 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Jun 11 15:31:33 2012 -0400 |
tree | d13dab9972d7541cca1b2fd81efcb332e3d4900d | |
parent | f116695a500cdd84cbeac68bc373e98ae729c24b [diff] |
mm: frontswap: split frontswap_shrink further to simplify locking Split frontswap_shrink to simplify the locking in the original code. Also, assert that the function that was split still runs under the swap spinlock. Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>