Re: [PATCH 1/2] scalable rw_mutex

From: Andrew Morton
Date: Fri May 11 2007 - 14:06:01 EST


On Fri, 11 May 2007 10:07:17 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Fri, 11 May 2007, Andrew Morton wrote:
>
> > yipes. percpu_counter_sum() is expensive.
>
> Capable of triggering NMI watchdog on 4096+ processors?

Well. That would be a millisecond per cpu which sounds improbable. And
we'd need to be calling it under local_irq_save() which we presently don't.
And nobody has reported any problems against the existing callsites.

But it's no speed demon, that's for sure.
-
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/