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

From: Benjamin Herrenschmidt
Date: Wed Apr 13 2011 - 03:01:51 EST


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.

Cheers,
Ben.


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