diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2015-04-16 01:16:12 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-16 01:35:21 +0200 |
commit | 1ec7cfb13acb8047ae5baafb43d2cd6b64ac85b9 (patch) | |
tree | 80438e65dce7dc05596d14338c1d58857d98bf9e /mm/zsmalloc.c | |
parent | zram: deprecate zram attrs sysfs nodes (diff) | |
download | linux-1ec7cfb13acb8047ae5baafb43d2cd6b64ac85b9.tar.xz linux-1ec7cfb13acb8047ae5baafb43d2cd6b64ac85b9.zip |
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 <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/zsmalloc.c')
-rw-r--r-- | mm/zsmalloc.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |