Re:mmap(MAP_SHARED | MAP_ANON) broke!

Sujal Patel (smpatel@prognet.com)
Fri, 10 Jan 1997 10:20:24 -0800 (PST)


On Fri, 10 Jan 1997, Mark Hemment wrote:

> I guess you need this so that the anon mapped pages are not marked
> COW upon fork().

Correct.

> There might be another problem, or two, but if you have enough
> memory just try changing do_mmap() and see what happens.

I'll give it a shot and see if it works.. Thx.

Does clone() have any problems? I may be able to emulate the behavior I
need by using it instead of mmap().

Sujal