Messages in this thread | | | Subject | Re: [PATCH] VM routine fixes | From | David Woodhouse <> | Date | Thu, 11 Nov 2004 01:17:13 +0000 |
| |
On Wed, 2004-11-10 at 11:01 -0800, Andrew Morton wrote: > Why _does_ !CONFIG_MMU futz around with page counts in such weird ways > anyway? Why does it have requirements for higher-order pages which differ > from !CONFIG_MMU?
Because in the absence of an MMU, an mmap of a large region (like an executable) has to be satisfied by a large enough allocation followed by a read.
> If someone could explain the reasoning behind the current code, and the FRV > enhancements then perhaps we could work something out.
I think these parts aren't FRV-specific; they're the fixes required to do proper shared readable mmap with !CONFIG_MMU. That was a prerequisite for the ELF-FDPIC executable format, which allows real shared libraries on uClinux.
-- 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/
| |