At 18:26 +0100 on 07 Apr (1428431177), Andrew Cooper wrote:
> Hoist MEMF_node(cpu_to_node(cpu)) to the start of the function, and avoid
> passing (potentially bogus) memflags if node information is not available.
>
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

As it happens, MEMF_node(NUMA_NO_NODE) is already == 0.  I'm not sure
if that's by design or not, but this looks robuster. :)

Reviewed-by: Tim Deegan <t...@xen.org>

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

Reply via email to