Messages in this thread | | | Date | Wed, 19 Feb 2014 16:42:13 +0100 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH RT] kernel/hrtimer: be non-freezeable in cpu_chill() |
| |
On 02/19/2014 04:27 PM, Steven Rostedt wrote:
> Hmm, I wonder if this is because msleep() sets the tasks state to > TASK_UNINTERRUPTIBLE, and hrtimer_nanosleep sets it to > TASK_INTERRUPTIBLE.
No, it is because freezable_schedule() is called via do_nanosleep() in hrtimer call path and msleep() calls schedule() without it.
Sebastian
| |