mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
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>
This commit is contained in:
parent
8f7d282c71
commit
1ec7cfb13a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user