lkml.org 
[lkml]   [2000]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectmemmove() in 2.4.0-test12, alpha platform
    Hello !

    New (since test12) optimized memmove function seems to be broken
    on alpha platform.

    If dest and src arguments are misaligned, new memmove does wrong things.


    example:

    static char p[] = "abcdefghijklmnopkrstuvwxyz01234567890";
    memmove(p + 2, p + 13, 17);
    printk ("DEBUG: memmove test: %s\n", p);

    produces:

    DEBUG: memmove test: abyz0123tuvwxyz0123tuvwxyz01234567890


    Old memmove variant didn't have this problem.

    Thanks,
    Alex.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:0.019 / U:62.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site