On Fri, 2008-05-02 at 05:42 -0700, Paul E. McKenney wrote:
The wish to do it anyway ;-)
I can imagine some situations where I'd like to try anyway and fall back
to a slower path when failing.
With the initial design we would simply allocate data, stick it on the
queue and call the ipi (when needed).
This is perfectly deadlock free when wait=0 and it just returns -ENOMEM
on allocation failure.
It it doesn't return -ENOMEM I know its been queued and will be
processed at some point, if it does fail, I can deal with it in another
way.
I know I'd like to do that and I suspect Nick has a few use cases up his
sleeve as well.
--