git: sensors: Create per-cpu sensor task threads

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Jun 4 04:06:34 PDT 2015


commit f95d9b17136a02ac1984b60d8329b81512b369ba
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Jun 4 19:00:08 2015 +0800

    sensors: Create per-cpu sensor task threads
    
    So that accessing to sensor device could be properly cpu localized,
    e.g. accessing coretemp(4) could be localized to a proper cpu core,
    and accessing ecc(4) could be localized to a proper cpu package.

Summary of changes:
 sys/kern/kern_sensors.c | 133 ++++++++++++++++++++++++++++++++----------------
 sys/sys/sensors.h       |  14 ++++-
 2 files changed, 103 insertions(+), 44 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f95d9b17136a02ac1984b60d8329b81512b369ba


-- 
DragonFly BSD source repository



More information about the Commits mailing list