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

Re: [Xen-devel] [PATCH v2 1/5] x86/shadow: tidy up fragmentary page lists in multiâpage shadows



>>> On 02.02.15 at 12:43, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 02/02/15 11:18, Jan Beulich wrote:
>> --- a/xen/arch/x86/mm/shadow/common.c
>> +++ b/xen/arch/x86/mm/shadow/common.c
>> @@ -1196,6 +1196,26 @@ int shadow_cmpxchg_guest_entry(struct vc
>>   * the free pool.
>>   */
>>  
>> +const u32 sh_type_to_size[] = {
> 
> u8 instead?  The maximum value held is 4.

Good point, but it was u32 before, so I'll leave it to Tim to decide.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.