Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [patch][v2] x86, ptrace: support for branch trace store(BTS) | Date | Tue, 20 Nov 2007 16:57:37 +0100 |
| |
> >and it seems like this patch and perfmon2 are going to have to > >live with > >each other... since they both require the use of the DS save area... > > Hmmm, this might require some synchronization between those two. > > Do you know how (accesses to) MSR's are managed by the kernel?
There is a simple MSR allocator in the nmi watchdog code. It is very simple though and was only intended for performance counters originally so you might need to enhance it first for complicated things.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |