Re: [RFC] new MSR r/w functions per CPU

From: H. Peter Anvin
Date: Wed Dec 13 2006 - 17:48:39 EST


Dave Jones wrote:

Can you explain this a little further? I'm fairly certain
there are places in the kernel already doing this (or similar).
In fact, I cut-n-pasted most of the above from similar code in the
powernow-k8 driver. What exactly can we deadlock on?


I wanted to change the MSR driver to do the above, and Alan Cox objected that with realtime priority routines and/or user set affinity, that code might never be executed, so I retained the IPI-based code (which executes at the target processor at interrupt priority.)

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