lkml.org 
[lkml]   [2010]   [Feb]   [11]   [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 Thu, 11 Feb 2010, Tejun Heo wrote:
> It's not like it's something completely foreign. It's a limitation
> which can also be found in shared memory and the server side mmap
> doesn't really have much to do with it. It's also necessary to avoid
> aliasing issues among clients.

What aliasing issues among clients? That's a job for the arch
dependent part of mmap. And as you said, there's not a lot the driver
can do (except play with ->vm_pgoff) to influence the address
selection.

And playing with ->vm_pgoff is *not* a valid thing to do for the
client, at least not on "normal" mmaps.

Thanks,
Miklos


\
 
 \ /
  Last update: 2010-02-11 13:37    [W:0.100 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site