From: Jan Kiszka <jan.kiszka@siemens.com>
To: xenomai@xenomai.org, Philippe Gerum <rpm@xenomai.org>
Subject: Re: [Xenomai] Philippe Gerum : cobalt/thread: generalize usage of -> lock_count for preemption control
Date: Thu, 02 Jul 2015 15:37:05 +0200 [thread overview]
Message-ID: <55953E81.7020505@siemens.com> (raw)
In-Reply-To: <E1ZAZ7w-0003gL-BC@sd-51317.xenomai.org>
On 2015-07-02 09:41, git repository hosting wrote:
> Module: xenomai-3
> Branch: next
> Commit: 97e32440e9675ba91cdf80b320a35979b935dd8c
> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=97e32440e9675ba91cdf80b320a35979b935dd8c
>
> Author: Philippe Gerum <rpm@xenomai.org>
> Date: Tue Jun 30 20:36:25 2015 +0200
>
> cobalt/thread: generalize usage of ->lock_count for preemption control
>
> XNLOCK is uselessly mirroring only part of the information
> ->lock_count conveys.
>
> We only need to keep XNLOCK as a mode bit in the ABI between the
> Cobalt core and lib/cobalt for switching the lock from user-space,
> using ->lock_count internally for testing the current preemption
> state.
>
What about the mode listing in /proc/xenomai/sched/threads? I think it
will not work anymore right now, but likely it's useful to keep this.
The registry daemon should be fine as it builds on top of the
user/kernel ABI, right?
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
next parent reply other threads:[~2015-07-02 13:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1ZAZ7w-0003gL-BC@sd-51317.xenomai.org>
2015-07-02 13:37 ` Jan Kiszka [this message]
2015-07-02 13:46 ` [Xenomai] Philippe Gerum : cobalt/thread: generalize usage of -> lock_count for preemption control Philippe Gerum
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=55953E81.7020505@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.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.