git: sensor: Use sysctl lock

Sepherosa Ziehau sephe at
Fri Mar 27 01:40:38 PDT 2015

commit e50eb75e07202218010a91c8d038387aeb4fc86a
Author: Sepherosa Ziehau <sephe at>
Date:   Thu Mar 26 21:50:31 2015 +0800

    sensor: Use sysctl lock
    Original devlist lock is not MPSAFE (it's locked find then unlocked
    used).  Since sensors are sysctl centric, we could just use sysctl
    lock here.

Summary of changes:
 sys/kern/kern_sensors.c | 65 ++++++++++++++++++++++++-------------------------
 1 file changed, 32 insertions(+), 33 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list