diff options
author | Minchan Kim <minchan@kernel.org> | 2015-04-15 16:16:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 16:35:22 -0700 |
commit | 839373e645d12613308d9148041c4bd967bce8d5 (patch) | |
tree | 79a29675e15f8eb8bd4fcca5f035a96b2154e049 /lib/lcm.c | |
parent | 495819ead5ad02174208994ca610852a7791a2f2 (diff) | |
download | linux-839373e645d12613308d9148041c4bd967bce8d5.tar.gz linux-839373e645d12613308d9148041c4bd967bce8d5.tar.bz2 linux-839373e645d12613308d9148041c4bd967bce8d5.zip |
zsmalloc: remove unnecessary insertion/removal of zspage in compaction
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.
Reported-by: Heesub Shin <heesub.shin@samsung.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Seth Jennings <sjennings@variantweb.net>
Cc: Ganesh Mahendran <opensource.ganesh@gmail.com>
Cc: Luigi Semenzato <semenzato@google.com>
Cc: Gunho Lee <gunho.lee@lge.com>
Cc: Juneho Choi <juno.choi@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions