git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15773b6
)
mm: frontswap: fix a wrong if condition in frontswap_shrink
author
Zhenzhong Duan
<zhenzhong.duan@oracle.com>
Fri, 21 Sep 2012 08:40:30 +0000
(16:40 +0800)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Fri, 21 Sep 2012 14:37:45 +0000
(10:37 -0400)
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 <zhenzhong.duan@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
No differences found