home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22721 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.1 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!enterpoop.mit.edu!bloom-picayune.mit.edu!daemon
  2. From: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Bug in linux include file ?
  5. Message-ID: <1993Jan5.040527.6503@athena.mit.edu>
  6. Date: 5 Jan 93 04:05:27 GMT
  7. Sender: daemon@athena.mit.edu (Mr Background)
  8. Reply-To: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
  9. Organization: The Internet
  10. Lines: 21
  11.  
  12.  
  13.    From: jpo@kappa.informatik.tu-chemnitz.de (Joerg Pommnitz)
  14.    Date: 4 Jan 1993 18:21:09 +0100
  15.  
  16.    A few kernel releases before the max number of open
  17.    files changed to 256.
  18.  
  19.    But I think these macros havn't changed ! They still
  20.    use a single 386 machine instruction to clear/set bits.
  21.  
  22.    I think this is wrong.
  23.    Any comments ?
  24.  
  25. If you check a 386 architecture manual, you will find that the "single
  26. 386 machine instruction" can set/clear bits in a bit-array; not just in
  27. a single 32 bit word.  Look in /usr/include/asm/bitops.h for a C
  28. language translation of that "single 386 machine instruction", which was
  29. provided in case someone wanted to port Linux to a non-386 based
  30. architecture, like the Amiga, or the Dec Alpha.  :-)
  31.  
  32.                         - Ted
  33.