public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* level in kvm_mmu_page_role
@ 2012-02-13 21:30 Sanidhya Kashyap
  2012-02-14 15:02 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Sanidhya Kashyap @ 2012-02-13 21:30 UTC (permalink / raw)
  To: kvm

I have been going through the kvm code but didn't get the significance
of level in kvm_mmu_page_role. So, it would be nice if anyone can
explain it what is its use?

Thanks,
Sanidhya


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: level in kvm_mmu_page_role
  2012-02-13 21:30 level in kvm_mmu_page_role Sanidhya Kashyap
@ 2012-02-14 15:02 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2012-02-14 15:02 UTC (permalink / raw)
  To: Sanidhya Kashyap; +Cc: kvm

On 02/13/2012 11:30 PM, Sanidhya Kashyap wrote:
> I have been going through the kvm code but didn't get the significance
> of level in kvm_mmu_page_role. So, it would be nice if anyone can
> explain it what is its use?
>
>

It's the page table level.  Level 1 contains page table entries pointing
to 4k pages.  Level 2 contains page directory entries pointing to level
1 page tables, or pointers to 2M pages, and so forth.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-14 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13 21:30 level in kvm_mmu_page_role Sanidhya Kashyap
2012-02-14 15:02 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox