svn commit: r279764 - head/sys/vm

2015-03-07 Thread Konstantin Belousov
Author: kib Date: Sun Mar 8 02:13:46 2015 New Revision: 279764 URL: https://svnweb.freebsd.org/changeset/base/279764 Log: Fix function name in the panic message. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/vm/vm_reserv.c Modified: head/sys/vm/vm_reser

Re: svn commit: r279764 - head/sys/vm

2015-03-10 Thread Gleb Smirnoff
On Sun, Mar 08, 2015 at 02:13:47AM +, Konstantin Belousov wrote: K> Author: kib K> Date: Sun Mar 8 02:13:46 2015 K> New Revision: 279764 K> URL: https://svnweb.freebsd.org/changeset/base/279764 K> K> Log: K> Fix function name in the panic message. Why not use "%s, __func__" always and neve

Re: svn commit: r279764 - head/sys/vm

2015-03-10 Thread Konstantin Belousov
On Tue, Mar 10, 2015 at 01:01:41PM +0300, Gleb Smirnoff wrote: > On Sun, Mar 08, 2015 at 02:13:47AM +, Konstantin Belousov wrote: > K> Author: kib > K> Date: Sun Mar 8 02:13:46 2015 > K> New Revision: 279764 > K> URL: https://svnweb.freebsd.org/changeset/base/279764 > K> > K> Log: > K> Fix

Re: svn commit: r279764 - head/sys/vm

2015-03-10 Thread Gleb Smirnoff
On Tue, Mar 10, 2015 at 12:18:13PM +0200, Konstantin Belousov wrote: K> On Tue, Mar 10, 2015 at 01:01:41PM +0300, Gleb Smirnoff wrote: K> > On Sun, Mar 08, 2015 at 02:13:47AM +, Konstantin Belousov wrote: K> > K> Author: kib K> > K> Date: Sun Mar 8 02:13:46 2015 K> > K> New Revision: 279764 K>

Re: svn commit: r279764 - head/sys/vm

2015-03-10 Thread David Chisnall
On 10 Mar 2015, at 10:18, Konstantin Belousov wrote: > > Because you cannot grep for the panic string when __func__ is used. The userspace assert uses __func__, __FILE__ and __LINE__, which means that you never need to grep the source code to find out where the assert came from: the assertion

Re: svn commit: r279764 - head/sys/vm

2015-03-12 Thread Bruce Evans
On Tue, 10 Mar 2015, Gleb Smirnoff wrote: On Tue, Mar 10, 2015 at 12:18:13PM +0200, Konstantin Belousov wrote: K> On Tue, Mar 10, 2015 at 01:01:41PM +0300, Gleb Smirnoff wrote: K> > On Sun, Mar 08, 2015 at 02:13:47AM +, Konstantin Belousov wrote: K> > K> Author: kib K> > K> Date: Sun Mar 8