Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: zsmalloc: remove unnecessary insertion/removal of zspage in…
… compaction (cherry-pick from commit 839373e645d12613308d9148041c4bd967bce8d5) In putback_zspage, we don't need to insert a zspage into list of zspage in size_class again to just fix fullness group. We could do directly without reinsertion so we could save some instuctions. Bug: 25951511 Change-Id: I07ad8bac6d2f5dc90ac0d492626e067a02699979 Reported-by: Heesub Shin <[email protected]> Signed-off-by: Minchan Kim <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Dan Streetman <[email protected]> Cc: Seth Jennings <[email protected]> Cc: Ganesh Mahendran <[email protected]> Cc: Luigi Semenzato <[email protected]> Cc: Gunho Lee <[email protected]> Cc: Juneho Choi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Francisco Franco <[email protected]>
- Loading branch information