[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] arca-vm-2.2.5
It should be 'inode >> 8' (which is done by the log2
solution). Unless i'm misunderstanding something.
Consider that:
(((unsigned long) inode) >> (sizeof(struct inode) & ~ (sizeof(struct inode) - 1)))
sort of approximates this and avoids the funny looking log2 macro. :-)
Later,
David S. Miller
davem@redhat.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/