lkml.org 
[lkml]   [2005]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Patch 4/6 randomize the stack pointer
    Date
    From
    Julien TINNES <julien.tinnes.NOSPAM@francetelecom.REMOVE.com> said:
    > Not very important but ((get_random_int() % 4096) << 4) could be
    > optimized into get_random_int() & 0xFFF0.

    Check first if the compiler doesn't do it by itself.
    --
    Dr. Horst H. von Brand User #22616 counter.li.org
    Departamento de Informatica Fono: +56 32 654431
    Universidad Tecnica Federico Santa Maria +56 32 654239
    Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
    -
    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: 2005-03-22 14:09    [W:0.019 / U:34.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site