lkml.org 
[lkml]   [2003]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] read_trylock for i386
    Roland McGrath <roland@redhat.com> wrote:
    >
    > The following header patches add the read_trylock macro, implementing it
    > fully for i386 and leaving other architectures with an always-fail fallback.

    Looks reasonable, and we do need read_trylock() for symmetry at least. And
    I did need it for the CONFIG_PREEMT low-latency read_lock() implementation.

    Please note that the lockmeter patch in -mm kernels has implementations of
    _raw_read_trylock() for sparc64, alpha and ia64. ppc64 already implements
    it.

    So it would be better if someone could sweep all those together, implement
    the necessary stubs for uniprocessor builds on all architectures and
    apologetically break the build on the remaining SMP architectures.

    That would appear to be mips, parisc, s390, sparc and x86_64.

    -
    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:47    [W:4.587 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site