News for hackers. Stuff that matters.
Re:Io_uring and Networking in 2023 [pdf] by wyldfire on Friday February 17, 2023 @08:52AM (#34834631)
The letter u in contexts like these is usually used to represent the greek letter mu -- μ -- and like the SI units prefix indicates "micro". It might not be the case for io_uring, but that's what I'd assumed.
Re:Io_uring and Networking in 2023 [pdf] by WJW on Friday February 17, 2023 @08:58AM (#34834687)
The "u" in "uring" has nothing to do with its size but rather with it being a "userspace ring". The ring buffers used by this particular API reside in userspace rather than in kernel memory.
Re:Io_uring and Networking in 2023 [pdf] by loeg on Friday February 17, 2023 @11:09AM (#34836373)
> The ring buffers used by this particular API reside in userspace rather than in kernel memory.

More specifically, the physical pages backing these ring buffers are pinned and mapped into both address spaces. (The kernel needs to be able to read submissions (sqes) off of it and write completions (cqes) into it, and could not do that if it were only mapped in userspace, or could be paged out.)

Re:Io_uring and Networking in 2023 [pdf] by axboe on Friday February 17, 2023 @04:28PM (#34840800)
This is correct, the "u" is for userspace/usermapped. The memory is actually allocate by the kernel, but it's mapped into the applications address space.
Re:Io_uring and Networking in 2023 [pdf] by taskforcegemini on Friday February 17, 2023 @05:06PM (#34841251)
that's what I thought as well. and something in relation to "micro kernel"