linux/tools/testing
André Almeida c3d128581f 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 <andrealmeid@collabora.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Link: https://lore.kernel.org/r/20210531165036.41468-2-andrealmeid@collabora.com
2021-06-22 11:20:15 +02:00
..
fault-injection
ktest ktest: Re-arrange the code blocks for better discoverability 2021-05-03 18:57:03 -04:00
kunit linux-kselftest-kunit-5.13-rc1 2021-04-27 18:56:29 -07:00
nvdimm ndtest: Add papr health related flags 2021-01-28 00:22:49 -08:00
radix-tree idr test suite: Improve reporting from idr_find_test_1 2021-04-01 07:50:42 -04:00
scatterlist tools/testing/scatterlist: Fix overflow of max segment size 2021-01-28 15:17:39 -04:00
selftests selftests: futex: Add futex wait test 2021-06-22 11:20:15 +02:00
vsock