News for hackers. Stuff that matters.
Re:Async hazard: MMAP is blocking IO by gpderetta on Sunday August 25, 2024 @03:30PM (#41350493)
Normal syscalls also "leverage hardware support for trapping into the kernel". Mmap is usually used because it is a simple way to do 0-copy disk I/O.
Re:Async hazard: MMAP is blocking IO by a-dub on Tuesday August 27, 2024 @10:27AM (#41367925)
i can't think of any other syscall that makes use of tlb caches and page fault machinery to enter the kernel as needed in response to ordinary user space memory access.