Date: Tue, 19 Sep 2000 19:13:31 -0400 (EDT) From: Alexander Viro <[EMAIL PROTECTED]> Nice spotting, but bad fix, IMO. swab...() stuff is a perfect example of the dangerous use of macros. BTW, 2.4 has the same problem. Would you mind taking a look at the difference in code output when register pressure in a given function is moderate to high? :-) Unfortunately, gcc does not make inline functions as cheap as "macros with type checking". There are extra costs and often the register allocator cannot cope and stuff starts getting spilled to the stack. I agree with you totally from the "dangerous use" standpoint. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] abuse of macros in swab.h Andi Kleen
- Re: [PATCH] abuse of macros in swab.h Andrea Arcangeli
- Re: [PATCH] abuse of macros in swa... Martin Dalecki
- Re: [PATCH] abuse of macros i... David S. Miller
- Re: [PATCH] abuse of macros i... Andrea Arcangeli
- Re: [PATCH] abuse of macros i... Andi Kleen
- Re: [PATCH] abuse of macros i... Horst von Brand
- Re: [PATCH] abuse of macros in swab.h Alexander Viro
- Re: [PATCH] abuse of macros in swab.h Martin Dalecki
- Re: [PATCH] abuse of macros in swa... Andi Kleen
- Re: [PATCH] abuse of macros in swab.h David S. Miller
- Re: [PATCH] abuse of macros in swab.h Linus Torvalds
- Re: [PATCH] abuse of macros in swa... Alexander Viro
- Re: [PATCH] abuse of macros in swab.h Olivier Galibert
- Re: [PATCH] abuse of macros in swab.h Andrea Arcangeli
- Re: [PATCH] abuse of macros in swab.h Alexander Viro
- Re: [PATCH] abuse of macros in swab.h Trond Myklebust
- Re: [PATCH] abuse of macros in swab.h Andrzej Krzysztofowicz
- Re: [PATCH] abuse of macros in swab.h Giuliano Pochini
- Re: [PATCH] Fix big endian ext2 bmap in 2.2. Alexander Viro