Subject: Re: ancillary data alignment and binary backward compatibility
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 02/26/2000 10:46:33
On Sun, 27 Feb 2000 03:43:39 +0900
Jun-ichiro itojun Hagino <itojun@iijlab.net> wrote:
> - is hardcoded sizeof(long) alignment okay?
Use the ALIGN() macro.
> - 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.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>