Re: CVS commit: src/sys/dev/sysmon

2011-06-04 Thread Jukka Ruohonen
On Sat, Jun 04, 2011 at 01:24:33PM +, Paul Goyette wrote: Since nothing actually records or maintains an average sensor value, remove value_avg from the prop_dict. We can't completely remove it because there's one driver that uses this field for its own private purposes, so for now we

Re: CVS commit: src/sys/dev/sysmon

2011-06-04 Thread Paul Goyette
On Sat, 4 Jun 2011, Jukka Ruohonen wrote: On Sat, Jun 04, 2011 at 01:24:33PM +, Paul Goyette wrote: Since nothing actually records or maintains an average sensor value, remove value_avg from the prop_dict. We can't completely remove it because there's one driver that uses this field for

Re: CVS commit: src/sys/kern

2011-06-04 Thread David Laight
On Sat, Jun 04, 2011 at 10:52:47AM +1000, Simon Burge wrote: On Thu, Jun 02, 2011 at 09:21:11PM +0100, David Laight wrote: Passing 'l' is a register rename (or copy) so is almost zero cost. Recovering curlwp may involve a function call, and is, at best, a real memory access of

RE: CVS commit: [matt-nb5-mips64] src/sys

2011-06-04 Thread Toru Nishimura
Committed By: matt Date: Wed May 25 23:58:51 UTC 2011 Modified Files: ... Log Message: Make uvm_map recognize UVM_FLAG_COLORMATCH which tells uvm_map that the 'align' argument specifies the starting color of the KVA range to be returned. ... Make the socket and pipe loan color-safe.

Re: CVS commit: src/sys/kern

2011-06-04 Thread Matt Thomas
Thinking about SMP, both CURCPU() and curlwp could be the register - with the other being indirected from it. I wonder which it used most? curproc should be readable from either. Some MIPS CPUs have OS Scratch registers. I use one to store curcpu since that is the one most useful in the

Re: CVS commit: [matt-nb5-mips64] src/sys

2011-06-04 Thread Matt Thomas
On Jun 4, 2011, at 9:57 AM, Toru Nishimura wrote: Committed By: matt Date: Wed May 25 23:58:51 UTC 2011 Modified Files: ... Log Message: Make uvm_map recognize UVM_FLAG_COLORMATCH which tells uvm_map that the 'align' argument specifies the starting color of the KVA range to

re: CVS commit: src/usr.sbin/envstat

2011-06-04 Thread matthew green
Module Name: src Committed By: pgoyette Date: Sat Jun 4 13:29:03 UTC 2011 Modified Files: src/usr.sbin/envstat: envstat.c Log Message: Since there is no longer a value-avg property, remove the code that extracts it. what's the behaviour of old envstat and new kernel?

Re: CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Jukka Ruohonen
On Sat, Jun 04, 2011 at 10:49:49PM +, Adam Hamsik wrote: Module Name: src Committed By: haad Date: Sat Jun 4 22:49:49 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtol.c Log Message: Fix problem with overflowing constant definition t_strtol.c:95:

Re: CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Adam Hamsik
On Jun,Sunday 5 2011, at 12:58 AM, Jukka Ruohonen wrote: On Sat, Jun 04, 2011 at 10:49:49PM +, Adam Hamsik wrote: Module Name: src Committed By:haad Date:Sat Jun 4 22:49:49 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtol.c Log Message:

re: CVS commit: src/usr.sbin/envstat

2011-06-04 Thread Paul Goyette
On Sun, 5 Jun 2011, matthew green wrote: Module Name:src Committed By: pgoyette Date: Sat Jun 4 13:29:03 UTC 2011 Modified Files: src/usr.sbin/envstat: envstat.c Log Message: Since there is no longer a value-avg property, remove the code that extracts it. what's

Re: CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Matt Thomas
On Jun 4, 2011, at 4:35 PM, Adam Hamsik wrote: On Jun,Sunday 5 2011, at 12:58 AM, Jukka Ruohonen wrote: On Sat, Jun 04, 2011 at 10:49:49PM +, Adam Hamsik wrote: Module Name:src Committed By: haad Date: Sat Jun 4 22:49:49 UTC 2011 Modified Files: