Messages in this thread | | | Subject | Re: [RFD w/info-PATCH] device arguments from lookup, partion code | Date | Mon, 21 May 2001 22:56:35 +0100 (BST) | From | Alan Cox <> |
| |
> Sure. But we have to do two syscalls only if ioctl has both in- and out- > arguments that way. Moreover, we are talking about non-trivial in- arguments. > How many of these are in hotspots?
There is also a second question. How do you ensure the read is for the right data when you are sharing a file handle with another thread..
ioctl() has the nice property that an in/out ioctl is implicitly synchronized
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |