Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
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 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, >>> >>> 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 signature.asc Description: OpenPGP digital signature ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core
Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
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 >>> 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, >> >> 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. ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core
Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
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 >> 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, > > 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 signature.asc Description: OpenPGP digital signature ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core
Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
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 > 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, 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. ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core