Re: Idea: Feature information / extensions dispatcher syscall.

From: Alan Cox
Date: Wed Apr 22 2009 - 11:32:44 EST


> Yes, you need a file handle. To open device each time you need to make ioctl
> is expensive and keeping device opened may prevent unmounting /proc
> that could be a problem in some installations if that application is used
> at a boot time.

- Nobody in the real world unmounts /proc.
- You don't need to use /proc anyway
- You don't need to open the device each ioctl
- Even if you did open is extremely quick

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/