commit | 2c35169572b84897b43e6f3e9667fd1904451f34 | [log] [tgz] |
---|---|---|
author | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> | Fri Nov 06 16:29:32 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Nov 06 17:50:42 2015 -0800 |
tree | 4ceb59eb49c74afc757c6d0f7cc99e3e3ebb90e2 | |
parent | 759b26b29885a8ef6101aa554d9990803f6ef792 [diff] |
zsmalloc: don't test shrinker_enabled in zs_shrinker_count() We don't let user to disable shrinker in zsmalloc (once it's been enabled), so no need to check ->shrinker_enabled in zs_shrinker_count(), at the moment at least. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>