Jan Kiszka : nucleus: Allow drop_u_mode syscall from any context
Quoted 10 lines · GIT version control
Module: xenomai-jki Branch: for-upstream Commit: 5597470d84584846875e8a35309e6302c768addf URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addfAuthor: Jan Kiszka <[email protected]> Date: Tue Jun 28 22:10:07 2011 +0200nucleus: Allow
drop_u_modesyscall from any context
Quoted 7 lines
xnshadow_sys_drop_u_modealready checks if the caller is a shadow. It does that without issuing a warning message if the check fails - in contrast todo_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 <[email protected]>
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
Signature · 1 line
Gilles.
Quoted 19 lines · Gilles Chanteperdrix
Quoted 10 lines · GIT version control
Module: xenomai-jki Branch: for-upstream Commit: 5597470d84584846875e8a35309e6302c768addf URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addfAuthor: Jan Kiszka <[email protected]> Date: Tue Jun 28 22:10:07 2011 +0200nucleus: Allow
drop_u_modesyscall from any contextQuoted 7 lines
xnshadow_sys_drop_u_modealready checks if the caller is a shadow. It does that without issuing a warning message if the check fails - in contrast todo_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 <[email protected]>
Quoted 7 lines
Jan,
I have a branch here, which allocates
u_modein 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
Quoted 25 lines · Jan Kiszka
Quoted 24 lines · Gilles Chanteperdrix
Quoted 10 lines · GIT version control
Module: xenomai-jki Branch: for-upstream Commit: 5597470d84584846875e8a35309e6302c768addf URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addfAuthor: Jan Kiszka <[email protected]> Date: Tue Jun 28 22:10:07 2011 +0200nucleus: Allow
drop_u_modesyscall from any contextQuoted 7 lines
xnshadow_sys_drop_u_modealready checks if the caller is a shadow. It does that without issuing a warning message if the check fails - in contrast todo_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 <[email protected]>Jan,
I have a branch here, which allocates
u_modein the shared heap, so, this syscall is about to become unnecessary.
Quoted 6 lines
Quoted 2 lines
See:
http://git.xenomai.org/?p=xenomai-gch.git;a=shortlog;h=refs/heads/u_modeEven 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.
Signature · 1 line
Gilles.
Quoted 29 lines · Gilles Chanteperdrix
Quoted 28 lines · Jan Kiszka
Quoted 26 lines · Gilles Chanteperdrix
Quoted 10 lines · GIT version control
Module: xenomai-jki Branch: for-upstream Commit: 5597470d84584846875e8a35309e6302c768addf URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=5597470d84584846875e8a35309e6302c768addfAuthor: Jan Kiszka <[email protected]> Date: Tue Jun 28 22:10:07 2011 +0200nucleus: Allow
drop_u_modesyscall from any contextQuoted 7 lines
xnshadow_sys_drop_u_modealready checks if the caller is a shadow. It does that without issuing a warning message if the check fails - in contrast todo_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 <[email protected]>Jan,
I have a branch here, which allocates
u_modein 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
Quoted 6 lines
Quoted 3 lines
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.
Quoted 2 lines
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