Subject: Re: ancillary data alignment and binary backward compatibility
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: None <itojun@iijlab.net>
List: tech-net
Date: 02/27/2000 12:44:56
> > - is hardcoded sizeof(long) alignment okay?
>Use the ALIGN() macro.
IIRC ALIGN() was not usable for this, does not capture sparc64 case
or something (maybe my memory is wrong).
> > - do we need to change them in the future?
> > - suppose we need to change them over time. what should we do?
> > have a sysctl variable that returns alignment boundary from the
> > kernel side, and let the userland use the value?
>Oh, that sounds like a good idea.
I'll try to do this.
itojun