Re: [PATCH, take4] FUTEX : new PRIVATE futexes

Jakub Jelinek
2007-04-07T11:20:26Z

On Sat, Apr 07, 2007 at 10:43:39AM +0200, Eric Dumazet wrote:
> get_futex_key() does a check against sizeof(u32) regardless of futex being 64bits or not.
> So it is possible a 64bit futex spans two pages of memory...

That would be a user bug. 32-bit futexes have to be 32-bit aligned, 64-bit
futexes have to be 64-bit aligned.

Jakub