Subject: Re: Bitfields and kernel
To: Greywolf <>
From: Julian Assange <>
List: tech-kern
Date: 09/30/1999 15:56:59
> I thought they were kinda neeto when I first discovered them, but
> unless you've got a processor that handles them intrinsically (and
> a compiler to make use of it), they use more cycles than they're
> worth.  I've come to appreciate #defines/enums, myself.

enums are nice because they're visible to gdb.

the real value of bitfields comes into play when the width is greater
than a single bit, or the structure is meant to be opaque.