Messages in this thread | | | Subject | Re: [PATCH 4/9] perf: Generic intel uncore support | From | Peter Zijlstra <> | Date | Fri, 04 May 2012 19:57:06 +0200 |
| |
On Fri, 2012-05-04 at 15:33 +0800, Yan, Zheng wrote: > Thank you for your suggestion. One reason I choose hash table is that I'm uncertain > the system behavior when hot-plug a CPU, the PCI uncore device is probed first or > the CPU data is initialized first? If the PCI device is probed first, I think your > code won't work because topology_physical_package_id may return incorrect id.
It had better first initialize the cpu data before it starts probing its devices. Doing it the other way around just doesn't make any sense.
| |