lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 8 Aug 2017 12:24:38 +0200
From:   Peter Zijlstra <peterz@...radead.org>
To:     Yafang Shao <laoar.shao@...il.com>
Cc:     gregkh@...uxfoundation.org, jslaby@...e.com, mingo@...hat.com,
        linux-kernel@...r.kernel.org
Subject: Re: [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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