[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1294149501.2016.141.camel@laptop>
Date: Tue, 04 Jan 2011 14:58:21 +0100
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Stephane Eranian <eranian@...gle.com>
Cc: "H. Peter Anvin" <hpa@...or.com>, Lin Ming <ming.m.lin@...el.com>,
Ingo Molnar <mingo@...e.hu>, Andi Kleen <andi@...stfloor.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/7] perf: Check if HT is supported and enabled
On Tue, 2011-01-04 at 14:52 +0100, Stephane Eranian wrote:
>
> Couldn't you simply over-provision, and then when the CPU is online, use my
> ht_enabled statement to figure out whether or not you need to handle the sharing
> issue?
That's pretty much what Lin's latest does:
X86_FEATURE_HT && smp_num_siblings > 1
shows the CPU is capable of HT and will allocate the needed resources.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists