Re: [PATCH 1/10] Add generic helpers for arch IPI function calls

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, May 2, 2008 - 5:59 am

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.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/10] x86: convert to generic helpers for IPI f ..., Jeremy Fitzhardinge, (Tue Apr 29, 1:35 pm)
Re: [PATCH 2/10] x86: convert to generic helpers for IPI f ..., Jeremy Fitzhardinge, (Wed Apr 30, 7:51 am)
Re: [PATCH 2/10] x86: convert to generic helpers for IPI f ..., Jeremy Fitzhardinge, (Wed Apr 30, 2:39 pm)
Re: [PATCH 1/10] Add generic helpers for arch IPI function ..., Jeremy Fitzhardinge, (Wed Apr 30, 3:56 pm)
Re: [PATCH 1/10] Add generic helpers for arch IPI function ..., Peter Zijlstra, (Fri May 2, 5:59 am)