Messages in this thread | | | Date | Tue, 22 May 2001 02:22:34 +0200 | From | Ingo Oeser <> | Subject | Re: [RFD w/info-PATCH] device arguments from lookup, partion code |
| |
On Mon, May 21, 2001 at 05:51:08PM -0400, Alexander Viro wrote: > 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?
ioctl has actually 4 semantics:
command only command + read command + write command + rw-transaction
Separating these would be a first step. And yes, I consider each of them useful.
command only: reset drive command + rw-transaction: "dear device please mangle this data" (crypto processors come to mind...)
The other two are obviously needed and already accepted by all of you.
Hotspots: crypto hardware or generally DSPs.
Regards
Ingo Oeser -- To the systems programmer, users and applications serve only to provide a test load. - 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/
| |