do_each_thread: remove alway true

This commit is contained in:
zy
2023-11-27 22:24:06 -05:00
parent 5e650478fb
commit 57a8972aa4

View File

@@ -329,7 +329,7 @@ int diag_test(int nid) {
do_each_thread(g, p) {
if (p->__state == TASK_RUNNING || __task_contributes_to_load(p) ||
p->__state == TASK_IDLE || 1) {
p->__state == TASK_IDLE) {
get_task_struct(p);