Re: [fuse-devel] OSS Proxy Jack slave

From: Miklos Szeredi
Date: Thu Jun 10 2010 - 09:28:29 EST


On Thu, 10 Jun 2010, Tejun Heo wrote:
> Hello,
>
> Nope, it's not required for osspd but it's a rather strong
> limitation on the interface which would be pretty difficult to work
> around later. Page protection tricks would be very cumbersome and
> unscalable. Hmmm, it does remove the necessity for allocating
> kernel pages, right? Still, it seems like a big limitation. Are
> you sure this is a good idea?

I'm sure its a good idea to provide an interface that does't _require_
server side mmaps. This doesn't preclude an mmap interface later on,
but I'd rather start with a "pure" read/write device interface, which
is in a lot of ways simpler to solve than mmap.

As for pinning kernel pages, I still think it's a good idea for the
char device interface, but you're right, it's not necessary.

In fact I'm mostly ready with an implementation of store/retrieve that
just pokes the regular page cache.

Thanks,
Miklos
--
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/