]> git.itanic.dy.fi Git - linux-stable/commit
futex: add wake_data to struct futex_q
authorJens Axboe <axboe@kernel.dk>
Tue, 13 Jun 2023 21:44:42 +0000 (15:44 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Sep 2023 08:37:01 +0000 (02:37 -0600)
commit8af1692616d993c93a080865a7f19506733aa462
tree10447dfd7099b239d121c70d3019238ba48c8d33
parent194bb58c6090e39bd7d9b9c888a079213628e1f6
futex: add wake_data to struct futex_q

With handling multiple futex_q for waitv, we cannot easily go from the
futex_q to data related to that request or queue. Add a wake_data
argument that belongs to the wake handler assigned.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/futex/futex.h