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