summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2015-04-15 16:16:12 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-15 16:35:21 -0700
commit1ec7cfb13acb8047ae5baafb43d2cd6b64ac85b9 (patch)
tree80438e65dce7dc05596d14338c1d58857d98bf9e /mm
parent8f7d282c717acaae25245c61b6b60e8995ec4ef4 (diff)
downloadlwn-1ec7cfb13acb8047ae5baafb43d2cd6b64ac85b9.tar.gz
lwn-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')
-rw-r--r--mm/zsmalloc.c2
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);