lkml.org 
[lkml]   [2001]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Locking comment on shrink_caches()
    Date
    From
    >    See prefetching - the CPU prefetching will hide some of the effect and
    > the spin_lock_prefetch() macro does wonders for the rest.
    >
    > Well, if prefetching can do it faster than avoiding the transaction
    > altogether, I'm game :-)

    That would depend on the cost of avoidance, the amount of contention and
    the distance ahead you can fetch. Avoiding it also rather more portable so
    I suspect you win

    -
    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 13:03    [W:0.025 / U:97.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site