[RFC 0/3] rt: Some fixes for migrate_disable/enable

From: Daniel Bristot de Oliveira
Date: Fri Jun 16 2017 - 06:40:07 EST

This RFC suggest three changes from the migrate disable/enable
mechanism. Two of them are fixes, and the last one is a

As migrate_disable/enable is RT specific, this patch set is
RT specific.

Daniel Bristot de Oliveira (3):
rt: Increase/decrease the nr of migratable tasks when
enabling/disabling migration
rt: Update nr_cpus_allowed if the affinity of a task changes while its
migration is disabled
rt: Checks if task needs migration when re-enabling migration

kernel/sched/core.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 57 insertions(+), 1 deletion(-)