RE: [2.6.25-rc5-mm1][regression] ia64: hackbench doesn't finish>12 hour

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

 



>Which makes me wonder, why did you ever use a semaphore here? Looking
at
>the code its a straight forward mutex. And when you would have used a
>mutex lockdep would have warned about this.

>There is hardly ever a good reason to use semaphores in new code, we're
>trying very hard to get rid of them.

The real issue here is the code path can not go to sleep. If simply 
replacing semaphore with mutex, the issue still happens. First of all we

need to have a lock system which doesn't allow the code go to sleep. We
are 
working on a new patch now.

But one step back, if without considering this sleeping issue, I agree
with 
you that mutex would be a better approach than semaphore.

>Hmm, then again, does ia64 have lockdep?

IA64 doesn't support lockdep yet.

Thanks.

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

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux