Files
kernel_arpi/include/uapi/linux
Jens Axboe cccf0ee834 io_uring/io-wq: don't use static creds/mm assignments
We currently setup the io_wq with a static set of mm and creds. Even for
a single-use io-wq per io_uring, this is suboptimal as we have may have
multiple enters of the ring. For sharing the io-wq backend, it doesn't
work at all.

Switch to passing in the creds and mm when the work item is setup. This
means that async work is no longer deferred to the io_uring mm and creds,
it is done with the current mm and creds.

Flag this behavior with IORING_FEAT_CUR_PERSONALITY, so applications know
they can rely on the current personality (mm and creds) being the same
for direct issue and async issue.

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-01-28 17:44:20 -07:00
..
2019-01-28 08:13:52 +01:00
2019-03-07 18:32:01 -08:00
2019-09-19 14:22:44 +02:00
2019-10-09 22:31:14 -04:00
2019-09-25 17:51:39 -07:00
2019-08-02 14:44:02 +10:00
2019-09-16 10:18:01 -04:00
2019-06-14 15:00:51 +05:30
2020-01-18 09:19:18 -05:00
2019-03-27 13:30:07 -07:00
2019-08-12 19:33:50 -07:00
2019-09-08 15:37:04 +02:00
2019-08-19 13:04:45 -07:00
2019-05-28 21:37:30 -07:00
2020-01-18 09:19:18 -05:00
2019-11-28 08:54:36 -06:00
2019-10-02 20:32:27 -06:00
2019-01-22 10:21:45 +01:00
2019-07-30 20:34:34 +02:00
2019-11-13 12:15:34 -08:00
2019-09-18 20:17:50 +02:00
2019-08-01 21:49:46 +02:00