lkml.org 
[lkml]   [2017]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] scheduler: enhancement to show_state_filter
On Tue, Aug 08, 2017 at 04:50:23PM +0800, Yafang Shao wrote:
> Hi Peter,
>
> The point is we call use it as bellow,
> show_state_filter(TASK_RUNNING);
> because TASK_RUNNING is 0, that will dump all tasks.
>
> Under some circumstance, we need this to dump only tasks in TASK_RUNNING state.

But the patch doesn't introduce any of that. It just makes the existing
code unreadable.

\
 
 \ /
  Last update: 2017-08-08 12:24    [W:0.156 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site