Re: unmap_range() premature exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christoffer,
   thanks for giving this a close look, I confused page table page
reference with a normal page, the page_none(..) make sense now.
And I got a bug in one of the patches that splits a pmd, been a while
since I worked with this code.

- Mario.

On 05/10/2014 12:58 PM, Christoffer Dall wrote:
> [...]
> 
>> No, we get the page each time we add an entry and we put the page every
>> time we clear an entry.  So if you have 512 possible entries in a PMD,
>> if all of them points to a table or are block descriptors (no empty
>> entries in the PMD), the count will be 512 (one for each entry, and one
>> to keep the page reserved in the first place).
> 
> Sorry, if all the entries are non-empty, the count will be 513, not
> 512, 1 for the page allocation, and 512 for the entries.
> 
> /me goes away to confuse someone else
> 

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux