aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2019-11-08 17:08:57 +0100
committerIngo Molnar <[email protected]>2019-11-11 09:03:31 +0100
commitfeb4a51323babe13315c3b783ea7f1cf25368918 (patch)
tree5ff36d9d23ddfc23be5bee4caf1c7cb6b8242024 /kernel/bpf/stackmap.c
parent25269871db1ad0cbbaafd5098cbdb40c8db4ccb9 (diff)
irq_work: Slightly simplify IRQ_WORK_PENDING clearing
Instead of fetching the value of flags and perform an xchg() to clear a bit, just use atomic_fetch_andnot() that is more suitable to do that job in one operation while keeping the full ordering. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Paul E . McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions