Re: [PATCH v11 44/60] PCI: Add alt_size ressource allocation support
From: Benjamin Herrenschmidt
Date: Fri Apr 08 2016 - 02:32:12 EST
On Thu, 2016-04-07 at 17:56 -0700, Linus Torvalds wrote:
> Maybe the kernel should just accept the smaller alignment. If the
> minimum alignment we use is bigger than necessary, then we're just
> wrong about it, and perhaps we should just use the smaller alignment
> that the bios used.
>
> So instead of adding this notion of alternate alignment, maybe we
> should just not be so uptight about our own minimum alignment
> requirements?
On the other hand it's nice to align things at page boundaries when
these resources can possibly be mapped by user space or KVM guests...
Cheers,
Ben.