Re: [PATCH 1/2 V2] kvm tools: Add interval red-black tree helper

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

 



* Sasha Levin <levinsasha928@xxxxxxxxx> wrote:

> +#define max(x, y) ((x) > (y)) ? (x) : (y)

Please have a look at tools/perf/util/include/linux/kernel.h where we have a 
type-safe version of the same - please put that into a header in tools/kvm/. 

( There was some reason why perf could not use the kernel's min/max
  definitions, the details escape me. )

Looks nice otherwise!

Acked-by: Ingo Molnar <mingo@xxxxxxx>

	Ingo
--
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