From: Sergey Senozhatsky Date: Tue, 7 Apr 2015 23:44:49 +0000 (+1000) Subject: zsmalloc: remove synchronize_rcu from zs_compact() X-Git-Tag: KARO-TXA5-2015-06-26~18^2~202 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f4e0345ec3cc6ebb43be51867613f694ae57c9ff;p=karo-tx-linux.git zsmalloc: remove synchronize_rcu from zs_compact() Do not synchronize rcu in zs_compact(). Neither zsmalloc not zram use rcu. Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim Cc: Nitin Gupta Signed-off-by: Andrew Morton --- diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 7a48e5568d46..8705a010e2d3 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -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);