On Tue 19-12-17 13:49:12, Aliaksei Karaliou wrote: [...] > @@ -2428,8 +2422,8 @@ struct zs_pool *zs_create_pool(const char *name) > * Not critical, we still can use the pool > * and user can trigger compaction manually. > */ > - if (zs_register_shrinker(pool) == 0) > - pool->shrinker_enabled = true; > + (void) zs_register_shrinker(pool); > + > return pool; So what will happen if the pool is alive and used without any shrinker? How do objects get freed? -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>