Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib

2012-10-16 Thread Valentin Nechayev
Mon, Oct 15, 2012 at 15:45:37, adrian wrote about Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib: Why not sleep for the amonut of time needed before the next event? If you do this for all events listed currently in all crontabs, you need event engine. Currently request to

Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib

2012-10-16 Thread Maxim Sobolev
On 10/15/2012 1:44 PM, Ian Lepore wrote: It appears to, which I don't think is a bad thing at all. But the way it waits is to wake up, do some work, and go back to sleep for an integer 1 second. That will occasionally lead to a second in which no wakeup happens, as the do some work part always

Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib

2012-10-16 Thread Maxim Sobolev
On 10/15/2012 9:40 PM, Adrian Chadd wrote: Gah, I think there's quite a lot of push back on this. Maxim, would you please consider reverting this patch? Can we have a discussion on the best way to do this, taking various things like embedded and power-saving systems into effect? I am working

svn commit: r241603 - head/sys/dev/aha

2012-10-16 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 16 08:40:09 2012 New Revision: 241603 URL: http://svn.freebsd.org/changeset/base/241603 Log: Fix build of aha(4). Submitted by: delphij Modified: head/sys/dev/aha/aha.c head/sys/dev/aha/aha_isa.c head/sys/dev/aha/ahareg.h Modified:

svn commit: r241604 - in head/sys: conf kern

2012-10-16 Thread Attilio Rao
Author: attilio Date: Tue Oct 16 09:55:31 2012 New Revision: 241604 URL: http://svn.freebsd.org/changeset/base/241604 Log: Disconnect non-MPSAFE HPFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. Modified: head/sys/conf/NOTES

svn commit: r241605 - head/sys/dev/dpt

2012-10-16 Thread Sergey Kandaurov
Author: pluknet Date: Tue Oct 16 09:57:34 2012 New Revision: 241605 URL: http://svn.freebsd.org/changeset/base/241605 Log: Fix build of dpt(4). Modified: head/sys/dev/dpt/dpt_scsi.c Modified: head/sys/dev/dpt/dpt_scsi.c

svn commit: r241606 - in head: etc/defaults etc/mtree include sbin/mount share/doc/smm/01.setup share/examples share/man/man7 sys/boot/forth sys/conf sys/kern sys/modules usr.sbin usr.sbin/crunch/e...

2012-10-16 Thread Attilio Rao
Author: attilio Date: Tue Oct 16 09:59:10 2012 New Revision: 241606 URL: http://svn.freebsd.org/changeset/base/241606 Log: Disconnect non-MPSAFE PORTALFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. Modified: head/etc/defaults/rc.conf

svn commit: r241607 - in head: . share/man/man5 sys/boot/forth sys/conf sys/modules

2012-10-16 Thread Attilio Rao
Author: attilio Date: Tue Oct 16 10:04:00 2012 New Revision: 241607 URL: http://svn.freebsd.org/changeset/base/241607 Log: Disconnect non-MPSAFE XFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. Modified: head/MAINTAINERS

svn commit: r241608 - in head: share/man/man4 sys/boot/forth sys/conf sys/modules

2012-10-16 Thread Attilio Rao
Author: attilio Date: Tue Oct 16 10:09:21 2012 New Revision: 241608 URL: http://svn.freebsd.org/changeset/base/241608 Log: Disconnect non-MPSAFE CODAFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. Modified: head/share/man/man4/Makefile

Re: svn commit: r241603 - head/sys/dev/aha

2012-10-16 Thread John Baldwin
On Tuesday, October 16, 2012 4:40:09 am Gleb Smirnoff wrote: Author: glebius Date: Tue Oct 16 08:40:09 2012 New Revision: 241603 URL: http://svn.freebsd.org/changeset/base/241603 Log: Fix build of aha(4). Submitted by: delphij Modified: head/sys/dev/aha/aha.c

svn commit: r241610 - in head: . sys/dev/usb sys/net sys/net80211 sys/netpfil/ipfw sys/netpfil/pf sys/sys

2012-10-16 Thread Gleb Smirnoff
(r241609) +++ head/UPDATING Tue Oct 16 13:37:54 2012(r241610) @@ -24,6 +24,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 disable the most expensive debugging functionality run ln -s 'abort:false,junk:false' /etc/malloc.conf.) +20121016: + The interface cloning API

svn commit: r241611 - head/sys/dev/aha

