Re: [PATCH] RCU for low latency (experimental)

From: Andrew Morton
Date: Tue Mar 23 2004 - 05:27:02 EST


Dipankar Sarma <dipankar@xxxxxxxxxx> wrote:
>
> Here is the RCU patch for low scheduling latency Andrew was talking
> about in the other thread. I had done some measurements with
> amlat on a 2.4 GHz P4 xeon box with 256MB memory running dbench
> and it reduced worst case scheduling latencies from 800 microseconds
> to about 400 microseconds.
>
> It uses per-cpu kernel threads to execute excess callbacks and
> pretty much relies on preemption.

Is simple enough. Do you expect this will help with the route cache
reaping problem? I do think it's a bit hard to justify purely on the basis
of the scheduling latency goodness.

> + list_splice(&RCU_rcudlist(cpu), &list);
> + INIT_LIST_HEAD(&RCU_rcudlist(cpu));

We have list_splice_init().

-
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/