can the scheduler decide to schedule an interrupted but runnable thread on another CPU core? What are the implications for code?

Adrian Chadd adrian at freebsd.org
Fri Feb 14 19:18:31 UTC 2014


On 14 February 2014 10:18, John Baldwin <jhb at freebsd.org> wrote:

> If they are all cpuset to a single CPU, they should not migrate, though
> I think sched_bind() can override that.  However, that requires code to
> explicitly call sched_bind() which should be rare.

Yup. That's why I'm confused.

I'm rebuilding -HEAD now with the latest flowtable changes. I'll add
in my debugging afterward and trigger the particular scenario where
it's behaving badly and do some more diagnostics.

Thanks,


-a


More information about the freebsd-arch mailing list