2012-10-16 Thread Sergey Kandaurov
Author: pluknet Date: Tue Oct 16 15:25:04 2012 New Revision: 241611 URL: http://svn.freebsd.org/changeset/base/241611 Log: Fix aha(4) build with i386 LINT (which includes 'device mca'). Modified: head/sys/dev/aha/aha_mca.c Modified: head/sys/dev/aha/aha_mca.c

svn commit: r241612 - head/usr.bin/bmake

2012-10-16 Thread David E. O'Brien
Author: obrien Date: Tue Oct 16 15:43:16 2012 New Revision: 241612 URL: http://svn.freebsd.org/changeset/base/241612 Log: Obey the value of MK_BMAKE. Modified: head/usr.bin/bmake/Makefile.inc Modified: head/usr.bin/bmake/Makefile.inc

svn commit: r241613 - head/sys/cam/scsi

2012-10-16 Thread Eitan Adler
Author: eadler Date: Tue Oct 16 17:49:14 2012 New Revision: 241613 URL: http://svn.freebsd.org/changeset/base/241613 Log: Add support for samsung HM250JI PR: usb/121474 Submitted by: Ben Stuyts b...@altesco.nl Approved by: cperciva (implicit) MFC after:3 days

svn commit: r241616 - in head/sys: dev/ixgbe net

2012-10-16 Thread Maksim Yevmenkin
Author: emax Date: Tue Oct 16 20:18:15 2012 New Revision: 241616 URL: http://svn.freebsd.org/changeset/base/241616 Log: introduce concept of ifi_baudrate power factor. the idea is to work around the problem where high speed interfaces (such as ixgbe(4)) are not able to report real

Re: svn commit: r241616 - in head/sys: dev/ixgbe net

2012-10-16 Thread John Baldwin
On Tuesday, October 16, 2012 4:18:16 pm Maksim Yevmenkin wrote: Author: emax Date: Tue Oct 16 20:18:15 2012 New Revision: 241616 URL: http://svn.freebsd.org/changeset/base/241616 Log: introduce concept of ifi_baudrate power factor. the idea is to work around the problem where high

Re: svn commit: r241616 - in head/sys: dev/ixgbe net

2012-10-16 Thread Maksim Yevmenkin
On Tue, Oct 16, 2012 at 2:02 PM, John Baldwin j...@freebsd.org wrote: On Tuesday, October 16, 2012 4:18:16 pm Maksim Yevmenkin wrote: Author: emax Date: Tue Oct 16 20:18:15 2012 New Revision: 241616 URL: http://svn.freebsd.org/changeset/base/241616 Log: introduce concept of ifi_baudrate

svn commit: r241618 - head/usr.sbin/cron/lib

2012-10-16 Thread Maxim Sobolev
Author: sobomax Date: Tue Oct 16 21:34:02 2012 New Revision: 241618 URL: http://svn.freebsd.org/changeset/base/241618 Log: Properly handle non-keyword case by setting e-second to 0. Modified: head/usr.sbin/cron/lib/entry.c Modified: head/usr.sbin/cron/lib/entry.c

svn commit: r241619 - head/sys/net

2012-10-16 Thread Maksim Yevmenkin
Author: emax Date: Tue Oct 16 22:43:14 2012 New Revision: 241619 URL: http://svn.freebsd.org/changeset/base/241619 Log: report total number of ports for each lagg(4) interface via net.link.lagg.X.count sysctl MFC after:1 week Modified: head/sys/net/if_lagg.c Modified:

Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib

2012-10-16 Thread Adrian Chadd
On 16 October 2012 00:06, Maxim Sobolev sobo...@freebsd.org wrote: I am working on improved version, so that in the absence of @every_second it would revert to the previous behavior. Even though I seriously doubt that few thousand additional CPU cycles every second would make any measurable

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

2012-10-16 Thread Maxim Sobolev
Author: sobomax Date: Wed Oct 17 00:44:34 2012 New Revision: 241625 URL: http://svn.freebsd.org/changeset/base/241625 Log: o Use nanosleep(2) to sleep exact amount of time till the next second, not multiple of 1 second, which results in actual time to drift back and forth every run within 1

svn commit: r241626 - head/sys/dev/cxgbe/tom

2012-10-16 Thread Navdeep Parhar
Author: np Date: Wed Oct 17 05:08:35 2012 New Revision: 241626 URL: http://svn.freebsd.org/changeset/base/241626 Log: Whitespace cleanup. MFC after:3 days Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c head/sys/dev/cxgbe/tom/t4_listen.c Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c