Re: [PATCH] softlockup: Make detector be aware of task switch of processes hogging cpu

2014-08-28 Thread Don Zickus
On Thu, Aug 28, 2014 at 04:07:23PM -0700, Andrew Morton wrote: > On Thu, 28 Aug 2014 00:52:24 -0400 Don Zickus wrote: > > > From: chai wen > > > > For now, soft lockup detector warns once for each case of process > > softlockup. > > But the thread 'watchdog/n' may not always get the cpu at the

Re: [PATCH] softlockup: Make detector be aware of task switch of processes hogging cpu

2014-08-28 Thread Andrew Morton
On Thu, 28 Aug 2014 00:52:24 -0400 Don Zickus wrote: > From: chai wen > > For now, soft lockup detector warns once for each case of process softlockup. > But the thread 'watchdog/n' may not always get the cpu at the time slot > between > the task switch of two processes hogging that cpu to res

[PATCH] softlockup: Make detector be aware of task switch of processes hogging cpu

2014-08-27 Thread Don Zickus
From: chai wen For now, soft lockup detector warns once for each case of process softlockup. But the thread 'watchdog/n' may not always get the cpu at the time slot between the task switch of two processes hogging that cpu to reset soft_watchdog_warn. An example would be two processes hogging th

Re: [PATCH] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-26 Thread Chai Wen
On 08/26/2014 10:22 PM, Don Zickus wrote: > On Tue, Aug 26, 2014 at 08:51:30PM +0800, Chai Wen wrote: >> On 08/22/2014 09:58 AM, Don Zickus wrote: >> >>> On Thu, Aug 21, 2014 at 01:42:22PM +0800, chai wen wrote: For now, soft lockup detector warns once for each case of process softlocku

Re: [PATCH] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-26 Thread Don Zickus
On Tue, Aug 26, 2014 at 08:51:30PM +0800, Chai Wen wrote: > On 08/22/2014 09:58 AM, Don Zickus wrote: > > > On Thu, Aug 21, 2014 at 01:42:22PM +0800, chai wen wrote: > >> For now, soft lockup detector warns once for each case of process > >> softlockup. > >> But the thread 'watchdog/n' may not al

Re: [PATCH] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-26 Thread Chai Wen
On 08/22/2014 09:58 AM, Don Zickus wrote: > On Thu, Aug 21, 2014 at 01:42:22PM +0800, chai wen wrote: >> For now, soft lockup detector warns once for each case of process softlockup. >> But the thread 'watchdog/n' may not always get the cpu at the time slot >> between >> the task switch of two pr

Re: [PATCH] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-21 Thread Don Zickus
On Thu, Aug 21, 2014 at 01:42:22PM +0800, chai wen wrote: > For now, soft lockup detector warns once for each case of process softlockup. > But the thread 'watchdog/n' may not always get the cpu at the time slot > between > the task switch of two processes hogging that cpu to reset soft_watchdog_w

Re: [PATCH] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-21 Thread Chai Wen
On 08/21/2014 01:42 PM, chai wen wrote: > For now, soft lockup detector warns once for each case of process softlockup. > But the thread 'watchdog/n' may not always get the cpu at the time slot > between > the task switch of two processes hogging that cpu to reset soft_watchdog_warn. > > An exam

[PATCH] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-20 Thread chai wen
For now, soft lockup detector warns once for each case of process softlockup. But the thread 'watchdog/n' may not always get the cpu at the time slot between the task switch of two processes hogging that cpu to reset soft_watchdog_warn. An example would be two processes hogging the cpu. Process A