Re: [patch 3/7] softirq: avoid softirq_work_list for SCHED_SOFTIRQwhen sent remotely

From: Peter Zijlstra
Date: Thu May 20 2010 - 04:30:12 EST


On Thu, 2010-05-20 at 10:23 +0200, Jens Axboe wrote:
> On Thu, May 20 2010, David Miller wrote:
> > From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > Date: Thu, 20 May 2010 10:12:39 +0200
> >
> > > Most odd all that, Dave, Jens, what happened to all that remote_softirq
> > > stuff?
> >
> > Nobody ended up using this remote softirq infrastructure, it can be
> > completely deleted.
>
> What parts of it? There has been reworks of parts of the code since I
> added it, the block layer only uses __smp_call_function_single() to
> trigger remote softirqs.

Right, so __smp_call_function_single() is the normal remote ipi stuff
from kernel/smp.c, send_remote_softirq() is the pile of code in
kernel/softirq.c that uses that to tickle remote softirqs.

The 'problem' seems to be that the remote softirq code (not the ipi
bits) doesn't have any users and is quite complex and apparently
incomplete.

Suresh, would it make sense to do as Jens does and simply use
__smp_call_function_single() or do you think it still makes sense to
have a small wrapper and maybe share that with Jens?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/