svn commit: r267142 - head/sys/dev/netmap

2014-06-05 Thread Andrey Zonov
Author: zont Date: Fri Jun 6 00:24:04 2014 New Revision: 267142 URL: http://svnweb.freebsd.org/changeset/base/267142 Log: Use mtx_lock_spin/mtx_unlock_spin primitives on spin lock Reviewed by: luigi MFC after:1 week Modified: head/sys/dev/netmap/netmap.c head/sys/dev/netmap/net

Re: svn commit: r257164 - head/etc/mtree

2013-10-26 Thread Andrey Zonov
.d > etc/mtree/README: a) The files use 4 space indentation, and other than in the header comments, should not contain any tabs. Please fix it. -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: svn commit: r256710 - head/tools/build/mk

2013-10-24 Thread Andrey Zonov
On 10/24/13 7:39 AM, Hilko Meyer wrote: > Andrey Zonov schrieb: >> On 10/18/13 8:38 AM, Hilko Meyer wrote: >>> On Thu, 17 Oct 2013 22:00:35 + (UTC) you wrote: >>>> Author: zont >>>> Date: Thu Oct 17 22:00:35 2013 >>>> New Revision: 256

svn commit: r257077 - in head: . etc/mtree

2013-10-24 Thread Andrey Zonov
Author: zont Date: Thu Oct 24 21:58:14 2013 New Revision: 257077 URL: http://svnweb.freebsd.org/changeset/base/257077 Log: Cleanup empty directories PR: conf/167133 Modified: head/ObsoleteFiles.inc head/etc/mtree/BSD.usr.dist Modified: head/ObsoleteFiles.inc

Re: svn commit: r256710 - head/tools/build/mk

2013-10-23 Thread Andrey Zonov
n ObsoleteFiles.inc. pf.conf - we cannot just put it in ObsoleteFiles.inc because people may have working configuration in this place. usr/share/examples/netgraph/bluetooth - it was missed to remove when example file inside was removed in 2007. usr/share/examples/iscsi - never used since was add

svn commit: r256710 - head/tools/build/mk

2013-10-17 Thread Andrey Zonov
Author: zont Date: Thu Oct 17 22:00:35 2013 New Revision: 256710 URL: http://svnweb.freebsd.org/changeset/base/256710 Log: Add lot of missed files and dirs Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r256703 - head/tools/build/mk

2013-10-17 Thread Andrey Zonov
Author: zont Date: Thu Oct 17 20:14:47 2013 New Revision: 256703 URL: http://svnweb.freebsd.org/changeset/base/256703 Log: Remove atf headers which never existed Reviewed by: marcel Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFi

svn commit: r256669 - head/tools/build/mk

2013-10-17 Thread Andrey Zonov
Author: zont Date: Thu Oct 17 07:40:21 2013 New Revision: 256669 URL: http://svnweb.freebsd.org/changeset/base/256669 Log: Cleanup clang section Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ===

svn commit: r256663 - head/tools/build/mk

2013-10-16 Thread Andrey Zonov
Author: zont Date: Thu Oct 17 05:20:40 2013 New Revision: 256663 URL: http://svnweb.freebsd.org/changeset/base/256663 Log: wlconfig exists only on i386 Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r256662 - head/tools/build/mk

2013-10-16 Thread Andrey Zonov
Author: zont Date: Thu Oct 17 04:51:28 2013 New Revision: 256662 URL: http://svnweb.freebsd.org/changeset/base/256662 Log: Remove files which are in ObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc =

svn commit: r256660 - head/tools/build/mk

2013-10-16 Thread Andrey Zonov
Author: zont Date: Thu Oct 17 02:02:29 2013 New Revision: 256660 URL: http://svnweb.freebsd.org/changeset/base/256660 Log: Remove duplicates in ipfilter and kerberos sections Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc =

svn commit: r254168 - head/sys/vm

2013-08-09 Thread Andrey Zonov
Author: zont Date: Fri Aug 9 23:47:43 2013 New Revision: 254168 URL: http://svnweb.freebsd.org/changeset/base/254168 Log: Remove unused definition for CTL_VM_NAMES. Suggested by: bde Modified: head/sys/vm/vm_param.h Modified: head/sys/vm/vm_param.h =

svn commit: r253775 - head/sys/vm

2013-07-29 Thread Andrey Zonov
Author: zont Date: Mon Jul 29 18:48:51 2013 New Revision: 253775 URL: http://svnweb.freebsd.org/changeset/base/253775 Log: Unbreak sysctl ABI changes introduced in r253662 Requested by: bde Modified: head/sys/vm/vm_param.h Modified: head/sys/vm/vm_param.h ===

Re: svn commit: r253662 - in head: lib/libc/gen sys/vm tools/tools/sysdoc

2013-07-27 Thread Andrey Zonov
On 7/27/13 12:47 AM, Bruce Evans wrote: > On Fri, 26 Jul 2013, Juli Mallett wrote: > >> On Fri, Jul 26, 2013 at 2:26 PM, Andrey Zonov wrote: >> >>> On 7/26/13 8:09 AM, Jilles Tjoelker wrote: >>>> As noted in mail from Bruce Evans, please preserve t

Re: svn commit: r253662 - in head: lib/libc/gen sys/vm tools/tools/sysdoc

