• Paul Mackerras's avatar
    [PATCH] Better memset · 59f87247
    Paul Mackerras authored
    Anton noticed in some traces that we were spending an awfully long time
    doing a memset.  The ppc64 memset is basically unchanged from the ppc32
    version, and it only does 4-byte stores and doesn't unroll the loop. 
    Here's a memset that performs a bit better.
    
    I have been using it for 3 weeks now, and Anton has tested it on a
    variety of machines, without problems. 
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    59f87247
string.S 4.32 KB