diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-06-02 11:10:08 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-06-03 11:38:52 +0200 |
| commit | 61cfc8e372d1971e0a96d3f1f8b5ee29916b3385 (patch) | |
| tree | f3931559cf209df32b88d1f039cd5150aceba534 /rust/kernel | |
| parent | 7010c39d8fc5063af69ee63f905e592e046f8e5d (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')
0 files changed, 0 insertions, 0 deletions
