Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, in case of WireGuard if used as user space app, you would need to copy every invalid (by WG definition) packet from kernel space to user space to discard it instead of dropping it in kernel space. You would need to copy a lot of packets, that do not need to be copied to user space, instead of just processing them in kernel space.


Copying of recent data is cheap. It's already in cache. Fear of copying in microkernels comes mostly from Mach, which was decades ago.


You need to make context switches which are not cheap.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: