Re: Making spl7 just cli/sti?

2014-12-14 Thread Samuel Thibault
Samuel Thibault, le Sun 14 Dec 2014 17:59:24 +0100, a écrit : > Richard Braun, le Sun 14 Dec 2014 15:44:44 +0100, a écrit : > > If the critical sections protected by this lock are all small enough, > > granularity tends to matter much less. My point being that this could > > be generalized for all

Re: Making spl7 just cli/sti?

2014-12-14 Thread Samuel Thibault
Richard Braun, le Sun 14 Dec 2014 15:44:44 +0100, a écrit : > If the critical sections protected by this lock are all small enough, > granularity tends to matter much less. My point being that this could > be generalized for all IPLs, Yes, but investigation is needed to make sure that the protecte

Re: Making spl7 just cli/sti?

2014-12-14 Thread Richard Braun
On Sun, Dec 14, 2014 at 03:44:44PM +0100, Richard Braun wrote: > No, and in fact, I don't like the idea of SPL/IPL. For example, Linux > doesn't care about them and merely disables or enables interrupts at > the processor level, the semantics being all or nothing, and it shows > it works quite well

Re: Making spl7 just cli/sti?

2014-12-14 Thread Richard Braun
On Sun, Dec 14, 2014 at 02:44:08AM +0100, Samuel Thibault wrote: > Does anybody with a bit of background with spl (I guess Richard?) see > any red flag here? No, and in fact, I don't like the idea of SPL/IPL. For example, Linux doesn't care about them and merely disables or enables interrupts at t