Article View: mod.std.unix
Article #55Re: limits; V4N4
From: Moderator, John Quarterman
Date: Tue, 03 Dec 1985 11:22
Date: Tue, 03 Dec 1985 11:22
37 lines
2335 bytes
2335 bytes
Date: Tue, 26 Nov 85 21:47:31 pst
From: topaz!packard!scgvaxd!trwrb!desint!geoff (Geoff Kuenning)
In article <3575@ut-sally.UUCP> allegra!jpl (John P. Linderman) writes:
>2) The kernel is a lousy place to store the limits.h information.
> It is preposterous to have a separate system call for each
> value. If you return a structure that includes all the values,
> you trash existing binaries whenever you make the returned
> structure larger by adding another value. If you use an index
> to return a single value, you can only port to systems that
> agree with you on the index values.
Both of these "problems" are easily solved non-problems; nevertheless
I think I have been convinced that a file like /etc/limits (or some
such) is a superior solution on the principle of "don't put it in the
kernel unless you have to."
Talking about his proposed solution (posted with the article, John writes
that if you try out his
>program, you will recognize one problem. It's slow. I claim this is
>a non-problem: look up your values once, and then run nice and fast.
Give me a break, John. Do you seriously expect me to wait for you to
run cc and sed every time I want to start up the editor? I realize
that your program is a quick hack, but I don't think we can just
cavalierly write off startup time. Most BSD users already run with
TERMCAP in their environment, solely as a kludge to get around the cost
of reading through /etc/termcap. We need to remember that startup times
*are* important, and it is very expensive to open and read through even
a small file.
--
Geoff Kuenning
{hplabs,ihnp4}!trwrb!desint!geoff
Volume-Number: Volume 4, Number 4
Technical Details
Message-ID:
<3692@ut-sally.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!decvax!decwrl!pyramid!ut-sally!std-unixReferences:
<3575@ut-sally.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ut-sally.UUCP Path: arc1-ca.pugleaf.net!utzoo!decvax!decwrl!pyramid!ut-sally!std-unix From: std-unix@ut-sally.UUCP (Moderator, John Quarterman) Newsgroups: mod.std.unix Subject: Re: limits; V4N4 Message-ID: <3692@ut-sally.UUCP> Date: Tue, 3-Dec-85 06:22:26 EST Article-I.D.: ut-sally.3692 Posted: Tue Dec 3 06:22:26 1985 Date-Received: Wed, 4-Dec-85 20:31:45 EST References: <3575@ut-sally.UUCP> Organization: IEEE/P1003 Portable Operating System Environment Committee Lines: 37 Approved: jsq@sally.UUCP