aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
author[email protected] <[email protected]>2023-09-21 12:45:11 +0200
committerPeter Zijlstra <[email protected]>2023-09-21 19:22:07 +0200
commit43adf844951084c266f172561f84c5f8120dd60b (patch)
tree6a506adc83de717d2c4bcaa2b3fdded724bba24f /tools/perf/scripts/python/sched-migration.py
parent9f6c532f59b20580acf8ede9409c9b8dce6e74e1 (diff)
futex: FLAGS_STRICT
The current semantics for futex_wake() are a bit loose, specifically asking for 0 futexes to be woken actually gets you 1. Adding a !nr check to sys_futex_wake() makes that it would return 0 for unaligned futex words, because that check comes in the shared futex_wake() function. Adding the !nr check there, would affect the legacy sys_futex() semantics. Hence frob a flag :-( Suggested-by: AndrĂ© Almeida <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Thomas Gleixner <[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