[lkml]   [2004]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] VM routine fixes
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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.069 / U:1.240 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site