home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v4 / text0003.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  1.6 KB

  1. Date: Tue, 26 Nov 85 21:47:31 pst
  2. From: topaz!packard!scgvaxd!trwrb!desint!geoff (Geoff Kuenning)
  3.  
  4. In article <3575@ut-sally.UUCP> allegra!jpl (John P. Linderman) writes:
  5.  
  6. >2)  The kernel is a lousy place to store the limits.h information.
  7. >    It is preposterous to have a separate system call for each
  8. >    value.  If you return a structure that includes all the values,
  9. >    you trash existing binaries whenever you make the returned
  10. >    structure larger by adding another value.  If you use an index
  11. >    to return a single value, you can only port to systems that
  12. >    agree with you on the index values.
  13.  
  14. Both of these "problems" are easily solved non-problems;  nevertheless
  15. I think I have been convinced that a file like /etc/limits (or some
  16. such) is a superior solution on the principle of "don't put it in the
  17. kernel unless you have to."
  18.  
  19. Talking about his proposed solution (posted with the article, John writes
  20. that if you try out his
  21. >program, you will recognize one problem.  It's slow.  I claim this is
  22. >a non-problem: look up your values once, and then run nice and fast.
  23.  
  24. Give me a break, John.  Do you seriously expect me to wait for you to
  25. run cc and sed every time I want to start up the editor?  I realize
  26. that your program is a quick hack, but I don't think we can just
  27. cavalierly write off startup time.  Most BSD users already run with
  28. TERMCAP in their environment, solely as a kludge to get around the cost
  29. of reading through /etc/termcap.  We need to remember that startup times
  30. *are* important, and it is very expensive to open and read through even
  31. a small file.
  32. -- 
  33.  
  34.     Geoff Kuenning
  35.     {hplabs,ihnp4}!trwrb!desint!geoff
  36.  
  37. Volume-Number: Volume 4, Number 4
  38.  
  39.