Messages in this thread | | | Date | Wed, 13 Jun 2012 22:31:03 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v2 |
| |
On Wed, Jun 13, 2012 at 04:24:47PM -0400, Rik van Riel wrote: > This would also be useful for emulators such as qemu-kvm, > which want the guest memory to be 2MB aligned.
hugetlbfs does implicit align, so right now I mash the two together and use up many of the remaining bits
If you want align different than page sizes you may need to go 64bits with the flags.
Is there a use case for alignment independent of page sizes?
-Andi -- ak@linux.intel.com -- Speaking for myself only.
| |