summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-06-02 11:10:08 +0200
committerPeter Zijlstra <peterz@infradead.org>2026-06-03 11:38:52 +0200
commit61cfc8e372d1971e0a96d3f1f8b5ee29916b3385 (patch)
treef3931559cf209df32b88d1f039cd5150aceba534 /rust/kernel/alloc
parent7010c39d8fc5063af69ee63f905e592e046f8e5d (diff)
x86/vdso: Prepare for robust futex unlock support
There will be a VDSO function to unlock non-contended robust futexes in user space. The unlock sequence is racy vs. clearing the list_pending_op pointer in the task's robust list head. To plug this race the kernel needs to know the critical section window so it can clear the pointer when the task is interrupted within that race window. The window is determined by labels in the inline assembly. Add these symbols to the vdso2c generator and use them in the VDSO VMA code to update the critical section addresses in mm_struct::futex on (re)map(). The symbols are not exported to user space, but available in the debug version of the vDSO. Signed-off-by: Thomas Gleixner <tglx@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: André Almeida <andrealmeid@igalia.com> Link: https://patch.msgid.link/20260602090535.828312645@kernel.org
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions