Re: [PATCH [RT] 08/14] add a loop counter based timeout mechanism

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 22, 2008 at 11:19 AM, Bill Huey (hui) <bill.huey@xxxxxxxxx> wrote:
>  Yeah, I'm not very keen on having a constant there without some
>  contention instrumentation to see how long the spins are. It would be
>  better to just let it run until either task->on_cpu is off or checking
>  if the "current" in no longer matches the mutex owner for the runqueue
>  in question. At that point, you know the thread isn't running.
>  Spinning on something like that is just a waste of time. It's for that
>  reason that doing in the spin outside of a preempt critical section
>  isn't really needed

Excuse me, I meant to say "...isn't a problem".

bill
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux