提交 1ec7cfb1 编写于 作者: S Sergey Senozhatsky 提交者: Linus Torvalds

zsmalloc: remove synchronize_rcu from zs_compact()

Do not synchronize rcu in zs_compact(). Neither zsmalloc not
zram use rcu.
Signed-off-by: NSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: NMinchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 8f7d282c
......@@ -1778,8 +1778,6 @@ unsigned long zs_compact(struct zs_pool *pool)
nr_migrated += __zs_compact(pool, class);
}
synchronize_rcu();
return nr_migrated;
}
EXPORT_SYMBOL_GPL(zs_compact);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册