From: Mike Galbraith <umgwanakikbuti@gmail.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-rt-users <linux-rt-users@vger.kernel.org>,
Steven Rostedt <rostedt@goodmis.org>
Subject: [patch-rt] sched: fix ->nr_cpus_allowed = 1 transcription error during migrate_disable() cleanup
Date: Sat, 23 Jan 2016 08:11:53 +0100 [thread overview]
Message-ID: <1453533113.3798.3.camel@gmail.com> (raw)
In-Reply-To: <20160122230859.GC3883@linutronix.de>
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);
next prev parent reply other threads:[~2016-01-23 7:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 23:08 [ANNOUNCE] 4.4-rt3 Sebastian Andrzej Siewior
2016-01-23 7:11 ` Mike Galbraith [this message]
2016-02-01 12:45 ` [patch-rt] sched: fix ->nr_cpus_allowed = 1 transcription error during migrate_disable() cleanup Sebastian Andrzej Siewior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453533113.3798.3.camel@gmail.com \
--to=umgwanakikbuti@gmail.com \
--cc=bigeasy@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).