[lkml]   [2007]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH -mm 1/5] Blackfin: blackfin architecture patch update
    On Saturday 03 March 2007 23:50:02 bert hubert wrote:
    > >       for (;;)
    > >               asm volatile ("idle");
    > This looks remarkably like relax_cpu()

    Actually not: cpu_relax() is defined as barrier(), it can't
    call idle because that might make it sleep for a indefinite
    amount of time (until the next interrupt, but only if they
    are enabled).

    Some nice architectures provide a hardware mechanism to do
    cpu_relax, like going to low-power mode for a few microseconds,
    but this one doesn't seem to have it.

    Arnd <><
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-03-04 00:09    [W:0.018 / U:157.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site