2013-07-26 Thread Andrey Zonov
On 7/26/13 8:09 AM, Jilles Tjoelker wrote: > On Fri, Jul 26, 2013 at 02:00:07AM +0000, Andrey Zonov wrote: >> Author: zont >> Date: Fri Jul 26 02:00:06 2013 >> New Revision: 253662 >> URL: http://svnweb.freebsd.org/changeset/base/253662 > >> Log: >

svn commit: r253662 - in head: lib/libc/gen sys/vm tools/tools/sysdoc

2013-07-25 Thread Andrey Zonov
Author: zont Date: Fri Jul 26 02:00:06 2013 New Revision: 253662 URL: http://svnweb.freebsd.org/changeset/base/253662 Log: Remove define and documentation for vm_pageout_algorithm missed in r253587 Modified: head/lib/libc/gen/sysctl.3 head/sys/vm/vm_param.h head/tools/tools/sysdoc/tunable

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

2013-07-25 Thread Andrey Zonov
ex 35ef9c0..8b426e6 100644 --- a/tools/tools/sysdoc/tunables.mdoc +++ b/tools/tools/sysdoc/tunables.mdoc @@ -2259,9 +2259,6 @@ Displays the number of swap devices available to the system. This is a read-only variable. --- -vm.pageout_algorithm - vm.pageout_full_stats_interval --- -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: svn commit: r247066 - head/sys/dev/ppc

2013-02-21 Thread Andrey Zonov
since we only do that to detect the type at startup the > + * extra overhead isn't needed since Giant protects us from multiple entry > + * and no other code changes these registers. > + */ > +#define PPC_CONFIG_LOCK(ppc) critical_enter() > +#define PPC_CONFIG_UNLOC

svn commit: r246720 - head/usr.bin/kdump

2013-02-12 Thread Andrey Zonov
Author: zont Date: Tue Feb 12 19:10:54 2013 New Revision: 246720 URL: http://svnweb.freebsd.org/changeset/base/246720 Log: - Make actually printing path of AF_LOCAL socket types. MFC after:1 week Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c =

svn commit: r246719 - head/usr.bin/kdump

2013-02-12 Thread Andrey Zonov
Author: zont Date: Tue Feb 12 18:48:11 2013 New Revision: 246719 URL: http://svnweb.freebsd.org/changeset/base/246719 Log: - Use correct size of copying different socket structures. MFC after:1 week Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c ==

Re: svn commit: r246402 - stable/9/usr.sbin/inetd

2013-02-09 Thread Andrey Zonov
On 2/6/13 6:12 PM, Ian Lepore wrote: > On Wed, 2013-02-06 at 13:16 +0000, Andrey Zonov wrote: >> Author: zont >> Date: Wed Feb 6 13:16:43 2013 >> New Revision: 246402 >> URL: http://svnweb.freebsd.org/changeset/base/246402 >> >> Log: >> MFC r245696:

svn commit: r246403 - stable/8/usr.sbin/inetd

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:17:41 2013 New Revision: 246403 URL: http://svnweb.freebsd.org/changeset/base/246403 Log: MFC r245696: - Force inetd to have listen queue size to be set to the value of kern.ipc.somaxconn instead of hardcoded value 64. Modified: stable/8/usr.sbin/inetd/i

svn commit: r246402 - stable/9/usr.sbin/inetd

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:16:43 2013 New Revision: 246402 URL: http://svnweb.freebsd.org/changeset/base/246402 Log: MFC r245696: - Force inetd to have listen queue size to be set to the value of kern.ipc.somaxconn instead of hardcoded value 64. Modified: stable/9/usr.sbin/inetd/i

svn commit: r246401 - stable/8/sys/kern

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:14:30 2013 New Revision: 246401 URL: http://svnweb.freebsd.org/changeset/base/246401 Log: MFC r245457: - Detect when we are in KVM. Modified: stable/8/sys/kern/subr_param.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/kern/ (props

svn commit: r246400 - stable/9/sys/kern

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:13:15 2013 New Revision: 246400 URL: http://svnweb.freebsd.org/changeset/base/246400 Log: MFC r245457: - Detect when we are in KVM. Modified: stable/9/sys/kern/subr_param.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/kern/

Re: svn commit: r246129 - head/usr.sbin/tcpdrop

2013-01-30 Thread Andrey Zonov
permit directly pasting the output of commands such as > netstat and sockstat on the command line. > We already have 'tcpdrop -la | grep $port | sh'. Why don't you like it? -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: svn commit: r246033 - head/usr.bin/systat

2013-01-29 Thread Andrey Zonov
On 1/28/13 6:51 PM, Bruce Evans wrote: > On Mon, 28 Jan 2013, Andrey Zonov wrote: > >> Log: >> - Show page faults requiring I/O on vmstat display. > > No space is available there for showing it. > Yep, you're right. >>

svn commit: r246034 - head/usr.bin/vmstat

2013-01-28 Thread Andrey Zonov
Author: zont Date: Mon Jan 28 12:58:37 2013 New Revision: 246034 URL: http://svnweb.freebsd.org/changeset/base/246034 Log: - Show page faults requiring I/O when -s invoked. Reviewed by: alc MFC after:2 weeks Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vms

svn commit: r246033 - head/usr.bin/systat

