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


Groups > linux.kernel > #1243643

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

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2] x86/apic: Use smaller array for __apicid_to_node[] mapping
Date 2015-10-09 22:50 +0200
Message-ID <qhMM3-4K6-17@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> <qhHCG-5Sb-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | NextPrevious 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