Re: Important, Memory padding in kernel using 1byte

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Nov 19 2001 - 04:56:24 EST


> 32-bit (4 bytes) on IA32's. This cause lots of trouble when doing file
> system developments where a couple of data structures are not multiple
> of 4 bytes. This cause lots of errors, I think this should be notified

Its up to the fs developer to handle such data structures. You should also
be aware that misaligned references may fault and crash the kernel in some
cases on non x86 platforms

-
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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:19 EST