is_idle_task(9) is the specified task an idle task?

SYNOPSIS

bool is_idle_task(const struct task_struct * p);

ARGUMENTS

p

the task in question.

RETURN

1 if p is an idle task. 0 otherwise.

COPYRIGHT