(2012/07/12 2:02), Johannes Weiner wrote:
> Not all uncharge paths need to check if the page is swapcache, some of
> them can know for sure.
>
> Push down the check into all callsites of uncharge_common() so that
> the patch that removes some of them is more obvious.
>
> Signed-off-by: Johannes
(2012/07/12 2:02), Johannes Weiner wrote:
Not all uncharge paths need to check if the page is swapcache, some of
them can know for sure.
Push down the check into all callsites of uncharge_common() so that
the patch that removes some of them is more obvious.
Signed-off-by: Johannes Weiner
Not all uncharge paths need to check if the page is swapcache, some of
them can know for sure.
Push down the check into all callsites of uncharge_common() so that
the patch that removes some of them is more obvious.
Signed-off-by: Johannes Weiner
Acked-by: Michal Hocko
---
mm/memcontrol.c |
Not all uncharge paths need to check if the page is swapcache, some of
them can know for sure.
Push down the check into all callsites of uncharge_common() so that
the patch that removes some of them is more obvious.
Signed-off-by: Johannes Weiner han...@cmpxchg.org
Acked-by: Michal Hocko
4 matches
Mail list logo