I'm sorry if I misunderstand your patches, but is this part needed
after
[PATCH -mm 07/16] second chance replacement for anonymous pages
is applied?
After the patch, if shrink_active_list() is called about
anon pages(that is, with file=0), those pages should go to inactive list,
so they should not be removed from swap cache, should they?
Thanks,
Daisuke Nishimura.
--