How so? What kind of failure do think might occur? Some effect on how
the wrmsr arguments are evaluated?
barrier() is specifically a compiler optimisation barrier, so the
barrier before would prevent the compiler from moving anything logically
before the wrmsr to afterwards.
That said, making the wrmsr itself a memory clobber may be simpler
understand with a comment, rather than separate barriers...
J
--