Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion malloc
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Random832  
View profile  
 More options Dec 12 2006, 7:13 pm
Newsgroups: comp.lang.c
From: Random832 <ran...@random.yi.org>
Date: 13 Dec 2006 00:13:59 GMT
Local: Tues, Dec 12 2006 7:13 pm
Subject: Re: [OT]Re: malloc
2006-12-12 <1165956252.845272.153...@j44g2000cwa.googlegroups.com>,

goose wrote:

> Barry Schwarz wrote:

> <snipped>

>> or the operating system terminate it.  On a typical desk top system,
>> the first umpteen calls will succeed and all subsequent calls will
>> fail.  Since malloc fails gracefully (by returning NULL), these

> Not *all* typical desktops perform the same; ISTR that FreeBSD
> will happily overcommit knowing that all the memory (virtual + real)
> will never ever be needed at the same time. When all processes
> *do* attempt to run concurrently

Um... run concurrently? you mean as opposed to being in swap? Because
that's where the "virtual" part normally comes in.
> the OS picks a process and kills
> it, so all malloc calls *always* return a pointer to memory.

> I further seem to recall that this was tunable with a FreeBSD
> kernel knob. If my memory serves me correctly, the concensus
> on clc the last time this came up was that such an implementation
> could not be considered conforming ...

> Or else all of the conversation that I remember happened on a
> different newsgroup :-) (My memory really isn't what it used to be).

> goose,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.