Re: mm: convert vma->vm_flags to 64bit

From: Russell King - ARM Linux
Date: Wed Apr 13 2011 - 03:30:44 EST


On Wed, Apr 13, 2011 at 05:00:49PM +1000, Benjamin Herrenschmidt wrote:
> On Wed, 2011-04-13 at 09:44 +0300, Alexey Dobriyan wrote:
> > > Yes, I take Hugh's version because vm_flags_t is ugly to me. And
> > arch
> > > dependent variable size is problematic.
> >
> > Who said it should have arch-dependent size?
>
> Right, it shouldn't. My original patch did that to avoid thinking about
> archs that manipulated it from asm such as ARM but that wasn't the right
> thing to do. But that doesn't invalidate having a type.

No, we don't manipulate it. We only test for VM_EXEC in it in asm.
--
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/