Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-11 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > The attached version of the patch do that. > > Fine with me, please merge as you see fit. Details follow: > > > +++ include/nucleus/ppd.h 2006-05-10 14:27:11.0 +0200 > > @@ -0,0 +1,26 @@ > > +#i

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-11 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > The attached version of the patch do that. > > Fine with me, please merge as you see fit. Details follow: > > > +++ include/nucleus/ppd.h 2006-05-10 14:27:11.0 +0200 > > @@ -0,0 +1,26 @@ > > +#ifndef PPD_H > > +#define PPD_

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-11 Thread Philippe Gerum
Gilles Chanteperdrix wrote: The attached version of the patch do that. Fine with me, please merge as you see fit. Details follow: +++ include/nucleus/ppd.h 2006-05-10 14:27:11.0 +0200 @@ -0,0 +1,26 @@ +#ifndef PPD_H +#define PPD_H + Given that ppds are shadow-specific, I would

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-10 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Philippe Gerum wrote: > > > Gilles Chanteperdrix wrote: > > > > Gilles Chanteperdrix wrote: > > > > > These patches are not ready for inclusion, they are not tested > > > > > yet. > > > > > > > > The attached versions are test

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-09 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Gilles Chanteperdrix wrote: > > > These patches are not ready for inclusion, they are not tested > > > yet. > > > > The attached versions are tested. I still wonder if handling this in > > shadow.c is t

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-09 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Gilles Chanteperdrix wrote: > > > These patches are not ready for inclusion, they are not tested > > > yet. > > > > The attached versions are tested. I still wonder if handling this in > > shadow.c is the right solution, or if there

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: > These patches are not ready for inclusion, they are not tested > yet. The attached versions are tested. I still wonder if handling this in shadow.c is the right solution, or if there should be an xnppd_set call that could be called from

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-08 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Gilles Chanteperdrix wrote: > > These patches are not ready for inclusion, they are not tested > > yet. > > The attached versions are tested. ...but the kernel patch is buggy. Here are the corrected versions. --

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-08 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: > > Likely I did not yet get the full picture: What prevents using another > > adeos per-task key for this? > > We would need a per-task key for every skin that needs a per-process > data, Not necessarily, we could attach a chain of per-skin data

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-08 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > These patches are not ready for inclusion, they are not tested > yet. The attached versions are tested. I still wonder if handling this in shadow.c is the right solution, or if there should be an xnppd_set call that could be called from within the skins event callba

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-08 Thread Gilles Chanteperdrix
Dmitry Adamushko wrote: > On 08/05/06, Gilles Chanteperdrix <[EMAIL PROTECTED]> wrote: > > Jan Kiszka wrote: > > > Likely I did not yet get the full picture: What prevents using another > > > adeos per-task key for this? > > > > We would need a per-task key for every skin that needs a per-p

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-08 Thread Dmitry Adamushko
On 08/05/06, Gilles Chanteperdrix <[EMAIL PROTECTED]> wrote: Jan Kiszka wrote: > Likely I did not yet get the full picture: What prevents using another > adeos per-task key for this? We would need a per-task key for every skin that needs a per-process data, but more importantly, we would need

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-07 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Likely I did not yet get the full picture: What prevents using another > adeos per-task key for this? We would need a per-task key for every skin that needs a per-process data, but more importantly, we would need to track the clone syscalls (that would be another adeos event

Re: [Xenomai-core] [RFC][patch] per-process data.

2006-05-07 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Hi, > > for review, here are patches that provide Xenomai skins with a > per-process per-skin data structures. It will allow skins to do > per-process cleanup for example, or the posix skin to maintain a > per-process signal mask. That sounds promising! > > In orde

[Xenomai-core] [RFC][patch] per-process data.

2006-05-07 Thread Gilles Chanteperdrix
Hi, for review, here are patches that provide Xenomai skins with a per-process per-skin data structures. It will allow skins to do per-process cleanup for example, or the posix skin to maintain a per-process signal mask. In order to use it, the skins must pass an eventcb function to the xnshadow