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: 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 ===

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: 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:

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

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: 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: 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: 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: 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: 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-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Andrey Zonov
/usr/src]$ grep IF_AFDATA_WLOCK_ASSERT sys/net/if_var.h #define IF_AFDATA_WLOCK_ASSERT(ifp) rw_assert(&(ifp)->if_afdata_lock, RA_WLOCKED) Please check your environment. (or maybe clean /usr/obj?) -- Andrey Zonov ___ svn-src-head@freebs

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread Andrey Zonov
desc) return; ___ svn-src-...@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" -- Andrey Zonov ___

Re: svn commit: r237005 - head

2012-06-13 Thread Andrey Zonov
z I think you missed usr/share/examples/etc/auth.conf >  # 20120530: kde pam lives now in ports >  OLD_FILES+=/etc/pam.d/kde >  # 20120505: new clang import installed a redundant internal header -- Andrey Zonov ___ svn-src-head@freebsd.org maili

Re: svn commit: r233925 - in head: sys/kern sys/sys sys/vm usr.bin/kdump usr.bin/ktrace

2012-04-11 Thread Andrey Zonov
On 11.04.2012 20:02, John Baldwin wrote: On Tuesday, April 10, 2012 3:47:23 pm Andrey Zonov wrote: On 05.04.2012 21:13, John Baldwin wrote: Author: jhb Date: Thu Apr 5 17:13:14 2012 New Revision: 233925 URL: http://svn.freebsd.org/changeset/base/233925 Log: Add new ktrace records for the

Re: svn commit: r233925 - in head: sys/kern sys/sys sys/vm usr.bin/kdump usr.bin/ktrace

2012-04-10 Thread Andrey Zonov
u are here I would like to show you a patch which adds a "wmesg" to the context switch tracing. It is not finished, it's just a concept. Please review it and if you are interesting in that I'll finish it and will test more widely. -- Andrey Zono

Re: svn commit: r232844 - head/contrib/ntp/ntpd

2012-03-12 Thread Andrey Zonov
inet6 2a02:X:X:X::X:9f09 prefixlen 64 tentative nd6 options=29 You are not doing IPv6 here, fix your rc.conf probably as told on boot to get rid of the ifdisabled. That is new for me. Thanks! -- Andrey Zonov ___ svn-src-head@freebsd.org

Re: svn commit: r232844 - head/contrib/ntp/ntpd

2012-03-12 Thread Andrey Zonov
prefixlen 64 tentative scopeid 0x1 inet X.X.X.X netmask 0xfc00 broadcast X.X.X.X inet6 2a02:X:X:X::X:9f09 prefixlen 64 tentative nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active -- Andrey Zonov _

Re: svn commit: r232629 - in head: sbin/ifconfig sys/net

2012-03-06 Thread Andrey Zonov
/SCTP. s/UCP/UDP/? +.El +.Pp .El .Pp The following parameters are specific to IP tunnel interfaces, [snip] -- Andrey Zonov ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send a

Re: svn commit: r232321 - head/share/man/man9

2012-03-01 Thread Andrey Zonov
On Thu, Mar 1, 2012 at 1:44 PM, Andriy Gapon wrote: > on 01/03/2012 11:11 Andrey Zonov said the following: >> It doesn't make sense.  For (CTLFLAG_RD|CTLFLAG_TUN) there is relevant >> code in sysctl(8), but for (CTLFLAG_RW|CTLFLAG_TUN) there is no any >> code, or did I

Re: svn commit: r232321 - head/share/man/man9

2012-03-01 Thread Andrey Zonov
On Thu, Mar 1, 2012 at 1:06 PM, Andriy Gapon wrote: > on 01/03/2012 09:21 Andrey Zonov said the following: >> On 01.03.2012 2:41, Andrew Thompson wrote: >>> Author: thompsa >>> Date: Wed Feb 29 22:41:40 2012 >>> New Revision: 232321 >>> URL:

Re: svn commit: r232321 - head/share/man/man9

2012-02-29 Thread Andrey Zonov
. This flag is only used by sysctl(8) to provide a helpful error message. Thanks! I also think we should remove all CTLFLAG_TUN flags which are combination with CTLFLAG_RW. -- Andrey Zonov ___ svn-src-head@freebsd.org mailing list http

Re: svn commit: r232239 - head/contrib/top

2012-02-27 Thread Andrey Zonov
delivered before pause(3) is entered, top hangs. Submitted by:Andrey Zonov MFC after: 1 week Modified: head/contrib/top/top.c Thanks a lot! -- Andrey Zonov ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Andrey Zonov
On 13.02.2012 0:56, Dmitry Morozovsky wrote: On Mon, 13 Feb 2012, Andrey Zonov wrote: [snip] Please don't. Even if you can't write the pidfile, you should run the service. The same as for pidfile_open() failure as documented in example. Feel free to warn about problem with writing

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Andrey Zonov
o the example in the manual page. -- Andrey Zonov ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-11 Thread Andrey Zonov
d not be written because of there is not enough free space (but file was created). Unfortunately, I have no suggestions how to handle this properly. -- Andrey Zonov ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/sv

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-06 Thread Andrey Zonov
you would need to do a double-fork for that to work though since users expect daemon to return instantly and not need to be put in the background. It would be also nice to have an option for automatically respawn the child. This option has GNU version of daemon. What do you think? -- Andrey

Re: svn commit: r231025 - in head: share/man/man4 sys/netinet sys/sys

2012-02-06 Thread Andrey Zonov
, idle time, idle re-send interval and idle send count on a per-socket basis. Reviewed by: andre, bz, lstewart Hi Gleb, Maybe while you're here you can find solution for PR14400? -- Andrey Zonov ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-04 Thread Andrey Zonov
cause there is working solution - pid directory. Hi, There's even worse problem - kernel closes pidfile in execvp() because of FD_CLOEXEC flag is set and daemon doesn't hold lock on pidfile. I reported about that earlier, but was ignored.

Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-15 Thread Andrey Zonov
-src-...@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" -- Andrey Zonov ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/ma

Re: svn commit: r228387 - head/sys/dev/e1000

2011-12-21 Thread Andrey Zonov
Could you please back sysctls from r223676 for igb? On 10.12.2011 11:08, Jack F Vogel wrote: Author: jfv Date: Sat Dec 10 07:08:52 2011 New Revision: 228387 URL: http://svn.freebsd.org/changeset/base/228387 -- Andrey Zonov ___ svn-src-head