lkml.org 
[lkml]   [2010]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [fuse-devel] [PATCH] FUSE/CUSE: implement direct mmap support
From
Date
On Wed, 10 Feb 2010, Tejun Heo wrote:
> > When does that happen? Can it happen that two mappings of the same
> > file descriptor will have different backing pages?
>
> Yeah, sure. FUSE server is free to give them separate regions. The
> only restriction is the SHMLBA alignment which is pretty easy to
> adhere to.

What I really meant was: does it ever happen that mapping a *single
open file* of a chardev twice will result in two different maps?
Or will the maps be only different if it was a different open of the
device?

If there's a pattern there, we might make the sharing/non-sharing
automated, and greatly simplify the interface.

Thanks,
Miklos


\
 
 \ /
  Last update: 2010-02-10 16:05    [W:0.056 / U:2.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site