mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
The registered robust-list head has static storage but points at three automatic lock nodes. GCC warns about storing the address of a local variable in the static head when building the selftest with -Wall. Give the nodes static storage as well. This keeps every object in the circular list alive through child exit without changing the list topology. Signed-off-by: Miles Krause <mileskrause5200@gmail.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: André Almeida <andrealmeid@igalia.com> Link: https://patch.msgid.link/20260711-futex-robust-list-static-nodes-v1-1-723754d75cf5@gmail.com |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| futex_lock_pi_exiting.c | ||
| futex_numa_mpol.c | ||
| futex_numa.c | ||
| futex_priv_hash.c | ||
| futex_requeue_pi_mismatched_ops.c | ||
| futex_requeue_pi_signal_restart.c | ||
| futex_requeue_pi.c | ||
| futex_requeue.c | ||
| futex_wait_private_mapped_file.c | ||
| futex_wait_timeout.c | ||
| futex_wait_uninitialized_heap.c | ||
| futex_wait_wouldblock.c | ||
| futex_wait.c | ||
| futex_waitv.c | ||
| Makefile | ||
| robust_list.c | ||
| run.sh | ||