Stable cvs version for 2.4

David Woodhouse dwmw2 at infradead.org
Wed Sep 4 11:20:22 EDT 2002


jasmine at hex.linuxgrrls.org said:
> > How about we add 1 byte which contains up to 8 bit fields?
> Adding a byte will destroy the alignment.  you'd have to add a whole
> word. 

Er, what alignment?

Either the CPU or something else assumes and requires alignment, in which 
case we know that we can happily abuse the low-bit of the address.

Or it doesn't, in which case we can add our single byte and use it with 
impunity. And yes, Allen's right that if we're going to add a single byte 
to the structure we should just put the colour information into that 
instead of using it to align the pointer so that we can abuse the low bit 
of the pointer :)

--
dwmw2






More information about the linux-mtd mailing list