2013-01-28 Thread Andrey Zonov
Author: zont Date: Mon Jan 28 12:57:42 2013 New Revision: 246033 URL: http://svnweb.freebsd.org/changeset/base/246033 Log: - Show page faults requiring I/O on vmstat display. Reviewed by: alc MFC after:2 weeks Modified: head/usr.bin/systat/vmstat.c Modified: head/usr.bin/systat/v

svn commit: r246032 - in head/sys: sys vm

2013-01-28 Thread Andrey Zonov
Author: zont Date: Mon Jan 28 12:54:53 2013 New Revision: 246032 URL: http://svnweb.freebsd.org/changeset/base/246032 Log: - Add system wide page faults requiring I/O counter. Reviewed by: alc MFC after:2 weeks Modified: head/sys/sys/vmmeter.h head/sys/vm/vm_fault.c head/sys/v

svn commit: r246030 - head/sys/vm

2013-01-28 Thread Andrey Zonov
Author: zont Date: Mon Jan 28 12:20:20 2013 New Revision: 246030 URL: http://svnweb.freebsd.org/changeset/base/246030 Log: - Add sysctls to show number of stats scans. MFC after:2 weeks Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c ===

svn commit: r246029 - head/sys/vm

2013-01-28 Thread Andrey Zonov
Author: zont Date: Mon Jan 28 12:08:29 2013 New Revision: 246029 URL: http://svnweb.freebsd.org/changeset/base/246029 Log: - Style. MFC after:2 weeks Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c ===

svn commit: r245789 - stable/8/lib/libc/sys

2013-01-22 Thread Andrey Zonov
Author: zont Date: Tue Jan 22 12:10:51 2013 New Revision: 245789 URL: http://svnweb.freebsd.org/changeset/base/245789 Log: MFC r245458: - Use standard RETURN VALUES section. Modified: stable/8/lib/libc/sys/chroot.2 Directory Properties: stable/8/lib/libc/ (props changed) stable/8/lib/

svn commit: r245788 - stable/9/lib/libc/sys

2013-01-22 Thread Andrey Zonov
Author: zont Date: Tue Jan 22 12:09:43 2013 New Revision: 245788 URL: http://svnweb.freebsd.org/changeset/base/245788 Log: MFC r245458: - Use standard RETURN VALUES section. Modified: stable/9/lib/libc/sys/chroot.2 Directory Properties: stable/9/lib/libc/ (props changed) stable/9/lib/

svn commit: r245787 - stable/9/sys/vm

2013-01-22 Thread Andrey Zonov
Author: zont Date: Tue Jan 22 12:05:53 2013 New Revision: 245787 URL: http://svnweb.freebsd.org/changeset/base/245787 Log: MFC r240145: - Simplify VM code by using vmspace_wired_count() for counting wired memory of a process. MFC r245255: - Reduce kernel size by removing unnecessary p

Re: svn commit: r245696 - head/usr.sbin/inetd

2013-01-21 Thread Andrey Zonov
On 1/21/13 12:49 PM, Pawel Jakub Dawidek wrote: > On Sun, Jan 20, 2013 at 07:44:34PM +0000, Andrey Zonov wrote: >> Author: zont >> Date: Sun Jan 20 19:44:33 2013 >> New Revision: 245696 >> URL: http://svnweb.freebsd.org/changeset/base/245696 >> >> Log: >&

svn commit: r245696 - head/usr.sbin/inetd

2013-01-20 Thread Andrey Zonov
Author: zont Date: Sun Jan 20 19:44:33 2013 New Revision: 245696 URL: http://svnweb.freebsd.org/changeset/base/245696 Log: - Force inetd to have listen queue size to be set to the value of kern.ipc.somaxconn instead of hardcoded value 64. Submitted by: Andrey Ignatov MFC after:2

Re: svn commit: r245415 - stable/9/etc

2013-01-18 Thread Andrey Zonov
; > And a side note. I think that pam_limits + limits.conf as found on Linuxes is > more natural than the limits tied to login classes. > Totally agree. -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: bin/174831: geli segfaults with the new locked memory limit default

2013-01-18 Thread Andrey Zonov
On 1/17/13 6:00 PM, Fabian Keil wrote: > Konstantin Belousov wrote: > >> On Tue, Jan 15, 2013 at 11:18:19PM +0400, Andrey Zonov wrote: >>> On 1/14/13 11:09 PM, Fabian Keil wrote: >>>> Andrey Zonov wrote: >>>> >>>>> On 1/

Re: svn commit: r245458 - head/lib/libc/sys

2013-01-17 Thread Andrey Zonov
On 1/17/13 2:54 AM, Eitan Adler wrote: > On 15 January 2013 09:09, Andrey Zonov wrote: >> -.Va errno >> -is set to indicate an error. > > ISTR that this is not shown in the -std text. Can this be retained? > This is what I see on my machine for man 2 chroot:

Re: svn commit: r245415 - stable/9/etc

2013-01-15 Thread Andrey Zonov
On 1/14/13 11:09 PM, Fabian Keil wrote: > Andrey Zonov wrote: > >> On 1/14/13 3:26 PM, Fabian Keil wrote: >>> Andrey Zonov wrote: >>> >>>> Author: zont >>>> Date: Mon Jan 14 10:58:20 2013 >>>> New Revision: 245415 >&

