Re: [RFC PATCH 5/6] implement per-cpu&per-domain state machinecall_srcu()

From: Paul E. McKenney
Date: Mon Mar 12 2012 - 13:55:26 EST


On Sat, Mar 10, 2012 at 11:09:53AM +0100, Peter Zijlstra wrote:
> On Thu, 2012-03-08 at 11:58 -0800, Paul E. McKenney wrote:
> >
> > But I guess I should ask... Peter, what do you expect the maximum
> > call_srcu() rate to be in your use cases? If tens of thousands are
> > possible, some adjustments will be needed.
>
> The one call-site I currently have is linked to vma lifetimes, so yeah,
> I guess that that can be lots.

So the worst case would be if several processes with lots of VMAs were
to exit at about the same time? If so, my guess is that call_srcu()
needs to handle several thousand callbacks showing up within a few
tens of microseconds. Is that a reasonable assumption, or am I missing
an order of magnitude or two in either direction?

Thanx, Paul

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