lkml.org 
[lkml]   [2005]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    Date
    From
    SubjectRe: page table lock patch V15 [0/7]: overview
    > Looked at  arch/i386/lib/mmx.c. It avoids the mmx ops in an interrupt
    > context but the rest of the prep for mmx only saves the fpu state if its
    > in use. So that code would only be used rarely. The mmx 64 bit
    > instructions seem to be quite fast according to the manual. Double the
    > cycles than the 32 bit instructions on Pentium M (somewhat higher on Pentium 4).

    With all the other overhead (disabling exceptions, saving register etc.)
    will be likely slower. Also you would need fallback paths for CPUs
    without MMX but with PAE (like Ppro). You can benchmark
    it if you want, but I wouldn't be very optimistic.

    -Andi
    -
    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:4.064 / U:0.252 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site