Re: [PATCH v2] x86/apic: Use smaller array for __apicid_to_node[] mapping

From: Thomas Gleixner
Date: Fri Oct 09 2015 - 10:16:22 EST


On Mon, 5 Oct 2015, Daniel J Blueman wrote:
> +struct apicid_to_node {
> + int apicid;
> + s16 node;
> +};

Instead of having this array, why don't you use a radix tree and be
done with it?

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/