mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Michael wang <wangyun@linux.vnet.ibm.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>,
	Ingo Molnar <mingo@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [sched] WARNING: CPU: 0 PID: 3166 at kernel/cpu.c:84 put_online_cpus()
Date: Tue, 22 Oct 2013 22:46:59 +0200	[thread overview]
Message-ID: <20131022204659.GE2490@laptop.programming.kicks-ass.net> (raw)
In-Reply-To: <52649F5E.2080303@linux.vnet.ibm.com>

On Mon, Oct 21, 2013 at 11:28:30AM +0800, Michael wang wrote:
> Hi, Fengguang
> 
> On 10/19/2013 08:51 AM, Fengguang Wu wrote:
> > Greetings,
> 
> Will this do any helps?
> 
> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> index c06b8d3..7c61f31 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -3716,7 +3716,6 @@ long sched_setaffinity(pid_t pid, const struct
> cpumask *in_mask)
>         p = find_process_by_pid(pid);
>         if (!p) {
>                 rcu_read_unlock();
> -               put_online_cpus();
>                 return -ESRCH;
>         }

Just so..

  reply	other threads:[~2013-10-22 20:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-19  0:51 Fengguang Wu
2013-10-21  3:28 ` Michael wang
2013-10-22 20:46   ` Peter Zijlstra [this message]
2013-10-23  2:40     ` Michael wang
2013-10-22 20:46 ` Peter Zijlstra
2013-10-22 21:24   ` Fengguang Wu
2013-10-23  2:47     ` Michael wang

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=20131022204659.GE2490@laptop.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=wangyun@linux.vnet.ibm.com \
    /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

Powered by JetHome