Messages in this thread | | | From | "Christoph Rohland" <> | Subject | RE: [patch][rfc] expandable anonymous shared mappings | Date | Wed, 23 Jun 2004 14:23:56 +0300 |
| |
Hi Stas, Hugh,
> The trick is that I am setting the old_len arg > of mremap() to 0. This means that the new mapping > is created while the old one is *not* being > destroyed. So I get multiple virtual memory > areas referencing the same shared memory region, > lets call them "aliases".
I would propose you use the posix shm API for what you want to do and leave anonymous shared memory as a special case of this like it is...
Keep it simple and stupid!
Just my 2cts Christoph
- 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/
| |