diff options
| author | Aliaksei Karaliou <[email protected]> | 2018-01-31 16:18:40 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-01-31 17:18:38 -0800 |
| commit | 93144ca35041b05a4b23528d3bdf0d6414f43002 (patch) | |
| tree | 7dc8277b7962f0112101300e9c665c454f9be9c5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f340ff820345b179b697f66ec6743c70416bf93f (diff) | |
mm/zsmalloc: simplify shrinker init/destroy
Structure zs_pool has special flag to indicate success of shrinker
initialization. unregister_shrinker() has improved and can detect by
itself whether actual deinitialization should be performed or not, so
extra flag becomes redundant.
[[email protected]: update comment (Aliaksei), remove unneeded cast]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Aliaksei Karaliou <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions