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

2016-12-08 Thread Mark Johnston
On Thu, Dec 08, 2016 at 07:50:17AM -0800, John Baldwin wrote: > On Wednesday, December 07, 2016 02:15:49 PM Mark Johnston wrote: > > On Wed, Dec 07, 2016 at 01:26:47PM -0800, Gleb Smirnoff wrote: > > > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: > > > M> Author: markj > > > M> Da

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

2016-12-08 Thread John Baldwin
On Wednesday, December 07, 2016 02:15:49 PM Mark Johnston wrote: > On Wed, Dec 07, 2016 at 01:26:47PM -0800, Gleb Smirnoff wrote: > > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: > > M> Author: markj > > M> Date: Tue Dec 6 22:52:45 2016 > > M> New Revision: 309658 > > M> URL: htt

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

2016-12-07 Thread Warner Losh
On Wed, Dec 7, 2016 at 8:36 PM, Gleb Smirnoff wrote: > On Thu, Dec 08, 2016 at 01:07:06PM +1100, Bruce Evans wrote: > B> >> M> +#ifndef BURN_BRIDGES > B> >> M> +/* > B> >> M> + * Provide compatibility sysctls for the benefit of old utilities > which exit > B> >> M> + * with an error if they canno

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

2016-12-07 Thread Gleb Smirnoff
On Thu, Dec 08, 2016 at 01:07:06PM +1100, Bruce Evans wrote: B> >> M> +#ifndef BURN_BRIDGES B> >> M> +/* B> >> M> + * Provide compatibility sysctls for the benefit of old utilities which exit B> >> M> + * with an error if they cannot be found. B> >> M> + */ B> >> M> +SYSCTL_UINT(_vm_stats_vm, OID_

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

2016-12-07 Thread Bruce Evans
On Wed, 7 Dec 2016, Warner Losh wrote: On Wed, Dec 7, 2016 at 2:26 PM, Gleb Smirnoff wrote: On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: M> Author: markj M> Date: Tue Dec 6 22:52:45 2016 M> New Revision: 309658 M> URL: https://svnweb.freebsd.org/changeset/base/309658 M> M> L

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

2016-12-07 Thread Gleb Smirnoff
On Wed, Dec 07, 2016 at 02:15:49PM -0800, Mark Johnston wrote: M> On Wed, Dec 07, 2016 at 01:26:47PM -0800, Gleb Smirnoff wrote: M> > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: M> > M> Author: markj M> > M> Date: Tue Dec 6 22:52:45 2016 M> > M> New Revision: 309658 M> > M> URL:

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

2016-12-07 Thread Mark Johnston
On Wed, Dec 07, 2016 at 01:26:47PM -0800, Gleb Smirnoff wrote: > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: > M> Author: markj > M> Date: Tue Dec 6 22:52:45 2016 > M> New Revision: 309658 > M> URL: https://svnweb.freebsd.org/changeset/base/309658 > M> > M> Log: > M> Provide

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

2016-12-07 Thread Warner Losh
On Wed, Dec 7, 2016 at 2:26 PM, Gleb Smirnoff wrote: > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: > M> Author: markj > M> Date: Tue Dec 6 22:52:45 2016 > M> New Revision: 309658 > M> URL: https://svnweb.freebsd.org/changeset/base/309658 > M> > M> Log: > M> Provide dummy sysc

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

2016-12-07 Thread Gleb Smirnoff
On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: M> Author: markj M> Date: Tue Dec 6 22:52:45 2016 M> New Revision: 309658 M> URL: https://svnweb.freebsd.org/changeset/base/309658 M> M> Log: M> Provide dummy sysctls for v_cache_count and v_tcached. M> M> Some utilities (notab

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

2016-12-06 Thread Mark Johnston
On Wed, Dec 07, 2016 at 11:44:49AM +1100, Bruce Evans wrote: > On Tue, 6 Dec 2016, Mark Johnston wrote: > > > Log: > > Provide dummy sysctls for v_cache_count and v_tcached. > > > > Some utilities (notably top(1)) exit if any of their input sysctls don't > > exist, and the removal of the above-

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

2016-12-06 Thread Bruce Evans
On Tue, 6 Dec 2016, Mark Johnston wrote: Log: Provide dummy sysctls for v_cache_count and v_tcached. Some utilities (notably top(1)) exit if any of their input sysctls don't exist, and the removal of the above-mentioned PG_CACHE-related sysctls makes it difficult to run such utilities on di

svn commit: r309658 - head/sys/vm

2016-12-06 Thread Mark Johnston
Author: markj Date: Tue Dec 6 22:52:45 2016 New Revision: 309658 URL: https://svnweb.freebsd.org/changeset/base/309658 Log: Provide dummy sysctls for v_cache_count and v_tcached. Some utilities (notably top(1)) exit if any of their input sysctls don't exist, and the removal of the above-