Re: [PATCH 2/5] perf: generic intel uncore support

From: Yan, Zheng
Date: Tue Apr 03 2012 - 04:28:33 EST


On 04/03/2012 06:11 AM, Peter Zijlstra wrote:
> On Sun, 2012-04-01 at 11:11 +0800, Yan, Zheng wrote:
>>
>> Because using per-cpu allocation is inconvenience for PCI uncore device.
>
> What are those, where does one read about them and why?
>
PCI uncore device support was added by patch 4. If using per-cpu pointer,
we have to setup the per-cpu pointer after the PCI driver's probe function
recognizes the uncore device. It means we have to first add the PCI uncore
device to a list, then call a function on all cpus to scan the list, find
the right uncore device and setup the per-cpu pointer.

Regards
Yan, Zheng
--
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/