lkml.org 
[lkml]   [2007]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH, take4] FUTEX : new PRIVATE futexes
    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-07 13:23    [W:0.020 / U:33.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site