mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Nedko Arnaudov <nedko@arnaudov.name>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Re: sched.c:659 dec_rt_tasks BUG with patch-2.6.15-rt1 (realtime-preempt)
Date: Thu, 05 Jan 2006 07:19:12 -0500	[thread overview]
Message-ID: <1136463552.12468.119.camel@localhost.localdomain> (raw)
In-Reply-To: <87u0cj3saf.fsf@arnaudov.name>

On Thu, 2006-01-05 at 12:03 +0200, Nedko Arnaudov wrote:
> Steven Rostedt <rostedt@goodmis.org> writes:
> 
> > Could you send me your .config.  And this is a smp machine right?
> 
> No it is not. Sending you my config personally.
> 

The reason that I asked is that sched.c:659 looks like this:

static inline void dec_rt_tasks(task_t *p, runqueue_t *rq)
{
#if defined(CONFIG_PREEMPT_RT) && defined(CONFIG_SMP)
	if (rt_task(p)) {
		WARN_ON(!rq->rt_nr_running);
		rq->rt_nr_running--;
		if (rq->rt_nr_running == 1)
			atomic_dec(&rt_overload);
	}
#endif
}

And so that will only get into that path on a SMP configured system. But
although you are not running on an SMP machine, here's what's in
your .config.

CONFIG_SMP=y
CONFIG_NR_CPUS=8

Although this should not bug, and I'm going to try this config on a UP
machine myself to see if I can reproduce your problem, I'd suggest to
you to turn off the SMP configuration.

-- Steve



  reply	other threads:[~2006-01-05 12:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ek3ug314.fsf@arnaudov.name>
2006-01-02 21:35 ` patch-2.6.15-rc7-rt2 (realtime-preempt) report Nedko Arnaudov
2006-01-02 21:45   ` Ingo Molnar
2006-01-02 23:10     ` Michal Piotrowski
2006-01-02 23:15     ` Florian Schmidt
2006-01-02 23:21     ` patch-2.6.15-rc7-rt3 " Nedko Arnaudov
2006-01-02 23:56       ` Nedko Arnaudov
2006-01-05  2:37       ` sched.c:659 dec_rt_tasks BUG with patch-2.6.15-rt1 (realtime-preempt) Nedko Arnaudov
2006-01-05  4:44         ` Steven Rostedt
2006-01-05 10:03           ` Nedko Arnaudov
2006-01-05 12:19             ` Steven Rostedt [this message]
2006-01-05 14:32               ` Nedko Arnaudov
2006-01-05 14:39                 ` Steven Rostedt
2006-01-05 15:15                   ` Nedko Arnaudov
2006-01-07  1:05                     ` Steven Rostedt
2006-01-07  2:10                       ` Steven Rostedt

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=1136463552.12468.119.camel@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=nedko@arnaudov.name \
    /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