26 Jul, 2008

1 commit

  • 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
    Acked-by: Sam Ravnborg
    Acked-by: Ingo Molnar [x86 architecture part]
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Berg
     

03 Apr, 2008

1 commit


07 Feb, 2008

1 commit

  • 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
    Cc: Rob Landley
    Cc: "Randy.Dunlap"
    Cc: Alan Cox
    Cc: Jan Engelhardt
    Cc: Johannes Berg
    Cc: Kyle McMartin
    Cc: Kyle Moffett
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Drake