lkml.org 
[lkml]   [2025]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] io_uring: remove WRITE_ONCE() in io_uring_create()
Date

On Thu, 04 Sep 2025 10:12:22 -0600, Caleb Sander Mateos wrote:
> There's no need to use WRITE_ONCE() to set ctx->submitter_task in
> io_uring_create() since no other task can access the io_ring_ctx until a
> file descriptor is associated with it. So use a normal assignment
> instead of WRITE_ONCE().
>
>

Applied, thanks!

[1/1] io_uring: remove WRITE_ONCE() in io_uring_create()
(no commit info)

Best regards,
--
Jens Axboe




\
 
 \ /
  Last update: 2025-09-05 13:16    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog