Re: Performance counter and APIC

Richard Gooch (rgooch@atnf.csiro.au)
Fri, 4 Jun 1999 10:27:54 +1000


Guillaume Thouvenin writes:
> I would like to implement the management of performance counters
> interrupts on a Pentium Pro. I encounter the following problem:
>
> To manage the interrupt, I need to configure the APIC. The APIC seems
> to
> be used only in SMP mode, though. The problem is that I'm in
> mono-processor mode. Is it possible to use the APIC without choosing the
> SMP mode during the kernel configuration or is it possible to recover
> the counters interrupts without using the APIC at all?

See my MSR patch which includes support for performance monitoring
counters. Works for both SMP and non-SMP machines:
http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/