Re: [PATCH 3/6] dataplane nohz: run softirqs synchronously on user entry

From: Mike Galbraith
Date: Sat May 09 2015 - 03:04:13 EST

On Fri, 2015-05-08 at 13:58 -0400, Chris Metcalf wrote:
> For tasks which have elected dataplane functionality, we run
> any pending softirqs for the core before returning to userspace,
> rather than ever scheduling ksoftirqd to run. The problem we
> fix is that by allowing another task to run on the core, we
> guarantee more interrupts in the future to the dataplane task,
> which is exactly what dataplane mode is required to prevent.

If ksoftirqd were rt class, softirqs would be gone when the soloist gets
the CPU back and heads to userspace. Being a soloist, it has no use for
a priority, so why can't it just let ksoftirqd run if it raises the
occasional softirq? Meeting a contended lock while processing it will
wreck the soloist regardless of who does that processing.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at