Messages in this thread | | | Date | Tue, 29 May 2007 15:10:18 +1000 | From | Nick Piggin <> | Subject | Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP |
| |
Carsten Otte wrote:
> The current xip stack relies on having struct page behind the memory > segment. This causes few impact on memory management, but occupies some > more memory. The cramfs patch chose to modify copy on write in order to > deal with vmas that don't have struct page behind. > So far, Hugh and Linus have shown strong opposition against copy on > write with no struct page behind. If this implementation is acceptable > to the them, it seems preferable to me over wasting memory. The xip > stack should be modified to use this vma flag in that case.
I would rather not :P
We can copy on write without a struct page behind the source today, no? What is insufficient for the XIP code with the current COW?
-- SUSE Labs, Novell Inc. - 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/
| |