3 ms·
I think you are confusing the definitions of non-blocking IO and memory-mapped IO.
by jessedhillon 16y ago
I think you are confusing the definitions of non-blocking IO and memory-mapped IO.
- rdtsc 16y agoI am not talking about in-kernel hardware mechanisms like DMA and such. Or about memory mapping a file. It is about the system call interface to perform IO. Yeah, I guess you can call it memory-mapped but I don't think that is quite accurate in this context.
- tptacek 16y agoThe system call interface to perform I/O cannot be described as "memory mapped"; the read/write system calls are programmed I/O. The opposite of memory mapped. You're letting terminology get you into trouble. You should just let go of your definitions and make the broader point you're trying to make, which might still be salvageable.
- rdtsc 16y agoI agree, "memory mapped" is the wrong term. I was just letting the original poster who called it this way keep that as a concession or a mental model. That was my mistake as it just confuses everyone even more.