git: powerd - Do a more sophisticated domain scan, use kern.usch

看板DFBSD_commit作者時間15年前 (2011/02/02 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 65db32a706a835e9c5ab6bfcda96f85ae31cdf04 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Feb 1 23:59:22 2011 -0800 powerd - Do a more sophisticated domain scan, use kern.usched_global_cpumask * Do a more sophisticated domain scan, cpu domains do not necessarily start at 0. * Handle the case where multiple cpus may belong to a single domain. * Dynamically adjust kern.usched_global_cpumask to the number of cpus we are running at max frequency, leaving the remaining cpus set at their lowest frequency and left mostly idle. * Tested on the 48-core monster and phenom x 6. Summary of changes: usr.sbin/powerd/powerd.c | 169 +++++++++++++++++++++++++++++++++++---------- 1 files changed, 131 insertions(+), 38 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65db32a706a835e9c5ab6bfcda96f85ae31cdf04 -- DragonFly BSD source repository
文章代碼(AID): #1DIHQ7Df (DFBSD_commit)