Re: [PATCH 2/7] mm: introduce vma flag VM_ARCH_1

From: Benjamin Herrenschmidt
Date: Sat Mar 31 2012 - 18:26:15 EST


On Sat, 2012-03-31 at 13:29 +0400, Konstantin Khlebnikov wrote:
> This patch shuffles some bits in vma->vm_flags
>
> before patch:
>
> 0x00000200 0x01000000 0x20000000 0x40000000
> x86 VM_NOHUGEPAGE VM_HUGEPAGE - VM_PAT
> powerpc - - VM_SAO -
> parisc VM_GROWSUP - - -
> ia64 VM_GROWSUP - - -
> nommu - VM_MAPPED_COPY - -
> others - - - -
>
> after patch:
>
> 0x00000200 0x01000000 0x20000000 0x40000000
> x86 - VM_PAT VM_HUGEPAGE VM_NOHUGEPAGE
> powerpc - VM_SAO - -
> parisc - VM_GROWSUP - -
> ia64 - VM_GROWSUP - -
> nommu - VM_MAPPED_COPY - -
> others - VM_ARCH_1 - -
>
> And voila! One completely free bit.

Great :-) Let me know when you free VM_ARCH_2 as well as I have good use
for it too :-)

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/