Please sign in to comment.
mm: frontswap: fix a wrong if condition in frontswap_shrink
pages_to_unuse is set to 0 to unuse all frontswap pages But that doesn't happen since a wrong condition in frontswap_shrink cancel it. -v2: Add comment to explain return value of __frontswap_shrink, as suggested by Dan Carpenter, thanks Signed-off-by: Zhenzhong Duan <firstname.lastname@example.org> Signed-off-by: Konrad Rzeszutek Wilk <email@example.com>
- Loading branch information...