Re: mbind and alignment

From: Samuel Thibault
Date: Wed Apr 04 2007 - 08:26:24 EST


Hi,

Andi Kleen, le Wed 04 Apr 2007 13:52:04 +0200, a écrit :
> > So one of those should probably be done to free people from headaches:
> >
> > - document "start" requirement in the manual page
> > - require len to be aligned too, and document the requirements in the
> > manual page
> > - drop the "start" requirement and just round down the page + adjust
> > size automatically.
>
> This annoyed me in the past too. The kernel should have done that alignment
> by itself. But changing it now would be a bad idea because it would
> produce programs that run on newer kernels but break on olders.
> Documenting it is the only sane option left.

Ok. I already sent a patch to the manpages maintainer.

Samuel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/