[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] RFC: Linux: disable APERF/MPERF feature in PV kernels

On 05/23/2012 11:43 AM, Jan Beulich wrote:
On 23.05.12 at 11:14, Andre Przywara<andre.przywara@xxxxxxx>  wrote:
On 05/23/2012 09:34 AM, Jan Beulich wrote:
Next I'd like to note that in our kernels we simply don't build
arch/x86/kernel/cpu/sched.o. Together with CPU_FREQ being
suppressed, there's no consumer of the feature flag in our

With "our kernels" you mean OpenSuSE/SLES kernels? I quickly checked
upstream as well as the repos on kernel.opensuse.org. In all of them
sched.o is unconditionally included in the Makefile.
So is there a build patch to exclude this file for builds of distro Xen

Did you perhaps overlook

disabled-obj-$(CONFIG_XEN) := hypervisor.o mshyperv.o perfctr-watchdog.o \
                              perf_event.o sched.o vmware.o

in that very Makefile?

No, I just utterly ignored it ;-)

Thanks for the hint.
But this works only for SuSE since you build different kernels for Xen and without Xen, right? Starting with 3.x I now have only a single kernel image which I use for both native and as Dom0.

So the patch to disable APERFMPERF is still useful, at least for upstream, right?


Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.