tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Vnode scope implementation



On Sat, Jul 04, 2009 at 07:45:15PM +0200, Christoph Egger wrote:
> 
> If these need to be really bits then please use __BIT(0), __BIT(1),
> __BIT(2) and __BIT(31)

Grrr.... I hate those sort of defines - they just force you to go
and look up their definitions to see which numbering scheme is being
used.

IMHO using (1 << n) is enough to say 'these might be or'ed together.
Even a sequence of hex constants will be an obvious bit pattern list.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index