Re: Processes spinning forever, apparently in lock_timer_base()?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chuck Ebbert <cebbert@...>
Cc: Andrew Morton <akpm@...>, richard kennedy <richard@...>, <linux-kernel@...>
Date: Friday, August 3, 2007 - 4:14 pm

Chuck Ebbert wrote:

I don't think there is an unfairness problem. We are looping only
if timer->base changes in between. IOW, there is no "lock + unlock
+ lock(same_lock)" here, we take another lock on each iteration.

And:


All traces start from schedule_timeout()->mod_timer(). This timer
is local, nobody can see it, its ->base can't be NULL or changed.

This means that lock_timer_base() can't loop, but can't take the
tvec_t_base_s.lock. But in that case the trace should different,
strange.

Oleg.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Processes spinning forever, apparently in lock_timer_bas..., Oleg Nesterov, (Fri Aug 3, 4:14 pm)