Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 12:43:45 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/x86/cpufreq hwpstate.c
Message-ID:  <201011161244.oAGCi0kO027344@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
avg         2010-11-16 12:43:45 UTC

  FreeBSD src repository

  Modified files:
    sys/x86/cpufreq      hwpstate.c 
  Log:
  SVN rev 215398 on 2010-11-16 12:43:45Z by avg
  
  hwpstate: use CPU_FOREACH when binding to all available processors
  
  Also, add a comment mentioning _PSD - on some systems it's enough to
  put one logical CPU into a particular P-state to make other CPUs in
  the same domain to enter that P-state.
  
  Also, call sched_unbind() after the loop - sched_bind() automatically
  rebinds from previous CPU to a new one, and the new arrangement of code
  is safer against early loop exit.
  
  Plus one minor style nit.
  
  MFC after:      10 days
  
  Revision  Changes    Path
  1.3       +8 -12     src/sys/x86/cpufreq/hwpstate.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011161244.oAGCi0kO027344>