lkml.org 
[lkml]   [2009]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/7] kvm mmu: infrastructure changes for multiple huge page support
Joerg Roedel wrote:
> This patch includes most of the necessary changes to the KVM SoftMMU for
> supporting more than one huge page size. The changes in this patch
> include:
>
> * introduce 'enum kvm_page_size' which is used to represent the page
> size used
>

How about the concept of page_level instead, which returns the level of
a page in terms of the paging hierarchy? Would be easier to compare
against in the various walkers.

I've been thinking for a while to make levels zero-based, so 0 would be
a 4K page, 1 a 2M page, and 2 a 1GB page.




--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2009-03-29 13:41    [W:0.280 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site