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

From: KOSAKI Motohiro
Date: Tue Apr 12 2011 - 20:13:18 EST


> 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. Because Almost all driver developers
only test their code on x86. Also, I don't want to add hidden ifdef into mm
code.

Thanks.


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