Re: [patch] spinlock debug: make looping nicer

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

 



On Thu, Jun 21, 2007 at 11:15:25PM +0200, Ingo Molnar wrote:
> 
> * Linus Torvalds <[email protected]> wrote:
> 
> > On Thu, 21 Jun 2007, Ingo Molnar wrote:
> > > 
> > > btw., back then we also tried a spin_is_locked() based inner loop 
> > > but it didnt help the ->tree_lock lockups either. In any case i very 
> > > much agree that the 'nicer' looping should be added again - the 
> > > patch below does that. (build and boot tested)
> > 
> > Ok, I'm definitely not going to apply it right now, though.
> 
> yeah, very much so. Lots of distros ship with spinlock debugging enabled 
> (at least in their betas), we dont want to break that accidentally.

But, I hope, Miklos will manage to find some time to try this
patch or spinlock debugging on, to confirm the nature isn't
mocking us here... 

Miklos, I'd appreciate it very much if you could also exclude my
another extremely silly suspicion, and try with only cpu_relax()
instead of yield() (but without removing if (preempted)) in
wait_task_inactive().

Thanks & regards,
Jarek P.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux