lkml.org 
[lkml]   [2012]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2012-06-13 23:01    [W:1.377 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site