Subject: Re: CVS commit: src/sys/arch
To: None <juan@xtrarom.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 03/21/2007 14:50:33
> On Wed, 21 Mar 2007 14:32:56 +0900 (JST)
> yamt@mwd.biglobe.ne.jp (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