All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] False positive XENO_BUGON(NUCLEUS, need_resched == 0)?
@ 2010-08-27  9:22 Jan Kiszka
  2010-08-27  9:43 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 21+ messages in thread
From: Jan Kiszka @ 2010-08-27  9:22 UTC (permalink / raw)
  To: xenomai-core

Hi,

I'm hitting that bug check in __xnpod_schedule after
xnintr_clock_handler issued a xnpod_schedule like this:

	if (--sched->inesting == 0) {
		__clrbits(sched->status, XNINIRQ);
		xnpod_schedule();
	}

Either the assumption behind the bug check is no longer correct (no call
to xnpod_schedule() without a real need), or we should check for
__xnpod_test_resched(sched) in xnintr_clock_handler (but under nklock then).

Comments?

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-09-01 11:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-27  9:22 [Xenomai-core] False positive XENO_BUGON(NUCLEUS, need_resched == 0)? Jan Kiszka
2010-08-27  9:43 ` Gilles Chanteperdrix
2010-08-27 12:32   ` Jan Kiszka
2010-08-27 12:39     ` Gilles Chanteperdrix
2010-08-27 17:09       ` Jan Kiszka
2010-08-27 17:29         ` Gilles Chanteperdrix
2010-08-27 17:31           ` Gilles Chanteperdrix
2010-08-27 17:51             ` Jan Kiszka
2010-08-27 18:01               ` Gilles Chanteperdrix
2010-08-27 18:09                 ` Jan Kiszka
2010-08-28 16:40                   ` Philippe Gerum
2010-08-30  8:51                     ` Jan Kiszka
2010-08-30  9:15                       ` Jan Kiszka
2010-08-30 15:11                       ` Philippe Gerum
2010-08-30 15:39                         ` Jan Kiszka
2010-08-31  7:09                           ` Philippe Gerum
2010-08-31 14:52                             ` Philippe Gerum
2010-09-01  8:39                             ` Gilles Chanteperdrix
2010-09-01 10:52                               ` Philippe Gerum
2010-09-01 11:12                                 ` Gilles Chanteperdrix
2010-08-30 15:52                         ` Gilles Chanteperdrix

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.