Return the nice value of a given task.
int task_nice(const struct task_struct * p);
p
the task in question.
The nice value [ -20 ... 0 ... 19 ].