Re: [PATCH 01/14] Per zone counter functionality

From: Andi Kleen
Date: Fri Jun 09 2006 - 00:41:03 EST


On Friday 09 June 2006 06:00, Andrew Morton wrote:
> On Thu, 8 Jun 2006 16:02:44 -0700 (PDT)
> Christoph Lameter <clameter@xxxxxxx> wrote:
>
> > Per zone counter infrastructure
> >
>
> Is the use of 8-bit accumulators more efficient than using 32-bit ones?
> Obviously it's better from a cache POV, given that we have a pretty large
> array of them. But is there a downside on some architectures in not using
> the natural wordsize?

Maybe on very old alphas which didn't have 8 bit stores. They need a RMW cycle.

Other than that i wouldn't expect any problems. RISCs will just do the usual
32bit add in registers, but do a 8bit load/store.

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