[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6d6a94c50703300846x605e66e0pbd8537a06436f6ee@mail.gmail.com>
Date: Fri, 30 Mar 2007 23:46:31 +0800
From: "Aubrey Li" <aubreylee@...il.com>
To: "David Howells" <dhowells@...hat.com>
Cc: "Alan Cox" <alan@...rguk.ukuu.org.uk>, vapier.adi@...il.com,
jie.zhang@...log.com, bryan.wu@...log.com,
"Andrew Morton" <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nommu arch dont zero the anonymous mapping by adding UNINITIALIZE flag
On 3/30/07, David Howells <dhowells@...hat.com> wrote:
> Aubrey Li <aubreylee@...il.com> 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?
-Aubrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists