git: kernel/kate: CurTmp starts at -28C on Socket AM2 Revision G processors.
    Constantine Aleksandrovich Murenin 
    C++ at Cns.SU
       
    Sat Jan  9 18:53:46 PST 2016
    
    
  
Wouldn't this introduce a race condition:
-               s[i].value = (v * 250000 - 49000000) + 273150000;
+               s[i].value = v * 250000;
+               s[i].value -= (sc->sc_flags & KATE_FLAG_ALT_OFFSET) != 0 ?
+                   28000000 : 49000000;
+               s[i].value += 273150000;
C.
On 9 January 2016 at 18:18, Sascha Wildner
<swildner at crater.dragonflybsd.org> wrote:
>
> commit 1d855c7969f5b06389cbd8af1e1c9e79a8875542
> Author: Sascha Wildner <saw at online.de>
> Date:   Sun Jan 10 03:16:48 2016 +0100
>
>     kernel/kate: CurTmp starts at -28C on Socket AM2 Revision G processors.
>
>     Such as on this 4850e of mine.
>
>     Taken-from: FreeBSD
>
> Summary of changes:
>  sys/dev/powermng/kate/kate.c | 37 +++++++++++++++++++++++++++++++++++--
>  1 file changed, 35 insertions(+), 2 deletions(-)
>
> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1d855c7969f5b06389cbd8af1e1c9e79a8875542
>
>
> --
> DragonFly BSD source repository
-- 
В. В. Путин о совершенстве, 24 декабря 2000 года: Если человека все
устраивает, то он полный идиот. Здорового человека в нормальной памяти
не может всегда и всё устраивать.
    
    
More information about the Commits
mailing list