Re: nommu: handling anonymous mmap clearing in userspace rather than kernel

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Frysinger <vapier.adi@...>
Cc: <dhowells@...>, Greg Ungerer <gerg@...>, David McCullough <David_Mccullough@...>, LKML <linux-kernel@...>, Bryan Wu <Bryan.Wu@...>, Bernd Schmidt <bernds_cb1@...>, Robin Getz <rgetz@...>
Date: Wednesday, April 2, 2008 - 10:20 am

Mike Frysinger <vapier.adi@gmail.com> wrote:


I think that's reasonable for NOMMU.  It's not like the process accessing the
uninitialised memory is prevented from accessing anything it wants to anyway.

I would vote that the memset() should only be skipped if requested as there
may be programs that call mmap(MAP_ANONYMOUS) expecting the memory they're
given to be zeroed out.

David


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: nommu: handling anonymous mmap clearing in userspace rat..., David Howells, (Wed Apr 2, 10:20 am)