Re: [patch 02/11] syslets: add syslet.h include file, user API/ABI definitions

2007-02-18 Thread Paul Mackerras
Ingo Molnar writes: > add include/linux/syslet.h which contains the user-space API/ABI > declarations. Add the new header to include/linux/Kbuild as well. > +struct syslet_uatom { > + unsigned long flags; > + unsigned long nr; > + lo

Re: [patch 02/11] syslets: add syslet.h include file, user API/ABI definitions

2007-02-13 Thread Ingo Molnar
* Indan Zupancic <[EMAIL PROTECTED]> wrote: > What I propose: > > atom1 returns 0, has SYSLET_STOP_ON_ZERO|SYSLET_SKIP_NEXT_ON_STOP set > atom2 > atom3 > > (You've already used my SYSLET_SKIP_NEXT_ON_STOP instead of > SYSLET_SKIP_TO_NEXT_ON_STOP. ;-) doh. Yes. I noticed and

Re: [patch 02/11] syslets: add syslet.h include file, user API/ABI definitions

2007-02-13 Thread Indan Zupancic
On Tue, February 13, 2007 22:43, Ingo Molnar wrote: > * Indan Zupancic <[EMAIL PROTECTED]> wrote: >> A >> | >> B<--. >> | | >> C---' >> >> What will be the previous atom of B here? It can be either A or C, but >> their return values can be different and incompatible, so what flag >> sho

Re: [patch 02/11] syslets: add syslet.h include file, user API/ABI definitions

2007-02-13 Thread Ingo Molnar
* Indan Zupancic <[EMAIL PROTECTED]> wrote: > > + * Execution control: conditions upon the return code > > + * of the previous syslet atom. 'Stop' means syslet > > + * execution is stopped and the atom is put into the > > + * completion ring: > > + */ > > +#define SYSLET_STOP_ON_NONZERO

Re: [patch 02/11] syslets: add syslet.h include file, user API/ABI definitions

2007-02-13 Thread Indan Zupancic
On Tue, February 13, 2007 15:20, Ingo Molnar wrote: > +/* > + * Execution control: conditions upon the return code > + * of the previous syslet atom. 'Stop' means syslet > + * execution is stopped and the atom is put into the > + * completion ring: > + */ > +#define SYSLET_STOP_ON_NONZERO

[patch 02/11] syslets: add syslet.h include file, user API/ABI definitions

2007-02-13 Thread Ingo Molnar
From: Ingo Molnar <[EMAIL PROTECTED]> add include/linux/syslet.h which contains the user-space API/ABI declarations. Add the new header to include/linux/Kbuild as well. Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Arjan van de Ven <[EMAIL PROTECTED]> --- include/linux/Kbuild |