ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Вячеслав <slchess@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] 2.6.32-ovz-el-alt11 обновился ;(
Date: Thu, 17 Feb 2011 12:46:16 +0200
Message-ID: <201102171246.16494.slchess@gmail.com> (raw)
In-Reply-To: <AANLkTimYLgGqZGR3NRm0u9iNSbYQH05E7WG0pj66guiB@mail.gmail.com>

On Thursday 17 February 2011 10:31:30 Anton Protopopov wrote:
> > Хотя вроде и работает но эти сообщения напрягают.
>
> Это к upstream и если это происходит у вас стабильно, то повесьте,
> пожалуйста, багу на kernel версии rhel6-2.6.32 в bugzilla.openvz.org
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus

upstream уже пофиксил, когда у нас ждать?

---
 kernel/sched.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index c0de62e..c132c23 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2459,7 +2459,8 @@ void set_task_cpu(struct task_struct *p, unsigned int 
new_cpu)
 	 * We should never call set_task_cpu() on a blocked task,
 	 * ttwu() will sort out the placement.
 	 */
-	WARN_ON(p->state != TASK_RUNNING && p->state != TASK_WAKING);
+	WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING &&
+			!(task_thread_info(p)->preempt_count & PREEMPT_ACTIVE));
 #endif
 
 	trace_sched_migrate_task(p, new_cpu);


  reply	other threads:[~2011-02-17 10:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 17:00 Вячеслав
2011-02-17  8:31 ` Anton Protopopov
2011-02-17 10:46   ` Вячеслав [this message]
2011-02-17 11:00     ` Anton Protopopov
2011-02-17 16:41       ` Slava Dubrovskiy

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=201102171246.16494.slchess@gmail.com \
    --to=slchess@gmail.com \
    --cc=sisyphus@lists.altlinux.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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git