Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243461

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

From Jiang Liu <jiang.liu@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] x86/apic: Use smaller array for __apicid_to_node[] mapping
Date 2015-10-09 17:20 +0200
Message-ID <qhHCG-5Sb-11@gated-at.bofh.it> (permalink)
References <qfpJU-3Pm-11@gated-at.bofh.it> <qg5J8-563-1@gated-at.bofh.it> <qhGGD-4wR-35@gated-at.bofh.it>
Organization Intel

Show all headers | View raw


On 2015/10/9 22:15, Thomas Gleixner wrote:
> 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?
Hi Thomas,
	It's in early booting stage and memory allocator isn't ready
yet.
Thanks,
Gerry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] x86/apic: Use smaller array for __apicid_to_node[]  mapping Thomas Gleixner <tglx@linutronix.de> - 2015-10-09 16:20 +0200
  Re: [PATCH v2] x86/apic: Use smaller array for __apicid_to_node[]  mapping Jiang Liu <jiang.liu@linux.intel.com> - 2015-10-09 17:20 +0200
    Re: [PATCH v2] x86/apic: Use smaller array for __apicid_to_node[]  mapping Thomas Gleixner <tglx@linutronix.de> - 2015-10-09 22:50 +0200

csiph-web