On Mon, 21 May 2001, Alan Cox wrote: > > > I don't need to read it. Don't be insulting. Sure, you *can* use a > > > write(2)/read(2) cycle. But that's two syscalls compared to one with > > > ioctl(2) or transaction(2). That can matter to some applications. > > > > I just don't think so. Where did you see performance-critical use of > > ioctl()? > > AGP, video4linux,... Which, BTW, is a wonderful reason for having multiple channels. Instead of write(fd, "critical_command", 8); read(fd,....); you read from the right fd. Opened before you enter the hotspot. Less overhead than ioctl() would have... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFD w/info-PATCH] device arguments from lookup, partio... Richard Gooch
- Re: [RFD w/info-PATCH] device arguments from lookup, p... Richard Gooch
- Re: [RFD w/info-PATCH] device arguments from looku... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments from looku... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from l... Richard Gooch
- Re: [RFD w/info-PATCH] device arguments fr... Pavel Machek
- Re: [RFD w/info-PATCH] device arguments fr... Alan Cox
- Re: [RFD w/info-PATCH] device arguments fr... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments fr... Alan Cox
- Re: [RFD w/info-PATCH] device arguments fr... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments fr... Linus Torvalds
- Re: [RFD w/info-PATCH] device arguments fr... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments fr... Alan Cox
- Re: [RFD w/info-PATCH] device arguments fr... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments fr... Alan Cox
- Re: [RFD w/info-PATCH] device arguments fr... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments fr... Alan Cox
- Re: [RFD w/info-PATCH] device arguments from lookup, p... Alexander Viro