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>] [day] [month] [year] [list]
Date:	Tue, 15 Mar 2016 15:54:44 +0200
From:	nad gam <nadavkernel@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: how to iterate through all tasks on a specific run queue?

I would like create a system call that iterate over all tasks in a
specific run queue .
the signature would be "iterateTasks(int cpu_x)",
which means - iterate over tasks in run queue belong to cpu number x .

 how do I do that?
I saw someone suggestion doing so from init_task with
"list_for_each_safe" macro, though Im not sure how to access init_task
of a specific cpu ?

Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