Thanks, Jan and George. I attach the latest version which fixes the indentation issues. -Wei On 06/27/2011 03:58 AM, Jan Beulich wrote: >>>> On 24.06.11 at 00:51, Wei Huang wrote: >> Hi, >> >> The following two patches enable core-pair topology detection for AMD >> CPUs. The main idea is to record compute unit information into >> cpuinfo_x86 and use it when building sibling map. The sibling map will >> be used by Xen credit scheduler to coordinate VCPU scheduling in a >> fashion similar to SMT. This code is very similar to upstream Linux kernel. >> >> Regarding the performance improvement, I saw ~8% improvement running >> kernel compilation on Dom0 with this patch. Anrea Przywara ran a POVRay >> benchmark using this patch and he saw ~5% improvement. No perf >> degradation was seen so far. >> >> Please review. > Apart from some indentation issues these look fine to me. > > Jan > >> Thanks, >> -Wei > > >