On 27/03/15 05:49, Wu, Feng wrote:
+/*
+ * Here we handle the following cases:
+ * - For lowest-priority interrupts, we find the destination vCPU from the
+ *   guest vector using vector-hashing mechamisn and return true. This
follows
+ *   the hardware behavior, since modern Intel CPUs use vector hashing to
+ *   handle the lowest-priority interrupt.
What is the hashing algorithm, or can I have some hint as to where to
find it in a manual?
I asked hardware guys about this, there is no document about how hardware
implements the hashing algorithm.

In which case you must carefully document the hashing algorithm in the comment. (And while you are at it, press for the hashing algorithm to find its way into an appropriate formal document.)

~Andrew


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

Reply via email to