Magic groups in 2.6
Posted May 13, 2004 17:33 UTC (Thu) by
elanthis (subscriber, #6227)
In reply to:
Magic groups in 2.6 by rjw
Parent article:
Magic groups in 2.6
In order to open a file descriptor, you have to access the device node. This results already in a system call just to do this. You have to locate and read each component of the device path. So if you have even just a basic /dev/syscall file descriptor, that's three accesses including lookup (including querying the hard-disk if it's not in a file cache) for /, then /dev, and then finally /dev/syscall. So that's several syscalls, possible hard-drive access, and several access checks just to invoke a single other syscall.
Yuck.
(
Log in to post comments)