aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndrĂ© Almeida <[email protected]>2021-05-31 16:50:35 +0000
committerThomas Gleixner <[email protected]>2021-06-22 09:20:15 +0000
commitc3d128581f64a9b3729e697a63760ff0a2c4a8fe (patch)
tree6fde0234a37794729f01a4b2741eda8b4ff902c7 /tools/perf/scripts/python/mem-phys-addr.py
parentseqlock: Remove trailing semicolon in macros (diff)
downloadkernel-c3d128581f64a9b3729e697a63760ff0a2c4a8fe.tar.gz
kernel-c3d128581f64a9b3729e697a63760ff0a2c4a8fe.zip
selftests: futex: Add futex wait test
There are three different strategies to uniquely identify a futex in the kernel: - Private futexes: uses the pointer to mm_struct and the page address - Shared futexes: checks if the page containing the address is a PageAnon: - If it is, uses the same data as a private futexes - If it isn't, uses an inode sequence number from struct inode and the page's index Create a selftest to check those three paths and basic wait/wake mechanism. Signed-off-by: AndrĂ© Almeida <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Davidlohr Bueso <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions