Skip to content
Commit 5fe0fc9f authored by Peng Hao's avatar Peng Hao Committed by Miklos Szeredi
Browse files

fuse: use kmap_local_page()

Due to the introduction of kmap_local_*, the storage of slots used for
short-term mapping has changed from per-CPU to per-thread.  kmap_atomic()
disable preemption, while kmap_local_*() only disable migration.

There is no need to disable preemption in several kamp_atomic places used
in fuse.

Link: https://lwn.net/Articles/836144/


Signed-off-by: default avatarPeng Hao <flyingpeng@tencent.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent bda9a719
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment