Re: [PATCH] sched: Simplify cpu-hot-unplug task migration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, November 18, 2010 - 7:24 am

On Thu, 2010-11-18 at 15:05 +0100, Oleg Nesterov wrote:

Hmm, I think you're right, although I haven't hit that case during
testing.

There is no firm guarantee the dying cpu actually got to running the
idle thread (there's a guarantee it will at some point), so we ought to
maintain that wait-loop, possibly using cpu_relax(), I don't see the
point in calling yield() here.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sched: Simplify cpu-hot-unplug task migration, Peter Zijlstra, (Mon Nov 15, 1:06 pm)
Re: [PATCH] sched: Simplify cpu-hot-unplug task migration, Oleg Nesterov, (Wed Nov 17, 12:27 pm)
Re: [PATCH] sched: Simplify cpu-hot-unplug task migration, Peter Zijlstra, (Wed Nov 17, 12:42 pm)
Re: [PATCH] sched: Simplify cpu-hot-unplug task migration, Oleg Nesterov, (Thu Nov 18, 7:05 am)
[tip:sched/core] sched: Simplify cpu-hot-unplug task migration, tip-bot for Peter Zi ..., (Thu Nov 18, 7:09 am)
Re: [PATCH] sched: Simplify cpu-hot-unplug task migration, Peter Zijlstra, (Thu Nov 18, 7:24 am)
Re: [PATCH] sched: Simplify cpu-hot-unplug task migration, Oleg Nesterov, (Thu Nov 18, 8:32 am)