Messages in this thread Patch in this message | | | From | Sergey Senozhatsky <> | Subject | [PATCH 1/2] zsmalloc: remove synchronize_rcu from zs_compact() | Date | Mon, 23 Mar 2015 22:26:38 +0900 |
| |
Do not synchronize rcu in zs_compact(). Neither zsmalloc not zram use rcu.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> --- mm/zsmalloc.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index cf4f074..d1bbb04 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -1776,8 +1776,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); -- 2.3.3.262.ge80e85a
| |