public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* overcommit verses MAP_NORESERVE
@ 2005-08-07  3:52 Nicholas Miell
  2005-08-07 11:49 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Nicholas Miell @ 2005-08-07  3:52 UTC (permalink / raw)
  To: linux-kernel

Why does overcommit in mode 2 (OVERCOMMIT_NEVER) explicitly force
MAP_NORESERVE mappings to reserve memory?

My understanding is that MAP_NORESERVE is a way for apps to state that
they are aware that the memory allocated may not exist and that they
might get a SIGSEGV and that's OK with them.

Failing to do this makes certain well-know apps (*cough* Sun Java
*cough*) fail to run, which seems to be rather unhelpful.

-- 
Nicholas Miell <nmiell@comcast.net>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-08 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07  3:52 overcommit verses MAP_NORESERVE Nicholas Miell
2005-08-07 11:49 ` Alan Cox
2005-08-08  7:22   ` Nicholas Miell
2005-08-08 10:41     ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox