[lkml]   [2007]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] nommu arch dont zero the anonymous mapping by adding UNINITIALIZE flag
On 3/30/07, David Howells <> wrote:
> Aubrey Li <> wrote:
> > Keep the same behave as MMU but with bad performance, or keep the same
> > performance as MMU but without the same behave, Which one is more
> > important?
> The thing to do is to pass a flag to mmap() to suppress the memset (as
> suggested). This can then be used by the uClibc malloc() implementation and
> does not impact any application that does an anon mmap() expecting the memory
> returned to be zeroed.

As Mike mentioned, it implies breakage in POSIX behavior
and is specific to no-mmu only.

What kind of application does an anonymous mmap() expecting the memory
returned to be zeroed?

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: 2007-03-30 17:49    [W:0.045 / U:82.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site