lkml.org 
[lkml]   [2005]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] break_lock forever broken
    From
    Date

    >
    > Yes that's the tradeoff. I just feel that the former may be better,
    > especially because the latter can be timing dependant (so you may get
    > things randomly "happening"), and the former is apparently very low
    > overhead compared with the cost of taking the lock. Any numbers,
    > anyone?

    as I said, since the cacheline just got dirtied, the write is just half
    a cycle which is so much in the noise that it really doesn't matter.


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