Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1315529
| From | Mike Galbraith <umgwanakikbuti@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [patch-rt] sched: fix ->nr_cpus_allowed = 1 transcription error during migrate_disable() cleanup |
| Date | 2016-01-23 08:20 +0100 |
| Message-ID | <qU0Eh-7KB-1@gated-at.bofh.it> (permalink) |
| References | <qTT06-2t8-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Setting p->nr_cpus_allowed accidentally wandered into migrate_disable() during the cleanup - kill it. Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com> --- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3180,7 +3180,6 @@ void migrate_disable(void) preempt_lazy_disable(); pin_current_cpu(); p->migrate_disable = 1; - p->nr_cpus_allowed = 1; preempt_enable(); } EXPORT_SYMBOL(migrate_disable);
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[patch-rt] sched: fix ->nr_cpus_allowed = 1 transcription error during migrate_disable() cleanup Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-23 08:20 +0100
csiph-web