All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Kirby <sim@hostway.ca>
To: linux-kernel@vger.kernel.org, Peter Zijlstra <peterz@infradead.org>
Subject: [PATCH] Re: 3.1-rc6: wchan not working
Date: Thu, 22 Sep 2011 17:03:46 -0700	[thread overview]
Message-ID: <20110923000346.GA25425@hostway.ca> (raw)
In-Reply-To: <20110922230647.GC503@hostway.ca>

On Thu, Sep 22, 2011 at 04:06:47PM -0700, Simon Kirby wrote:

> Without changing .config, /proc/x/wchan seems to now print "schedule" for
> everything; eg, with 0x.ca/sim/ref/3.1-rc6-blue/config-3.1.0-rc6-blue+
> as the .config. I'm currently bisecting a few other regressions as well,
> but will add this to the list, unless it's obvious to anyone...

Probably introduced by c259e01a1ec90063042f758e409cd26b2a0963c8

This patch from Peter (who should probably sign off on it) seems to work:

Tested-by: Simon Kirby <sim@hostway.ca>

diff --git a/kernel/sched.c b/kernel/sched.c
index ec5f472..d249ea8 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4372,7 +4372,7 @@ static inline void sched_submit_work(struct task_struct *tsk)
 		blk_schedule_flush_plug(tsk);
 }
 
-asmlinkage void schedule(void)
+asmlinkage void __sched schedule(void)
 {
 	struct task_struct *tsk = current;
 

Simon-

      reply	other threads:[~2011-09-23  0:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 23:06 3.1-rc6: wchan not working Simon Kirby
2011-09-23  0:03 ` Simon Kirby [this message]

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=20110923000346.GA25425@hostway.ca \
    --to=sim@hostway.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.