Re: [PATCH] introduce HAVE_EFFICIENT_UNALIGNED_ACCESS Kconfig symbol

From: Roman Zippel
Date: Tue Apr 08 2008 - 15:12:39 EST


Hi,

On Tuesday 8. April 2008, Johannes Berg wrote:

> In many cases, especially in networking, it can be beneficial to
> know at compile time whether the architecture can do unaligned
> accesses efficiently. This patch introduces a new Kconfig symbol
> HAVE_EFFICIENT_UNALIGNED_ACCESS
> for that purpose and adds it to the powerpc and x86 architectures.
> Also add some documentation about alignment and networking, and
> especially one intended use of this symbol.

Please CC linux-arch@xxxxxxxxxxxxxxx for such changes, so it's more likely
noticed by more arch maintainers, so a list can be compiled what is
appropriate for the various archs.
The scope of this symbol is IMO a little unclear, is it intended for one-time
accesses to small object or also for repeated accesses to larger objects?
Anyway, this probably should be set for m68k as well.

bye, Roman
--
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/