[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kernel bitreverse function
On Sun, 3 Apr 2011 19:17:28 +0300
Jukka Ruohonen <jruohonen%iki.fi@localhost> 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
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,
1. They are inline functions, which do not save any space.
2. They cannot easily be replaced by MD instructions.
Main Index |
Thread Index |