svn commit: r245458 - head/lib/libc/sys

2013-01-15 Thread Andrey Zonov
Author: zont Date: Tue Jan 15 14:09:08 2013 New Revision: 245458 URL: http://svnweb.freebsd.org/changeset/base/245458 Log: - Use standard RETURN VALUES section. Approved by: kib (mentor) MFC after:1 week Modified: head/lib/libc/sys/chroot.2 Modified: head/lib/libc/sys/chroot.2 ==

svn commit: r245457 - head/sys/kern

2013-01-15 Thread Andrey Zonov
Author: zont Date: Tue Jan 15 14:05:59 2013 New Revision: 245457 URL: http://svnweb.freebsd.org/changeset/base/245457 Log: - Detect when we are in KVM. Silence on: emulation Approved by: kib (mentor) MFC after:1 week Modified: head/sys/kern/subr_param.c Modified: head/sys/ker

Re: svn commit: r245415 - stable/9/etc

2013-01-14 Thread Andrey Zonov
On 1/14/13 3:26 PM, Fabian Keil wrote: > Andrey Zonov wrote: > >> Author: zont >> Date: Mon Jan 14 10:58:20 2013 >> New Revision: 245415 >> URL: http://svnweb.freebsd.org/changeset/base/245415 >> >> Log: >> MFC r244383: >> - Set memoryloc

svn commit: r245421 - head/sys/vm

2013-01-14 Thread Andrey Zonov
Author: zont Date: Mon Jan 14 12:12:56 2013 New Revision: 245421 URL: http://svnweb.freebsd.org/changeset/base/245421 Log: - Get rid of unused function vmspace_wired_count(). Reviewed by: alc Approved by: kib (mentor) MFC after:1 week Modified: head/sys/vm/vm_map.c head/sys/v

svn commit: r245420 - in stable/9/sys: kern vm

2013-01-14 Thread Andrey Zonov
Author: zont Date: Mon Jan 14 11:13:31 2013 New Revision: 245420 URL: http://svnweb.freebsd.org/changeset/base/245420 Log: - Fix r245416. Turn unprivileged mlock off for compatibility. Exactly this behaviour was approved by kib (mentor). This is a direct commit. Approved by:

svn commit: r245417 - stable/9/lib/libc/sys

2013-01-14 Thread Andrey Zonov
Author: zont Date: Mon Jan 14 11:00:06 2013 New Revision: 245417 URL: http://svnweb.freebsd.org/changeset/base/245417 Log: MFC r244679: - Update manual pages accordingly to r244384 and r244385. Approved by: kib (mentor) Modified: stable/9/lib/libc/sys/mlock.2 stable/9/lib/libc/sys/m

svn commit: r245416 - in stable/9/sys: kern vm

2013-01-14 Thread Andrey Zonov
Author: zont Date: Mon Jan 14 10:58:55 2013 New Revision: 245416 URL: http://svnweb.freebsd.org/changeset/base/245416 Log: MFC r244384: - Fix locked memory accounting for maps with MAP_WIREFUTURE flag. - Add sysctl vm.old_mlock which may turn such accounting off. MFC r244385: - Add sy

svn commit: r245415 - stable/9/etc

2013-01-14 Thread Andrey Zonov
Author: zont Date: Mon Jan 14 10:58:20 2013 New Revision: 245415 URL: http://svnweb.freebsd.org/changeset/base/245415 Log: MFC r244383: - Set memorylocked limit to 64Kb for default login class. This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for

svn commit: r245296 - head/sys/vm

2013-01-11 Thread Andrey Zonov
Author: zont Date: Fri Jan 11 09:58:35 2013 New Revision: 245296 URL: http://svnweb.freebsd.org/changeset/base/245296 Log: - Improve readability of sys_obreak(). Suggested by: alc Reviewed by: alc Approved by: kib (mentor) MFC after:1 week Modified: head/sys/vm/vm_unix.c Mod

svn commit: r245255 - head/sys/vm

2013-01-10 Thread Andrey Zonov
Author: zont Date: Thu Jan 10 12:43:58 2013 New Revision: 245255 URL: http://svnweb.freebsd.org/changeset/base/245255 Log: - Reduce kernel size by removing unnecessary pointer indirections. GENERIC kernel size reduced in 16 bytes and RACCT kernel in 336 bytes. Suggested by: alc Revie

svn commit: r244679 - head/lib/libc/sys

2012-12-25 Thread Andrey Zonov
Author: zont Date: Tue Dec 25 13:43:01 2012 New Revision: 244679 URL: http://svnweb.freebsd.org/changeset/base/244679 Log: - Update manual pages accordingly to r244384 and r244385. Approved by: kib (mentor) MFC after:1 week Modified: head/lib/libc/sys/mlock.2 head/lib/libc/sys/m

Re: svn commit: r244198 - in head: etc/rc.d sbin/sysctl

