Re: [PATCH 5/7] FUSE: implement ioctl support

From: Tejun Heo
Date: Thu Aug 28 2008 - 14:27:09 EST


Greg KH wrote:
> No, I'm not worried about the performance, just that this should be
> simple as we can just pass "arg" to userspace without touching it as it
> just came from userspace, right?

For simple ones, that's how it's gonna be handled. Those copying in and
out kicks in when the @arg is pointer or worse data structure which can
contain pointers.

> Oh wait, there are process space issues at play here that I'm totally
> forgetting about, right?

:-)

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/