From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10709021847o1df19364j2d22a87d425c6505@mail.gmail.com> Date: Sun, 2 Sep 2007 18:47:17 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] plan 9 overcommits memory? In-Reply-To: <20070903012332.20256.qmail@g.galapagos.bx.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070902212734.DF2D31E8C26@holo.morphisms.net> <20070903012332.20256.qmail@g.galapagos.bx.psu.edu> Topicbox-Message-UUID: b491d248-ead2-11e9-9d60-3106f5b1d025 but most people can live with the overcommit, as witness the fact that most of us do and never know it. If you can't live with overcommit, maybe you need a wrapper that: sets up to catch the note (I am assuming here that you get one; do you?) malloc zero memory you malloc'ed (which will get the pages in) die reasonably if you get the note Would that work? ron