[lm-sensors] [patch 0/3] pc87360 - fix unchecked rc=device_create_file()
Jean Delvare
khali at linux-fr.org
Mon Aug 21 11:15:34 CEST 2006
Jim,
> FWIW -
> The patchset survived this stress-test:
> for i in `seq 1000`; do { rmmod pc87360; modprobe pc87360;
> sensors -s; sensors; } done
> It takes about 3.5 secs to re-mod, and about 0.3 sec to reset and query
> sensors.
Given that we aren't suspecting a race condition, this type of test
isn't really helpful. More interesting would be a comparison of the
contents of /sys/class/hwmon/hwmon0/device before and after the
patches. If the contents differ, something's wrong, else everything
should be OK - or at least there is no regression.
Thanks,
--
Jean Delvare
More information about the lm-sensors
mailing list