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

From: Alexey Dobriyan
Date: Wed Apr 13 2011 - 02:44:43 EST


On Wed, Apr 13, 2011 at 09:13:03AM +0900, KOSAKI Motohiro wrote:
> > On Tue, 2011-04-12 at 14:06 +0300, Alexey Dobriyan wrote:
> > > On Tue, Apr 12, 2011 at 10:12 AM, KOSAKI Motohiro
> > > <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
> > > > After next year? All developers don't have to ignore compiler warnings!
> > >
> > > At least add vm_flags_t which is sparse-checked, just like we do with gfp_t.
> > >
> > > VM_SAO is ppc64 only, so it could be moved into high part,
> > > freeing 1 bit?
> >
> > My original series did use a type, I don't know what that was dropped,
> > it made conversion easier imho.
>
> 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?
--
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/