Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
C already supports bitfields:
struct accessMode { int open:1; int write:1; ... };
Bitfields
Posted Jan 17, 2008 14:57 UTC (Thu) by zlynx (subscriber, #2285) [Link]
But the kernel doesn't appear to use bitfields much. I seem to remember that it's something to do with GCC and miserable performance on non-x86 arch's.
Copyright © 2013, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds