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.)
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.)