* [Xenomai] CONFIG_CONTEXT_TRACKING
@ 2013-08-31 11:50 Gilles Chanteperdrix
2013-08-31 13:56 ` Philippe Gerum
0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2013-08-31 11:50 UTC (permalink / raw)
To: Xenomai
Hi,
this new option popped up in ARM's entry.S, what do other arches do, do
we support it? or do we forbid the option with CONFIG_IPIPE?
Regards.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] CONFIG_CONTEXT_TRACKING
2013-08-31 11:50 [Xenomai] CONFIG_CONTEXT_TRACKING Gilles Chanteperdrix
@ 2013-08-31 13:56 ` Philippe Gerum
2013-08-31 13:57 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2013-08-31 13:56 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai
On 08/31/2013 01:50 PM, Gilles Chanteperdrix wrote:
>
> Hi,
>
> this new option popped up in ARM's entry.S, what do other arches do, do
> we support it? or do we forbid the option with CONFIG_IPIPE?
>
Full nohz is desirable for an increasing number of users who have
requirements on power consumption, so enabling context tracking for our
supported archs seems desirable too.
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] CONFIG_CONTEXT_TRACKING
2013-08-31 13:56 ` Philippe Gerum
@ 2013-08-31 13:57 ` Gilles Chanteperdrix
2013-08-31 14:51 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2013-08-31 13:57 UTC (permalink / raw)
To: Philippe Gerum; +Cc: Xenomai
On 08/31/2013 03:56 PM, Philippe Gerum wrote:
> On 08/31/2013 01:50 PM, Gilles Chanteperdrix wrote:
>>
>> Hi,
>>
>> this new option popped up in ARM's entry.S, what do other arches do, do
>> we support it? or do we forbid the option with CONFIG_IPIPE?
>>
>
> Full nohz is desirable for an increasing number of users who have
> requirements on power consumption, so enabling context tracking for our
> supported archs seems desirable too.
>
Is replacing the test
if (in_interrupt())
in user_enter and user_exit with
if (ipipe_root_p == 0 || in_interrupt())
sufficient? Or do we want to also track user context for tasks running
in Xenomai domain.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] CONFIG_CONTEXT_TRACKING
2013-08-31 13:57 ` Gilles Chanteperdrix
@ 2013-08-31 14:51 ` Gilles Chanteperdrix
0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2013-08-31 14:51 UTC (permalink / raw)
To: Philippe Gerum; +Cc: Xenomai
On 08/31/2013 03:57 PM, Gilles Chanteperdrix wrote:
> On 08/31/2013 03:56 PM, Philippe Gerum wrote:
>> On 08/31/2013 01:50 PM, Gilles Chanteperdrix wrote:
>>>
>>> Hi,
>>>
>>> this new option popped up in ARM's entry.S, what do other arches do, do
>>> we support it? or do we forbid the option with CONFIG_IPIPE?
>>>
>>
>> Full nohz is desirable for an increasing number of users who have
>> requirements on power consumption, so enabling context tracking for our
>> supported archs seems desirable too.
>>
>
> Is replacing the test
>
> if (in_interrupt())
>
> in user_enter and user_exit with
>
> if (ipipe_root_p == 0 || in_interrupt())
>
> sufficient? Or do we want to also track user context for tasks running
> in Xenomai domain.
>
The reason I ask is because avoiding the call to user_enter for a task
running in Xenomai domain is possible, however avoiding the call to
user_exit implies calling an equivalent of ipipe_root_p for each kernel
entry point, so, entering user_exit and adding the call to ipipe_root_p
there seems easier, simply adding a function call on the way.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-31 14:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-31 11:50 [Xenomai] CONFIG_CONTEXT_TRACKING Gilles Chanteperdrix
2013-08-31 13:56 ` Philippe Gerum
2013-08-31 13:57 ` Gilles Chanteperdrix
2013-08-31 14:51 ` 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.