* Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
[not found] <E1QbfP2-0008Go-2L@xenomai.org>
@ 2011-06-28 21:29 ` Gilles Chanteperdrix
2011-06-29 7:06 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2011-06-28 21:29 UTC (permalink / raw)
To: Xenomai core
On 06/28/2011 11:01 PM, GIT version control wrote:
> Module: xenomai-jki
> Branch: for-upstream
> Commit: 5597470d84584846875e8a35309e6302c768addf
> URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addf
>
> Author: Jan Kiszka <jan.kiszka@domain.hid>
> Date: Tue Jun 28 22:10:07 2011 +0200
>
> nucleus: Allow drop_u_mode syscall from any context
>
> xnshadow_sys_drop_u_mode already checks if the caller is a shadow. It
> does that without issuing a warning message if the check fails - in
> contrast to do_hisyscall_event. As user space may call this cleanup
> service even for non-shadow threads (e.g. after shadow creation failed),
> we better silence this warning.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
Jan,
I have a branch here, which allocates u_mode in the shared heap, so,
this syscall is about to become unnecessary.
See:
http://git.xenomai.org/?p=xenomai-gch.git;a=shortlog;h=refs/heads/u_mode
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
2011-06-28 21:29 ` [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context Gilles Chanteperdrix
@ 2011-06-29 7:06 ` Jan Kiszka
2011-06-29 7:25 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2011-06-29 7:06 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai core
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
On 2011-06-28 23:29, Gilles Chanteperdrix wrote:
> On 06/28/2011 11:01 PM, GIT version control wrote:
>> Module: xenomai-jki
>> Branch: for-upstream
>> Commit: 5597470d84584846875e8a35309e6302c768addf
>> URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addf
>>
>> Author: Jan Kiszka <jan.kiszka@domain.hid>
>> Date: Tue Jun 28 22:10:07 2011 +0200
>>
>> nucleus: Allow drop_u_mode syscall from any context
>>
>> xnshadow_sys_drop_u_mode already checks if the caller is a shadow. It
>> does that without issuing a warning message if the check fails - in
>> contrast to do_hisyscall_event. As user space may call this cleanup
>> service even for non-shadow threads (e.g. after shadow creation failed),
>> we better silence this warning.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
>
> Jan,
>
> I have a branch here, which allocates u_mode in the shared heap, so,
> this syscall is about to become unnecessary.
>
> See:
> http://git.xenomai.org/?p=xenomai-gch.git;a=shortlog;h=refs/heads/u_mode
Even better. When do you plan to merge all this? I'd like to finally fix
the various MPS fastlock breakages, specifically as they overlap with
other issues there.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
2011-06-29 7:06 ` Jan Kiszka
@ 2011-06-29 7:25 ` Gilles Chanteperdrix
2011-06-29 7:31 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2011-06-29 7:25 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Xenomai core
On 06/29/2011 09:06 AM, Jan Kiszka wrote:
> On 2011-06-28 23:29, Gilles Chanteperdrix wrote:
>> On 06/28/2011 11:01 PM, GIT version control wrote:
>>> Module: xenomai-jki
>>> Branch: for-upstream
>>> Commit: 5597470d84584846875e8a35309e6302c768addf
>>> URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addf
>>>
>>> Author: Jan Kiszka <jan.kiszka@domain.hid>
>>> Date: Tue Jun 28 22:10:07 2011 +0200
>>>
>>> nucleus: Allow drop_u_mode syscall from any context
>>>
>>> xnshadow_sys_drop_u_mode already checks if the caller is a shadow. It
>>> does that without issuing a warning message if the check fails - in
>>> contrast to do_hisyscall_event. As user space may call this cleanup
>>> service even for non-shadow threads (e.g. after shadow creation failed),
>>> we better silence this warning.
>>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
>>
>> Jan,
>>
>> I have a branch here, which allocates u_mode in the shared heap, so,
>> this syscall is about to become unnecessary.
>>
>> See:
>> http://git.xenomai.org/?p=xenomai-gch.git;a=shortlog;h=refs/heads/u_mode
>
> Even better. When do you plan to merge all this? I'd like to finally fix
> the various MPS fastlock breakages, specifically as they overlap with
> other issues there.
I would like to give a chance to Philippe to have a look at it before it
is merged (especially the commit using an adeos ptd).
Normally, the MPS fastlock issues are solved in this branch.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
2011-06-29 7:25 ` Gilles Chanteperdrix
@ 2011-06-29 7:31 ` Jan Kiszka
0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2011-06-29 7:31 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: Xenomai core
[-- Attachment #1: Type: text/plain, Size: 1806 bytes --]
On 2011-06-29 09:25, Gilles Chanteperdrix wrote:
> On 06/29/2011 09:06 AM, Jan Kiszka wrote:
>> On 2011-06-28 23:29, Gilles Chanteperdrix wrote:
>>> On 06/28/2011 11:01 PM, GIT version control wrote:
>>>> Module: xenomai-jki
>>>> Branch: for-upstream
>>>> Commit: 5597470d84584846875e8a35309e6302c768addf
>>>> URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addf
>>>>
>>>> Author: Jan Kiszka <jan.kiszka@domain.hid>
>>>> Date: Tue Jun 28 22:10:07 2011 +0200
>>>>
>>>> nucleus: Allow drop_u_mode syscall from any context
>>>>
>>>> xnshadow_sys_drop_u_mode already checks if the caller is a shadow. It
>>>> does that without issuing a warning message if the check fails - in
>>>> contrast to do_hisyscall_event. As user space may call this cleanup
>>>> service even for non-shadow threads (e.g. after shadow creation failed),
>>>> we better silence this warning.
>>>>
>>>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
>>>
>>> Jan,
>>>
>>> I have a branch here, which allocates u_mode in the shared heap, so,
>>> this syscall is about to become unnecessary.
>>>
>>> See:
>>> http://git.xenomai.org/?p=xenomai-gch.git;a=shortlog;h=refs/heads/u_mode
>>
>> Even better. When do you plan to merge all this? I'd like to finally fix
>> the various MPS fastlock breakages, specifically as they overlap with
>> other issues there.
>
> I would like to give a chance to Philippe to have a look at it before it
> is merged (especially the commit using an adeos ptd).
OK.
>
> Normally, the MPS fastlock issues are solved in this branch.
Only the previously discussed leak. MSP-disabled is still oopsing, and
error clean up is also broken - but not only for MPS.
I'll base my fixes on top of your branch.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-29 7:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1QbfP2-0008Go-2L@xenomai.org>
2011-06-28 21:29 ` [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context Gilles Chanteperdrix
2011-06-29 7:06 ` Jan Kiszka
2011-06-29 7:25 ` Gilles Chanteperdrix
2011-06-29 7:31 ` Jan Kiszka
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.