Messages in this thread | | | Date | Wed, 1 Sep 2004 11:02:25 -0700 | From | Chris Wright <> | Subject | Re: f_ops flag to speed up compatible ioctls in linux kernel |
| |
* Roland Dreier (roland@topspin.com) wrote: > - read/write on char device: > OK, except requires some mechanism (tag #) for matching requests > and responses. Nowhere clean to put 32/64 compatibility code.
You forgot a driver specific filesystem which exposes requests in a file per request type style. Also, there's a simple_transaction type of file which can allow you send/recv data and should eliminate the need for tagging. Example, look at nfsd fs (fs/nfsd/nfsctl.c).
thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - 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/
| |