-- > @@ -5371,7 +5372,13 @@ int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask) > goto out; > } > > - p->cpus_allowed = new_mask; > + if (p->sched_class->set_cpus_allowed) > + p->sched_class->set_cpus_allowed(p, new_mask); > + else { > + p->cpus_allowed = new_mask; > + p->nr_cpus_allowed = cpus_weight(new_mask); > + } > + OK, forget everything I said on this topic. I must have replied while low on caffeine. I see here that you do the set_cpus_allowed code if defined _ELSE_ you just update the weight. So you do do what I asked. /me slaps himself to wakeup. -- Steve - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html