lkml.org 
[lkml]   [2004]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.6-mm5
    On Sat, May 22, 2004 at 06:15:51PM -0700, Roland Dreier wrote:
    > Andrew> I don't think we can expect all architectures to be able
    > Andrew> to implement atomic 64-bit IO's, can we?
    >
    > Andrew> ergo, drivers which want to use readq and writeq should
    > Andrew> provide the appropriate locking.
    >
    > Perhaps we should have ARCH_HAS_ATOMIC_WRITEQ or something so that
    > drivers don't add the overhead of locking on architectures where it's
    > not necessary?

    Or perhaps we just need a lockless __readq/__writeq for drivers that
    know better.

    --
    Mathematics is the supreme nostalgia of our time.
    -
    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:03    [W:0.022 / U:0.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site