Re: [PATCH] locking/hung_task: Defer showing held locks

2017-03-12 Thread Vegard Nossum
On 12/03/2017 06:33, Tetsuo Handa wrote: When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). For example, if 1000 threads were blocked in

Re: [PATCH] locking/hung_task: Defer showing held locks

2017-03-12 Thread Vegard Nossum
On 12/03/2017 06:33, Tetsuo Handa wrote: When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). For example, if 1000 threads were blocked in

[PATCH] locking/hung_task: Defer showing held locks

2017-03-11 Thread Tetsuo Handa
When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). For example, if 1000 threads were blocked in TASK_UNINTERRUPTIBLE state and 500 out of

[PATCH] locking/hung_task: Defer showing held locks

2017-03-11 Thread Tetsuo Handa
When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). For example, if 1000 threads were blocked in TASK_UNINTERRUPTIBLE state and 500 out of

Re: [PATCH] locking/hung_task: Defer showing held locks

2017-02-28 Thread Tetsuo Handa
Vegard, can I send this patch? Tetsuo Handa wrote: > Vegard Nossum wrote: > > On 13 December 2016 at 15:45, Tetsuo Handa > > wrote: > > > When I was running my testcase which may block hundreds of threads > > > on fs locks, I got lockup due to output from

Re: [PATCH] locking/hung_task: Defer showing held locks

2017-02-28 Thread Tetsuo Handa
Vegard, can I send this patch? Tetsuo Handa wrote: > Vegard Nossum wrote: > > On 13 December 2016 at 15:45, Tetsuo Handa > > wrote: > > > When I was running my testcase which may block hundreds of threads > > > on fs locks, I got lockup due to output from debug_show_all_locks() > > > added by

Re: [PATCH] locking/hung_task: Defer showing held locks

2016-12-20 Thread Tetsuo Handa
Vegard Nossum wrote: > On 13 December 2016 at 15:45, Tetsuo Handa > wrote: > > When I was running my testcase which may block hundreds of threads > > on fs locks, I got lockup due to output from debug_show_all_locks() > > added by commit b2d4c2edb2e4f89a

Re: [PATCH] locking/hung_task: Defer showing held locks

2016-12-20 Thread Tetsuo Handa
Vegard Nossum wrote: > On 13 December 2016 at 15:45, Tetsuo Handa > wrote: > > When I was running my testcase which may block hundreds of threads > > on fs locks, I got lockup due to output from debug_show_all_locks() > > added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). > >

Re: [PATCH] locking/hung_task: Defer showing held locks

2016-12-20 Thread Vegard Nossum
On 13 December 2016 at 15:45, Tetsuo Handa wrote: > When I was running my testcase which may block hundreds of threads > on fs locks, I got lockup due to output from debug_show_all_locks() > added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all

Re: [PATCH] locking/hung_task: Defer showing held locks

2016-12-20 Thread Vegard Nossum
On 13 December 2016 at 15:45, Tetsuo Handa wrote: > When I was running my testcase which may block hundreds of threads > on fs locks, I got lockup due to output from debug_show_all_locks() > added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). > > I think we don't need to call

[PATCH] locking/hung_task: Defer showing held locks

2016-12-13 Thread Tetsuo Handa
When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). I think we don't need to call debug_show_all_locks() on each blocked thread. Let's defer

[PATCH] locking/hung_task: Defer showing held locks

2016-12-13 Thread Tetsuo Handa
When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). I think we don't need to call debug_show_all_locks() on each blocked thread. Let's defer