Re: [PATCH 4/4 v3] KVM: Introduce kvm_memory_slot::arch and move lpage_info into it

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

 



Alexander Graf <agraf@xxxxxxx> wrote:

> > IMO rmap also should to be moved into the arch.
> > s390 does not need it and other architectures than x86 will be happy if
> > the type of it can be changed from unsigned long to a pointer, no?
> 
> How would an unsigned long make a difference over a pointer?

Not so much.  Just a matter of casting.

x86 is using the least significant bit for special encoding, so unsigned long
is natural.

My initial motivation was to make rmap multi-dimensional so that it can also
hold rmap_pde.

	Takuya
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux