>>>>> "anton" == Anton Blanchard <[EMAIL PROTECTED]> writes:

>> > 2nd Question:  Is there a sane way to queue an operation to be done in
>> >                each specific CPU?
>> 
>> smp_call_function().

anton> The slab code was using smp_call_function until davem fixed it.

anton> On sparc blocking interrupts does not block the reception of cpu cross
anton> calls, so you cannot do anything like grab locks within a called function.

Hi
        I have just dono a (2nd version of the patch).  This version
        uses smp_call_function, but don't grab any lock inside.  I
        sent the version to the list.  It is also at:

http://carpanta.dc.fi.udc.es/~quintela/kernel/2.4.0-test9-pre7/slab_02.patch

Could you test if it is now safe in SMP Sparc also????  (/me has no
SMP Sparc's around nor knoledge about them :(

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to