Re: Small perf optimization

From: Arnaldo Carvalho de Melo
Date: Thu Jul 22 2010 - 12:21:47 EST


Em Thu, Jul 22, 2010 at 12:11:49PM -0400, Ulrich Drepper escreveu:
> Before this bad practice of using arrays of string pointers to constant
> strings further spreads let's fix it. With this change not only is the
> entire data associated with the arrays read-only, it also replaces a
> memory lookup with a trivial arithmetic operation. The result is
> a smaller and faster binary.
>
>
> Signed-off-by: Ulrich Drepper <drepper@xxxxxxxxxx>

Thanks, applying to perf/core (i.e. for 2.6.36).

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