Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 1999 16:03:27 -0700 (PDT)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        mi@aldan.algebra.com
Cc:        current@FreeBSD.ORG
Subject:   Re: swap-related problems
Message-ID:  <199904142303.QAA43660@troutmask.apl.washington.edu>
In-Reply-To: <199904142244.SAA96731@misha.cisco.com> from Mikhail Teterin at "Apr 14, 1999 06:44:52 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin wrote:
> Sheldon Hearn once wrote:
> 
> > > : 3. Send patches.
> > > 
> > > And I certainly don't care enough to do that!-)
> 
> > So, what? You're just arguing for fun? If so, then you and everyone
> > else doing like wise can just piss the hell off.
> 
> I, for one, was arguing because I saw a number of people ask about
> this over the last years.
> 
> Instead of being told "sorry, we do not comply with this part of
> ANSI standard for reasons such and such", this people were told
> how they have to be better sysadmins and what not.
> 
> This time around, it took several days of a long thread for somebody
> to admit _the problem exists_.
> 

Then, submit your patches to fix the problem preferably with a knob
to turn your patches on/off.  From the discussion, I hope you're prepared
to deal with the following scenario:

  User:    I compiled malloc with -DSTRICT_ANSI.  Now my system appears
           sluggish and I can't run as many processes because of
           memory/swap starvation.  

  Mikhail: Well, malloc() conforms to the ANSI C standard.  You need to
           buy more memory and a real big disk drive for swap space.
           Or, you could run fewer processes.

  User:    But, if I compile malloc without -DSTRICT_ANSI, then everything
           seems to work.

  Mikhail: Well, that is silly because now your malloc doesn't conform
           to the ANSI C standard.  You should not use a nonconforming
           OS for programming.

Submit your patches to the documentation pointing out the alleged
shortcomings malloc() and friends.

Meanwhile, visit /usr/ports.

/usr/ports/devel/libxalloc
/usr/ports/devel/libmalloc
/usr/ports/devel/libdlmalloc

-- 
Steve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904142303.QAA43660>