commit | ad9d5e175a77a253f52a7259a7c918b8351d99f1 | [log] [tgz] |
---|---|---|
author | Minchan Kim <minchan.kim@lge.com> | Tue Sep 08 15:04:47 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Sep 08 15:35:28 2015 -0700 |
tree | a09a440e04adb26ea738fabf369ec71b3590e49f | |
parent | 58f171174625150f3aaad0cddd3e365270b8e1b8 [diff] |
zsmalloc: consider ZS_ALMOST_FULL as migrate source There is no reason to prevent select ZS_ALMOST_FULL as migration source if we cannot find source from ZS_ALMOST_EMPTY. With this patch, zs_can_compact will return more exact result. Signed-off-by: Minchan Kim <minchan.kim@lge.com> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>