diff options
author | [email protected] <[email protected]> | 2023-09-21 12:45:15 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-09-21 19:22:10 +0200 |
commit | 0f4b5f972216782a4acb1ae00dcb55173847c2ff (patch) | |
tree | 710b4dc70ea653c5fc01f9882a96a6dbc3e61778 /tools/perf/scripts/python/sched-migration.py | |
parent | 27b88f3519e72d71c8cead6b835a26c171109c9b (diff) |
futex: Add sys_futex_requeue()
Finish off the 'simple' futex2 syscall group by adding
sys_futex_requeue(). Unlike sys_futex_{wait,wake}() its arguments are
too numerous to fit into a regular syscall. As such, use struct
futex_waitv to pass the 'source' and 'destination' futexes to the
syscall.
This syscall implements what was previously known as FUTEX_CMP_REQUEUE
and uses {val, uaddr, flags} for source and {uaddr, flags} for
destination.
This design explicitly allows requeueing between different types of
futex by having a different flags word per uaddr.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions