All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Issue in __threadobj_unlock_sched (forge/mercury)
@ 2014-05-01 11:42 Matthias Schneider
  2014-05-01 12:54 ` Philippe Gerum
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Schneider @ 2014-05-01 11:42 UTC (permalink / raw)
  To: xenomai

Hi all,

it seems __threadobj_unlock_sched has a slight bug
and does not reset the current->policy value.
This leads to the old policy being restored, but
no longer being available for the next
__threadobj_lock_sched / __threadobj_unlock_sched
call pair.

The attached patch fixes it.

Regards,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unlock_sched_fix.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140501/95ff33ab/attachment.bin>

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

end of thread, other threads:[~2014-05-19 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-01 11:42 [Xenomai] Issue in __threadobj_unlock_sched (forge/mercury) Matthias Schneider
2014-05-01 12:54 ` Philippe Gerum
2014-05-01 14:23   ` Matthias Schneider
2014-05-02  8:27     ` Philippe Gerum
2014-05-17 14:20       ` Matthias Schneider
2014-05-19 13:38         ` Philippe Gerum

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.