Re: [MC] [CHECKER] Need help on mmap on FUSE (linux user-land file system)

From: Miklos Szeredi
Date: Mon Mar 14 2005 - 05:23:31 EST


> > Forget to mention, we are checking linux 2.6. It appears to us
> > that mmap doesnt' work for FUSE in linux 2.6.
>
> IIRC, the reason mmap doesn't work on FUSE is because when it
> dirties pages they cannot be flushed reliably, because writing them
> out involves calling a userspace process which may allocate RAM,
> etc.

Yes. To be precise this only affects writable shared mmap(), which is
not used by the great majority of applications. Any other kind of
memory mapping should work OK.

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/