diff options
author | 2022-01-14 14:05:26 -0800 | |
---|---|---|
committer | 2022-01-15 16:30:26 +0200 | |
commit | 3795f46b83c66a2e4545460dec74c80b839faafe (patch) | |
tree | 76b8b02f02479498f1a65d372bd944cb623aa20e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode (diff) | |
download | wireguard-linux-3795f46b83c66a2e4545460dec74c80b839faafe.tar.xz wireguard-linux-3795f46b83c66a2e4545460dec74c80b839faafe.zip |
mm/frontswap.c: use non-atomic '__set_bit()' when possible
The 'a' and 'b' bitmaps are local to this function, so no concurrent
access can occur. So the non-atomic '__set_bit()' can be used to save a
few cycles.
Link: https://lkml.kernel.org/r/e52476da5cee57151745c5c3c934a69798dc6fa4.1638132190.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions