[lkml]   [2004]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: f_ops flag to speed up compatible ioctls in linux kernel
On Wed, Sep 01, 2004 at 11:12:46AM -0700, Roland Dreier wrote:
> Chris> You forgot a driver specific filesystem which exposes
> Chris> requests in a file per request type style. Also, there's a
> Chris> simple_transaction type of file which can allow you
> Chris> send/recv data and should eliminate the need for tagging.
> Chris> Example, look at nfsd fs (fs/nfsd/nfsctl.c).
> Thanks, I'll take a look at this. How does one handle the 32-bit
> userspace / 64-bit kernel compat layer in this setup?

The sane approach is to have your structure platform-independent and have
no compat code at all. Which is what we do with on-disk and over-the-wire
structures anyway. And before Albert starts usual wanksession, no, ASCII
is not the only way to do that...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.068 / U:1.628 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site