Re: [RFC][PATCH] introduce ptr_diff()

Andi Kleen
2010-08-19T13:00:02Z

> If so, the warning seems valid as sizeof(struct page) is probably not
> (always) a power of 2. On a native build on x86_64 it is 56 bytes
> hereover.
> Hmm ....

gcc just generats a mull with inverted value. mull is cheap on any
reasonable CPU. Please fix sparse.

-andi