My application has a user buffer, and I want to manage my buffer directly with Linux io_uring.
According to the io_uring documentation, it explains that the user buffer is registered to the kernel. Therefore, It feel like the pages in my user buffer are being managed by the kernel's page cache mechanism.
Q1. I am curious if my understanding is correct or if there is a way for me to directly manage the pages without being affected by the kernel's page cache mechanism.
Q2. When I read data via io_uring, does data copy between kernel page cache and user buffer happen?