Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



> On Wed, 21 Mar 2007 14:32:56 +0900 (JST)
> yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) wrote:
> 
> > once you release msr_mtx, the values can be overwritten by
> > other users of the api.
> 
> You are right... are you suggestion to remove completely the read
> operation?

yes, it's the easiest fix.

an alternative is making the function return a set of values
rather than using cpu_info.  i'm not sure if it's worth to do, given
no users, tho.

YAMAMOTO Takashi



Home | Main Index | Thread Index | Old Index