On Sun, 3 Apr 2011 19:17:28 +0300 Jukka Ruohonen <[email protected]> wrote:
> While I have no real opinion for or against, I can certainly imagine > finding use for a well-defined "bit function" like this also in user > space. Sure, I agree. We can still add such functions in <sys/bitops.h> for userland programs, but for the kernel it makes no sense to use them, because: 1. They are inline functions, which do not save any space. 2. They cannot easily be replaced by MD instructions. -- Frank Wille
