Is the specified task an idle task?
bool is_idle_task(const struct task_struct * p);
p
the task in question.
1 if p is an idle task. 0 otherwise.