lkml.org 
[lkml]   [2004]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: dentry bloat.
    On Sat, 8 May 2004 10:28:29 -0700 (PDT)
    Linus Torvalds <torvalds@osdl.org> wrote:

    > > + unsigned short len;
    > > +} __attribute__((packed));
    ...
    > I think you just made
    > "name" be unaligned, which can cause serious problems. Because I think
    > "packed" _also_ means that it doesn't honor the alignment of the thing
    > when laying it out in structures.

    That's correct, alignment concerns are thrown out the door once
    you specify packed to the compiler.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.026 / U:0.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site