Re: Interprocess shared memory .... but file backed?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 8 Mar 2002 15:32:39 +0000 (GMT)


> However as far as I can tell this is anonymous memory only.
> Are there any options if one initially maps a disk file via
> mmap (in particular MAP_PRIVATE) for sharing that vm, such

well MAP_PRIVATE is "dont share" so not with that 8)
Use MAP_SHARED and you'll get what you want
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/