2012-12-19 Thread Andrey Zonov
ree. I found it very useful with cfengine configuration (as like as cron.d). What do think? diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl index 36f1414..014e4c5 100755 --- a/etc/rc.d/sysctl +++ b/etc/rc.d/sysctl @@ -26,7 +26,7 @@ sysctl_start() ;; esac - for _f in /etc/sysctl.conf /etc/sysctl.conf.local; do + for _f in `ls /etc/sysctl.d/* 2> /dev/null` /etc/sysctl.conf /etc/sysctl.conf.local; do [ -r ${_f} ] && ${command} ${command_args} ${_f} > /dev/null done } -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: svn commit: r244385 - head/sys/kern

2012-12-19 Thread Andrey Zonov
On 12/18/12 6:38 PM, Ivan Voras wrote: > On 18 December 2012 08:36, Andrey Zonov wrote: >> Author: zont >> Date: Tue Dec 18 07:36:45 2012 >> New Revision: 244385 >> URL: http://svnweb.freebsd.org/changeset/base/244385 >> >> Log: >> - Add sysct

Re: svn commit: r244383 - head/etc

2012-12-19 Thread Andrey Zonov
p working for potentially hard-to-debug reasons. >> >> Or we might find no one notices -- but deferring an MFC will help give >> us a better sense of which outcome is more likely. > > ... or maybe this doesn't matter before your later sysctl commit? > Yes. This change should not hurt anybody, because I change defaults for vm.old_mlock and security.bsd.unprivileged_mlock for stable. -- Andrey Zonov signature.asc Description: OpenPGP digital signature

svn commit: r244385 - head/sys/kern

2012-12-17 Thread Andrey Zonov
Author: zont Date: Tue Dec 18 07:36:45 2012 New Revision: 244385 URL: http://svnweb.freebsd.org/changeset/base/244385 Log: - Add sysctl to allow unprivileged users to call mlock(2)-family system calls and turn it on. - Do not allow to call them inside jail. [1] Pointed out by: t

svn commit: r244384 - head/sys/vm

2012-12-17 Thread Andrey Zonov
Author: zont Date: Tue Dec 18 07:35:01 2012 New Revision: 244384 URL: http://svnweb.freebsd.org/changeset/base/244384 Log: - Fix locked memory accounting for maps with MAP_WIREFUTURE flag. - Add sysctl vm.old_mlock which may turn such accounting off. Reviewed by: avg, trasz Approved by

svn commit: r244383 - head/etc

2012-12-17 Thread Andrey Zonov
Author: zont Date: Tue Dec 18 07:27:50 2012 New Revision: 244383 URL: http://svnweb.freebsd.org/changeset/base/244383 Log: - Set memorylocked limit to 64Kb for default login class. This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for daemon login c

Re: svn commit: r242847 - in head/sys: i386/include kern

2012-11-20 Thread Andrey Zonov
On 11/18/12 6:13 PM, Andre Oppermann wrote: > On 18.11.2012 15:05, Andrey Zonov wrote: >> On 11/11/12 3:04 AM, Andre Oppermann wrote: >>> On 10.11.2012 23:24, Alfred Perlstein wrote: >>>> On 11/10/12 11:18 AM, Andre Oppermann wrote: >>>>> On 10.11

Re: svn commit: r242847 - in head/sys: i386/include kern

2012-11-18 Thread Andrey Zonov
9k jumbo configuration. > Other than that there is no relation to maxusers except historic > behavior. > > So the ideal mbuf limit is just short of keeling the kernel over > no matter what maxusers says. There also isn't much to tune then > as the only fix would be to add more physical ram. > -- Andrey Zonov signature.asc Description: OpenPGP digital signature

svn commit: r242377 - stable/8/sys/netinet

2012-10-30 Thread Andrey Zonov
Author: zont Date: Tue Oct 30 21:05:06 2012 New Revision: 242377 URL: http://svn.freebsd.org/changeset/base/242377 Log: MFC r241735: - Update cachelimit after hashsize and bucketlimit were set. Approved by: kib (mentor) Modified: stable/8/sys/netinet/tcp_hostcache.c Directory Properti

svn commit: r242375 - stable/9/sys/netinet

2012-10-30 Thread Andrey Zonov
Author: zont Date: Tue Oct 30 21:04:12 2012 New Revision: 242375 URL: http://svn.freebsd.org/changeset/base/242375 Log: MFC r241735: - Update cachelimit after hashsize and bucketlimit were set. Approved by: kib (mentor) Modified: stable/9/sys/netinet/tcp_hostcache.c Directory Properti

svn commit: r242360 - in head/sys: conf dev/bce

2012-10-30 Thread Andrey Zonov
Author: zont Date: Tue Oct 30 13:22:39 2012 New Revision: 242360 URL: http://svn.freebsd.org/changeset/base/242360 Log: - Remove BCE_JUMBO_HDRSPLIT kernel option which was forgotten in r218423. Approved by: davidch Approved by: kib (mentor) Modified: head/sys/conf/NOTES head/sys/co

svn commit: r241735 - head/sys/netinet

2012-10-19 Thread Andrey Zonov
Author: zont Date: Fri Oct 19 14:00:03 2012 New Revision: 241735 URL: http://svn.freebsd.org/changeset/base/241735 Log: - Update cachelimit after hashsize and bucketlimit were set. Reported by: az Reviewed by: melifaro Approved by: kib (mentor) MFC after:1 week Modified: hea

Re: svn commit: r241625 - head/usr.sbin/cron/cron

