Messages in this thread | | | Date | Sun, 21 Jul 2013 13:17:57 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [GIT PULL] x86 fixes for 3.11-rc2 |
| |
On 07/20/2013 05:25 AM, George Spelvin wrote: > It's marginal with only two call sites, but would it be worth factoring > out the write-back function? Something like this (untested) patch. > It definitely makes the generated assembly cleaner. > > (Signed-off-by: George Spelvin <linux@horizon.com> if you want it.)
Two call sites, statistically "never" executed, really doesn't justify adding a new assembly function. I was considering making a C wrapper, though... I would also like to change these to using rdmsrl/wrmsrl.
-hpa
| |