[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100722162107.GP5222@ghostprotocols.net>
Date: Thu, 22 Jul 2010 13:21:07 -0300
From: Arnaldo Carvalho de Melo <acme@...hat.com>
To: Ulrich Drepper <drepper@...hat.com>
Cc: a.p.zijlstra@...llo.nl, davem@...emloft.net, imunsie@...ibm.com,
linux-kernel@...r.kernel.org, mhiramat@...hat.com, mingo@...e.hu,
paulus@...ba.org
Subject: Re: Small perf optimization
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@...hat.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists