The following reply was made to PR kern/170627; it has been noted by GNATS.

From: Mark Johnston <mark...@gmail.com>
To: bug-follo...@freebsd.org, adscomp...@gmail.com
Cc:  
Subject: Re: kern/170627: Kernel memory leak when polling cpu temperature via
 coretemp kernel module.
Date: Sat, 8 Sep 2012 19:16:32 -0400

 Hi Max,
 
 Why do you think that coretemp is causing the memory leak? As far as I
 can see, polling the coretemp sysctls shouldn't cause any memory to be
 allocated at all - coretemp basically just reads a bunch of MSRs. Just
 for fun, I tried running something like
 
 while true; do
     for n in $(jot - 0 $(sysctl -n hw.ncpu)); do
         sysctl -q dev.cpu.${n}.temperature >/dev/null 2>&1
         sysctl -q dev.cpu.${n}.coretemp >/dev/null 2>&1
     done
 done
 
 for a few hours and didn't see any problems.
 
 What panic are you getting? How exactly are polling the temperature
 sensors - which sysctls are you reading?
 
 Thanks,
 -Mark
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to