On Friday 27 August 2010 09:17:24 Jim Bryant wrote: > is this level of bit-fiddling acceptable in the kernel? Yes, this is Ok. One more thing: Add a mutex pointer argument to functions that can sleep. Is the code you showed doing control requests? --HPS