2021-02-09 15:45:00

by Richard Weinberger

[permalink] [raw]
Subject: Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3

> a bit OT probably: is there any chance for you to also implement mmap()
> for CUSE? That would be much appreciated.

What exactly do you have in mind? I wonder about the use case.
mmap() between a FUSE server and a client is more or less shared memory in userspace.

Thanks,
//richard


2021-02-10 07:24:32

by Luca Risolia

[permalink] [raw]
Subject: Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3


On 09/02/21 16:41, Richard Weinberger wrote:
> I wonder about the use case.

for example, many existing video applications use mmap() to map the
device memory to userspace memory. Adding support for mmap() to CUSE
would allow these apps to work without any modifications with CUSE-based
device drivers other than kernel drivers.