Re: [PATCH v3 3/3] KVM: selftests: Randomize page access order.

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

 



Ricardo Koller <ricarkol@xxxxxxxxxx> writes:

+void perf_test_set_random_access(struct kvm_vm *vm, bool random_access)
+{
+	perf_test_args.random_access = random_access;
+	sync_global_to_guest(vm, perf_test_args);
+}

This can be merged onto the sync_global_to_guest() done for the seed.


That seems like a micro optimization. I'd prefer every perf_test_set*
function have consistent behavior.

If needed, sync_global_to_guest should work on the individual field.



[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