Re: RFC: mmap(PROT_READ, MAP_SHARED) fails if !writepage.

David Woodhouse (dwmw2@infradead.org)
Sat, 09 Nov 2002 16:36:49 +0000


dwmw2@infradead.org said:
> Suggested patch below.... or should I just hack fsx-linux to use
> MAP_PRIVATE for its readonly mappings and ignore it?

torvalds@transmeta.com said:
> You have two choices: make gratuitous changes to the kernel to make
> some random test happy, or fix the test.

> I think you should fix the test. The kernel change buys you _zero_ new
> features.

Works for me. Thanks for the answer.

--
dwmw2

- 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/