2012-10-17 Thread Andrey Zonov
(job_runqueue() == 0) { > Debug(DSCH, ("[%d] sleeping for %d seconds\n", > getpid(), seconds_to_wait)) > > - sleep(seconds_to_wait); > + for (;;) { > + rval = nanosleep(&stime, &remtime); > + if (rval == 0 || errno != EINTR) > + break; > + stime.tv_sec = remtime.tv_sec; > + stime.tv_nsec = remtime.tv_nsec; > + } > } > } > } > -- Andrey Zonov signature.asc Description: OpenPGP digital signature

svn commit: r241162 - stable/9/usr.bin/truss

2012-10-03 Thread Andrey Zonov
Author: zont Date: Wed Oct 3 14:28:55 2012 New Revision: 241162 URL: http://svn.freebsd.org/changeset/base/241162 Log: MFC r239501: - Use pid_t type instead of just int. MFC r239611: - Put arguments for print_syscall_ret() function in proper order. Bug was introduced in r192025.

svn commit: r241159 - stable/8/bin/ps

2012-10-03 Thread Andrey Zonov
Author: zont Date: Wed Oct 3 11:56:18 2012 New Revision: 241159 URL: http://svn.freebsd.org/changeset/base/241159 Log: MFC r240645: - Add 'dsiz' and 'ssiz' keywords to show data and stack size respectively. MFC r240649: - Bump date. Approved by: kib (mentor) Modified: stable/8

svn commit: r241158 - stable/9/bin/ps

2012-10-03 Thread Andrey Zonov
Author: zont Date: Wed Oct 3 11:56:01 2012 New Revision: 241158 URL: http://svn.freebsd.org/changeset/base/241158 Log: MFC r240645: - Add 'dsiz' and 'ssiz' keywords to show data and stack size respectively. MFC r240649: - Bump date. Approved by: kib (mentor) Modified: stable/9

svn commit: r240961 - stable/9/sbin/fsck_ffs

2012-09-26 Thread Andrey Zonov
Author: zont Date: Wed Sep 26 13:57:16 2012 New Revision: 240961 URL: http://svn.freebsd.org/changeset/base/240961 Log: MFC r240463: - Fix a typo in debug message. Modified: stable/9/sbin/fsck_ffs/suj.c Directory Properties: stable/9/sbin/fsck_ffs/ (props changed) Modified: stable/9/sb

svn commit: r240649 - head/bin/ps

2012-09-18 Thread Andrey Zonov
Author: zont Date: Tue Sep 18 13:24:14 2012 New Revision: 240649 URL: http://svn.freebsd.org/changeset/base/240649 Log: - Bump date. Submitted by: pluknet Approved by: kib (mentor) X-MFC-With: r240645 Modified: head/bin/ps/ps.1 Modified: head/bin/ps/ps.1 =

svn commit: r240645 - head/bin/ps

2012-09-18 Thread Andrey Zonov
Author: zont Date: Tue Sep 18 12:25:14 2012 New Revision: 240645 URL: http://svn.freebsd.org/changeset/base/240645 Log: - Add 'dsiz' and 'ssiz' keywords to show data and stack size respectively. Approved by: kib (mentor) MFC after:1 week Modified: head/bin/ps/keyword.c head/bin/

svn commit: r240562 - head/usr.bin/truss

2012-09-16 Thread Andrey Zonov
Author: zont Date: Sun Sep 16 14:38:01 2012 New Revision: 240562 URL: http://svn.freebsd.org/changeset/base/240562 Log: - Make truss thread-aware. Approved by: kib (mentor) MFC after:2 weeks Modified: head/usr.bin/truss/amd64-fbsd.c head/usr.bin/truss/amd64-fbsd32.c head/usr.b

svn commit: r240502 - in stable/8/sys: kern vm

2012-09-14 Thread Andrey Zonov
Author: zont Date: Fri Sep 14 14:24:21 2012 New Revision: 240502 URL: http://svn.freebsd.org/changeset/base/240502 Log: MFC r240026: - Make kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, kern.dflssiz, kern.maxssiz and kern.sgrowsiz sysctls writable. MFC r240068: - Mark some sysctls with

svn commit: r240501 - in stable/9/sys: kern vm

2012-09-14 Thread Andrey Zonov
Author: zont Date: Fri Sep 14 14:23:17 2012 New Revision: 240501 URL: http://svn.freebsd.org/changeset/base/240501 Log: MFC r240026: - Make kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, kern.dflssiz, kern.maxssiz and kern.sgrowsiz sysctls writable. MFC r240068: - Mark some sysctls with

svn commit: r240500 - stable/8/sys/vm

2012-09-14 Thread Andrey Zonov
Author: zont Date: Fri Sep 14 13:57:34 2012 New Revision: 240500 URL: http://svn.freebsd.org/changeset/base/240500 Log: MFC r239818: - Don't take an account of locked memory for current process in vslock(9). There are two consumers of vslock(9): sysctl code and drm driver. These consum

svn commit: r240499 - stable/9/sys/vm

2012-09-14 Thread Andrey Zonov
Author: zont Date: Fri Sep 14 13:56:50 2012 New Revision: 240499 URL: http://svn.freebsd.org/changeset/base/240499 Log: MFC r239818: - Don't take an account of locked memory for current process in vslock(9). There are two consumers of vslock(9): sysctl code and drm driver. These consum

