On 2016/2/4 3:24, Davidlohr Bueso wrote:
On Wed, 03 Feb 2016, Ding Tianhong wrote:Hi Davidlohr, Peter:
Agree, but this patch is going to help the waiter in the wait list to get the lock, your scene probability looks moreSure, I was in fact implying its not the end of the world,
too low and I don't think it is a problem.
although it will be interesting to see the impact on different
(non pathological) workloads, even if it only affects a single
waiter. Also, technically this issue can also affect rwsems if
only using writers, but that's obviously pretty idiotic, so I
wouldn't worry about it.
Thanks,
Davidlohr
According Davidlohr's suggestion, I use several VM to test Peter's patch, and sadly I found one VM
still happen Hung Task for this problem, so I think we still need to think more about this solution.
Thanks.
Ding
Attachment:
longman-mutex-v2-patch.tar.gz
Description: GNU Zip compressed data