Re: [PATCH 02/36] ipc: Add COMPAT_SHMLBA support

From: Will Deacon
Date: Wed Jul 18 2012 - 05:04:09 EST


On Wed, Jul 18, 2012 at 06:53:34AM +0100, Jon Masters wrote:
> On 07/06/2012 05:05 PM, Catalin Marinas wrote:
>
> > The reason for this patch is that we want SHMLBA to be 64K on AArch64
>
> Presumably this is to obviate differences between 64K or 4K pages?

Right, we don't have D-side aliasing with AArch64 processors, so SHMLBA can
be left as the minimum alignment requirement, which is PAGE_SIZE.

The compat bit is more fun because userspace expects to see 16k there.

Will
--
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/