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


Groups > linux.kernel > #1243408 > unrolled thread

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

Started byThomas Gleixner <tglx@linutronix.de>
First post2015-10-09 16:20 +0200
Last post2015-10-09 22:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromThomas Gleixner <tglx@linutronix.de>
Date2015-10-09 16:20 +0200
SubjectRe: [PATCH v2] x86/apic: Use smaller array for __apicid_to_node[] mapping
Message-ID<qhGGD-4wR-35@gated-at.bofh.it>
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1243461

FromJiang Liu <jiang.liu@linux.intel.com>
Date2015-10-09 17:20 +0200
Message-ID<qhHCG-5Sb-11@gated-at.bofh.it>
In reply to#1243408
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/

[toc] | [prev] | [next] | [standalone]


#1243643

FromThomas Gleixner <tglx@linutronix.de>
Date2015-10-09 22:50 +0200
Message-ID<qhMM3-4K6-17@gated-at.bofh.it>
In reply to#1243461
On Fri, 9 Oct 2015, Jiang Liu wrote:
> 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.

Why do we need that information so early?

Thanks,

	tglx


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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web