Commit Graph
3 Commits
Author SHA1 Message Date
Johannes Berg 58340a07c1 introduce HAVE_EFFICIENT_UNALIGNED_ACCESS Kconfig symbol
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.

Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Acked-by: Ingo Molnar <[email protected]> [x86 architecture part]
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-07-25 10:53:27 -07:00
Dmitri Vorobiev e8d49f3a6f Fix typos in Documentation/unaligned-memory-access.txt
This patch deletes a couple of superfluous word occurrences in the
document Documentation/unaligned-memory-access.txt.

Thanks to Sebastien Dugue for the remark about English usage.

Signed-off-by: Dmitri Vorobiev <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-04-02 15:28:19 -07:00
Daniel Drake d156042f9f Documentation about unaligned memory access
Here's a document I wrote after figuring out what unaligned memory access
is all about.  I've tried to cover the information I was looking for when
trying to learn about this, without producing a hopelessly detailed/complex
spew.  I hope it is useful to others.

Signed-off-by: Daniel Drake <[email protected]>
Cc: Rob Landley <[email protected]>
Cc: "Randy.Dunlap" <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Jan Engelhardt <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: Kyle McMartin <[email protected]>
Cc: Kyle Moffett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-02-06 10:41:07 -08:00