Matthew Dillon has added /dev/upmap and /dev/kpmap to DragonFly in two commits. (er, three.) It’s an optimization of some sort, and it is unfortunately over my head. Please, someone comment in a way that fills it in. I’m tired.
One Reply to “/dev/upmap and /dev/kpmap added”
Comments are closed.
As far as I understand, this optimizes repetition of system calls like getpid(), clock_gettime() and setproctitle().
Since all the data is mmaped for the process, all it takes is just a simple memory read to access data – which is obviously much faster than the usual syscall interface.