svn commit: r240463 - head/sbin/fsck_ffs

2012-09-13 Thread Andrey Zonov
Author: zont Date: Thu Sep 13 12:55:10 2012 New Revision: 240463 URL: http://svn.freebsd.org/changeset/base/240463 Log: - Fix a typo in debug message. Approved by: kib (mentor) MFC after:3 days Modified: head/sbin/fsck_ffs/suj.c Modified: head/sbin/fsck_ffs/suj.c

svn commit: r240393 - head/usr.bin/truss

2012-09-12 Thread Andrey Zonov
Author: zont Date: Wed Sep 12 13:06:57 2012 New Revision: 240393 URL: http://svn.freebsd.org/changeset/base/240393 Log: - Fix detaching under some circumstances. When truss is detaching from very active process it is possible to hang on waitpid(2) in restore_proc() forever, because

svn commit: r240364 - head/usr.bin/truss

2012-09-11 Thread Andrey Zonov
Author: zont Date: Tue Sep 11 16:30:26 2012 New Revision: 240364 URL: http://svn.freebsd.org/changeset/base/240364 Log: - Remove unused variables. - Remove redundant return after err(3) call. Approved by: kib (mentor) Modified: head/usr.bin/truss/setup.c Modified: head/usr.bin/truss/

svn commit: r240243 - stable/8/usr.sbin/watchdogd

2012-09-08 Thread Andrey Zonov
Author: zont Date: Sat Sep 8 18:07:35 2012 New Revision: 240243 URL: http://svn.freebsd.org/changeset/base/240243 Log: MFC r239769: - Don't allow watchdogd(8) to be swapped out. On machines with huge amount of swap and high IO activity, watchdogd(8) may wait for a swap memory longer t

svn commit: r240242 - stable/9/usr.sbin/watchdogd

2012-09-08 Thread Andrey Zonov
Author: zont Date: Sat Sep 8 18:06:18 2012 New Revision: 240242 URL: http://svn.freebsd.org/changeset/base/240242 Log: MFC r239769: - Don't allow watchdogd(8) to be swapped out. On machines with huge amount of swap and high IO activity, watchdogd(8) may wait for a swap memory longer t

svn commit: r240145 - head/sys/vm

2012-09-05 Thread Andrey Zonov
Author: zont Date: Wed Sep 5 18:19:54 2012 New Revision: 240145 URL: http://svn.freebsd.org/changeset/base/240145 Log: - Simplify VM code by using vmspace_wired_count() for counting wired memory of a process. Reviewed by: avg Approved by: kib (mentor) MFC after:2 weeks Modifie

svn commit: r240069 - head/sys/vm

2012-09-03 Thread Andrey Zonov
Author: zont Date: Mon Sep 3 09:34:46 2012 New Revision: 240069 URL: http://svn.freebsd.org/changeset/base/240069 Log: - After r240026 sgrowsiz should be used in a safer maner. Approved by: kib (mentor) MCF after:1 week Modified: head/sys/vm/vm_map.c Modified: head/sys/vm/vm_map

Re: svn commit: r240026 - head/sys/kern

2012-09-03 Thread Andrey Zonov
On 9/2/12 11:03 PM, Andriy Gapon wrote: > on 02/09/2012 20:39 Andrey Zonov said the following: >> CTLFLAG_RDTUN | CTLFLAG_RW > > This combination looks like nonsense to me (because of "RD"). > > CTLFLAG_RDTUNAdvisory flag that a system tunable also exists for t

svn commit: r240068 - head/sys/kern

2012-09-03 Thread Andrey Zonov
Author: zont Date: Mon Sep 3 09:26:56 2012 New Revision: 240068 URL: http://svn.freebsd.org/changeset/base/240068 Log: - Mark some sysctls with CTLFLAG_TUN flag instead of CTLFLAG_RDTUN. Pointed out by: avg Approved by: kib (mentor) MFC after:1 week Modified: head/sys/ker

Re: svn commit: r240026 - head/sys/kern

2012-09-03 Thread Andrey Zonov
On 9/3/12 1:20 AM, Garrett Cooper wrote: > On Sun, Sep 2, 2012 at 2:16 PM, Garrett Cooper wrote: >> On Sun, Sep 2, 2012 at 10:39 AM, Andrey Zonov wrote: >>> Author: zont >>> Date: Sun Sep 2 17:39:02 2012 >>> New Revision: 240026 >>> URL: http://svn.

svn commit: r240026 - head/sys/kern

2012-09-02 Thread Andrey Zonov
Author: zont Date: Sun Sep 2 17:39:02 2012 New Revision: 240026 URL: http://svn.freebsd.org/changeset/base/240026 Log: - Make kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, kern.dflssiz, kern.maxssiz and kern.sgrowsiz sysctls writable. Approved by: kib (mentor) Modified: head/sys/kern/s

svn commit: r240005 - head/usr.bin/truss

2012-09-02 Thread Andrey Zonov
Author: zont Date: Sun Sep 2 11:03:18 2012 New Revision: 240005 URL: http://svn.freebsd.org/changeset/base/240005 Log: - Style(9) cleanup. Approved by: kib (mentor) Modified: head/usr.bin/truss/amd64-fbsd.c head/usr.bin/truss/amd64-fbsd32.c head/usr.bin/truss/amd64-linux32.c head

