mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-30 15:41:27 +00:00
UPSTREAM: zsmalloc: remove synchronize_rcu from zs_compact()
(cherry-pick from commit 1ec7cfb13acb8047ae5baafb43d2cd6b64ac85b9) Do not synchronize rcu in zs_compact(). Neither zsmalloc not zram use rcu. Bug: 25951511 Change-Id: I2f2d1a81dac561ddfabb861bedcbb1ba773f207f 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>
This commit is contained in:
parent
132ab777a6
commit
789c6c2c93
@ -1779,8 +1779,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);
|
||||
|
Loading…
Reference in New Issue
Block a user