svn commit: r239898 - head/usr.bin/truss

2012-08-30 Thread Andrey Zonov
Author: zont Date: Thu Aug 30 08:54:13 2012 New Revision: 239898 URL: http://svn.freebsd.org/changeset/base/239898 Log: - Remove unused variables. - Fix warnings about comparing signed and unsigned ints. Approved by: kib (mentor) Modified: head/usr.bin/truss/powerpc-fbsd.c head/usr.

svn commit: r239896 - head/usr.sbin/watchdogd

2012-08-30 Thread Andrey Zonov
Author: zont Date: Thu Aug 30 08:07:37 2012 New Revision: 239896 URL: http://svn.freebsd.org/changeset/base/239896 Log: - It's also need to lock current memory. Approved by: kib (mentor) MFC after:1 week Modified: head/usr.sbin/watchdogd/watchdogd.c Modified: head/usr.sbin/watchd

svn commit: r239895 - head/sys/vm

2012-08-30 Thread Andrey Zonov
Author: zont Date: Thu Aug 30 08:03:33 2012 New Revision: 239895 URL: http://svn.freebsd.org/changeset/base/239895 Log: - Remove accounting of locked memory from vsunlock(9) that I missed in r239818. Approved by: kib (mentor) Modified: head/sys/vm/vm_glue.c Modified: head/sys/vm/vm_gl

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

2012-08-29 Thread Andrey Zonov
On 8/29/12 4:09 PM, Sergey Kandaurov wrote: > On 29 August 2012 15:23, Andrey Zonov wrote: >> Author: zont >> Date: Wed Aug 29 11:23:59 2012 >> New Revision: 239818 >> URL: http://svn.freebsd.org/changeset/base/239818 >> >> Log: >> - Don't take

svn commit: r239818 - head/sys/vm

2012-08-29 Thread Andrey Zonov
Author: zont Date: Wed Aug 29 11:23:59 2012 New Revision: 239818 URL: http://svn.freebsd.org/changeset/base/239818 Log: - Don't take an account of locked memory for current process in vslock(9). There are two consumers of vslock(9): sysctl code and drm driver. These consumers are using l

svn commit: r239769 - head/usr.sbin/watchdogd

2012-08-28 Thread Andrey Zonov
Author: zont Date: Tue Aug 28 08:38:53 2012 New Revision: 239769 URL: http://svn.freebsd.org/changeset/base/239769 Log: - Don't allow watchdogd(8) to be swapped out. On machines with huge amount of swap and high IO activity, watchdogd(8) may wait for a swap memory longer than timeout and

svn commit: r239611 - head/usr.bin/truss

2012-08-23 Thread Andrey Zonov
Author: zont Date: Thu Aug 23 12:20:29 2012 New Revision: 239611 URL: http://svn.freebsd.org/changeset/base/239611 Log: - Put arguments for print_syscall_ret() function in proper order. Bug was introduced in r192025. Approved by: kib (mentor) Modified: head/usr.bin/truss/ia64-fbsd.c

Re: svn commit: r239562 - head/usr.sbin/makefs

2012-08-22 Thread Andrey Zonov
Wed Aug 22 05:38:06 2012 > (r239561) > +++ head/usr.sbin/makefs/makefs.h Wed Aug 22 06:37:30 2012 > (r239562) > @@ -129,6 +129,7 @@ typedef struct { > int freeblockpc;/* free block % */ > int needswap; /* non-zero if byte swapping

svn commit: r239501 - head/usr.bin/truss

2012-08-21 Thread Andrey Zonov
Author: zont Date: Tue Aug 21 14:58:51 2012 New Revision: 239501 URL: http://svn.freebsd.org/changeset/base/239501 Log: - Use pid_t type instead of just int. Approved by: kib (mentor) Modified: head/usr.bin/truss/extern.h head/usr.bin/truss/setup.c head/usr.bin/truss/syscalls.c he

svn commit: r239498 - head/usr.bin/calendar/calendars

2012-08-21 Thread Andrey Zonov
+230,7 @@ 07/22 Jens Schweikhardt born in Waiblingen, Baden-Wuerttemberg, Germany, 1967 07/22 Lukas Ertl born in Weissenbach/Enns, Steiermark, Austria, 1976 07/23 Sergey A. Osokin born in Krasnogorsky, Stepnogorsk, Akmolinskaya region, Kazakhstan, 1972 +07/23 Andrey Zonov born in Kirov

svn commit: r239497 - head/share/misc

2012-08-21 Thread Andrey Zonov
ngari@ zack [label="Zack Kirsch\nz...@freebsd.org\n2010/11/05"] zec [label="Marko Zec\n...@freebsd.org\n2008/06/22"] zml [label="Zachary Loafman\n...@freebsd.org\n2009/05/27"] +zont [label="Andrey Zonov\nz...@freebsd.org\n2012/08/21"] # Pseudo target repr

Re: svn commit: r238622 - head/etc/rc.d

2012-08-03 Thread Andrey Zonov
ill update their systems. PS: It would be very useful to have a chance to turn off rule #9 in FreeBSD. -- Andrey Zonov ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

  1   2   >