Re: svn commit: r237660 - head/lib/libc/gen

2012-06-28 Thread Kostik Belousov
On Thu, Jun 28, 2012 at 4:00 PM, David Xu listlog2...@gmail.com wrote: On 2012/6/28 16:49, David Xu wrote: On 2012/6/28 15:53, Konstantin Belousov wrote: On Thu, Jun 28, 2012 at 10:53:03AM +0800, David Xu wrote: On 2012/6/28 10:32, Attilio Rao wrote: 2012/6/28, David

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

2012-01-29 Thread Kostik Belousov
On Sun, Jan 29, 2012 at 05:39:04PM -0500, David Schultz wrote: On Sun, Jan 29, 2012, Kostik Belousov wrote: On Sat, Jan 28, 2012 at 07:12:25PM -0500, David Schultz wrote: On Sat, Jan 28, 2012, Kostik Belousov wrote: On Fri, Jan 27, 2012 at 02:42:21PM -0500, David Schultz wrote

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

2012-01-28 Thread Kostik Belousov
On Fri, Jan 27, 2012 at 02:42:21PM -0500, David Schultz wrote: On Fri, Jan 27, 2012, Kostik Belousov wrote: On Fri, Jan 27, 2012 at 07:50:30PM +1100, Bruce Evans wrote: On Thu, 26 Jan 2012, Gleb Smirnoff wrote: On Thu, Jan 26, 2012 at 11:53:57PM +1100, Bruce Evans wrote: B

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

2012-01-27 Thread Kostik Belousov
On Fri, Jan 27, 2012 at 07:50:30PM +1100, Bruce Evans wrote: On Thu, 26 Jan 2012, Gleb Smirnoff wrote: On Thu, Jan 26, 2012 at 11:53:57PM +1100, Bruce Evans wrote: B @@ -1552,6 +1552,12 @@ aio_aqueue(struct thread *td, struct aio B return (error); B } B B +

Re: svn commit: r230252 - head/sys/fs/tmpfs

2012-01-24 Thread Kostik Belousov
On Mon, Jan 23, 2012 at 11:05:42PM +0200, Mikolaj Golub wrote: On Mon, 23 Jan 2012 17:34:57 +0200 Jaakko Heinonen wrote: JH On 2012-01-22, Mikolaj Golub wrote: Also, may be we should allow remounting ro (and may be some othe options) for tmpfs? JH Yes, the patch below does that.

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

2012-01-23 Thread Kostik Belousov
On Mon, Jan 23, 2012 at 01:25:04PM +0100, Dimitry Andric wrote: On 2012-01-23 05:28, Hiroki Sato wrote: ... I don't think it is needed. The makefs utility is a special case because it will probably diverge from the upstream to support FreeBSD-specific feature in the future (this is one

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

2012-01-23 Thread Kostik Belousov
On Mon, Jan 23, 2012 at 03:13:07PM +0100, Dimitry Andric wrote: On 2012-01-23 13:31, Kostik Belousov wrote: On Mon, Jan 23, 2012 at 01:25:04PM +0100, Dimitry Andric wrote: ... There is a typo in the second or condition, should it be gcc46 both times ? Ah, sorry, that was a copy/paste error

Re: svn commit: r229986 - head/lib/libutil

2012-01-11 Thread Kostik Belousov
On Wed, Jan 11, 2012 at 10:33:41PM +, Guy Helmer wrote: Author: ghelmer Date: Wed Jan 11 22:33:41 2012 New Revision: 229986 URL: http://svn.freebsd.org/changeset/base/229986 Log: Fix namespace issues with prototype parameter names. Add missing prototype parameter names.

Re: svn commit: r229828 - in head/sys: kern ufs/ufs

2012-01-09 Thread Kostik Belousov
On Mon, Jan 09, 2012 at 12:55:06AM -0800, Doug Barton wrote: On 01/08/2012 15:06, Konstantin Belousov wrote: Author: kib Date: Sun Jan 8 23:06:53 2012 New Revision: 229828 URL: http://svn.freebsd.org/changeset/base/229828 Log: Avoid LOR between vfs_busy() lock and covered vnode

Re: svn: head/sys/netinet

2011-12-30 Thread Kostik Belousov
On Fri, Dec 30, 2011 at 04:25:09PM -0800, Maxim Sobolev wrote: On 12/30/2011 4:17 PM, Maxim Sobolev wrote: M Won't this break whole lot of third-party software, which expects M FreeBSD to be slightly different in this regards? Just curious. Yes it does. And until FreeBSD 10.0-RELEASE there

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2011-12-23 Thread Kostik Belousov
On Fri, Dec 23, 2011 at 12:06:44PM -0500, Alexander Kabaev wrote: On Fri, 23 Dec 2011 11:22:34 -0500 John Baldwin j...@freebsd.org wrote: On Friday, December 23, 2011 10:58:46 am John Baldwin wrote: On Friday, December 23, 2011 10:00:38 am Colin Percival wrote: Author: cperciva

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2011-12-23 Thread Kostik Belousov
On Fri, Dec 23, 2011 at 01:20:34PM -0500, Alexander Kabaev wrote: On Fri, 23 Dec 2011 19:51:43 +0200 Kostik Belousov kostik...@gmail.com wrote: On Fri, Dec 23, 2011 at 12:06:44PM -0500, Alexander Kabaev wrote: On Fri, 23 Dec 2011 11:22:34 -0500 John Baldwin j...@freebsd.org wrote

Re: svn commit: r228616 - head/usr.bin/tar

2011-12-17 Thread Kostik Belousov
On Sat, Dec 17, 2011 at 01:36:51AM +, Dimitry Andric wrote: Author: dim Date: Sat Dec 17 01:36:50 2011 New Revision: 228616 URL: http://svn.freebsd.org/changeset/base/228616 Log: In usr.bin/tar/tree.c, if you really want to poke to NULL, you must use volatile, otherwise the

Re: svn commit: r228663 - head/usr.sbin/lpr/filters

2011-12-17 Thread Kostik Belousov
On Sat, Dec 17, 2011 at 09:37:22PM +, Dimitry Andric wrote: Author: dim Date: Sat Dec 17 21:37:21 2011 New Revision: 228663 URL: http://svn.freebsd.org/changeset/base/228663 Log: In usr.sbin/lpr/filters/lpf.c, use a less obtuse way of clearing the buffer, that also avoids

Re: svn commit: r228509 - in head: share/man/man9 sys/kern sys/sys

2011-12-15 Thread Kostik Belousov
+ switch (rv) { + case KERN_INVALID_ADDRESS: + case KERN_NO_SPACE: + return (ENOMEM); + case KERN_PROTECTION_FAILURE: + return (EACCES); + default: + return (EINVAL); + } You can replace this fragment with the call to

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Kostik Belousov
On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http://svn.freebsd.org/changeset/base/228433 Log: put sys/systm.h at its proper place or add it if missing Reported by:lstewart, tinderbox

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Kostik Belousov
On Mon, Dec 12, 2011 at 11:03:15AM +, Konstantin Belousov wrote: Author: kib Date: Mon Dec 12 11:03:14 2011 New Revision: 228435 URL: http://svn.freebsd.org/changeset/base/228435 Log: Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to rtld on 386 and amd64.

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-12 Thread Kostik Belousov
On Mon, Dec 12, 2011 at 06:17:09PM +0100, Joerg Sonnenberger wrote: On Mon, Dec 12, 2011 at 11:03:15AM +, Konstantin Belousov wrote: To allow use of external references from the dispatch function, resolution of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT

Re: svn commit: r228322 - in head: include lib/libc/stdlib sys/sys

2011-12-07 Thread Kostik Belousov
On Wed, Dec 07, 2011 at 03:25:48PM +, David Chisnall wrote: Author: theraven Date: Wed Dec 7 15:25:48 2011 New Revision: 228322 URL: http://svn.freebsd.org/changeset/base/228322 Log: Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a __noreturn macro and

Re: svn commit: r228269 - head/lib/libc/locale

2011-12-05 Thread Kostik Belousov
intended to do for quite some time. The hack for openssl is due to buggy assembler, which exactly the case I want to avoid for the base code. commit 3fdba61936a011b768845a8336ad2529e77e8ddb Author: Kostik Belousov kostik@sirion Date: Mon Dec 5 13:01:48 2011 +0200 Fail the build when text

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Kostik Belousov
On Sat, Nov 26, 2011 at 06:43:01PM +0200, Mikolaj Golub wrote: On Thu, 24 Nov 2011 09:12:35 +0200 Mikolaj Golub wrote: MG On Wed, 23 Nov 2011 11:10:47 -0800 m...@freebsd.org wrote:                        printf( AT_IGNORE=0x%lu, -                           (unsigned

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Kostik Belousov
On Sat, Nov 26, 2011 at 06:13:14PM +, Robert N. M. Watson wrote: On 26 Nov 2011, at 17:48, Kostik Belousov wrote: in138:~% procstat -x 2008 PID COMM AUXV VALUE 2008 nginxAT_PHDR 0x400040 2008 nginxAT_PHENT

Re: svn commit: r227798 - in head: . lib/libpam lib/libpam/modules

2011-11-22 Thread Kostik Belousov
On Tue, Nov 22, 2011 at 10:38:02PM +0100, Dag-Erling Sm??rgrav wrote: Dag-Erling Sm??rgrav d...@des.no writes: Jilles Tjoelker jil...@stack.nl writes: Although this will work, I think it trades the quality of the binaries for a cleaner build system. It is better to pass all libraries to

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

2011-11-21 Thread Kostik Belousov
On Mon, Nov 21, 2011 at 10:36:57AM +, Sergey Kandaurov wrote: Author: pluknet Date: Mon Nov 21 10:36:57 2011 New Revision: 227784 URL: http://svn.freebsd.org/changeset/base/227784 Log: Use the acquired reference to the vmspace instead of direct dereferencing of p-p_vmspace like it

Re: svn commit: r227491 - head/sbin/md5

2011-11-13 Thread Kostik Belousov
On Sun, Nov 13, 2011 at 05:07:43PM +, Eitan Adler wrote: Author: eadler (ports committer) Date: Sun Nov 13 17:07:43 2011 New Revision: 227491 URL: http://svn.freebsd.org/changeset/base/227491 Log: - new sentence should start on new line. PR: bin/146541 Submitted

Re: svn commit: r227454 - head/sbin/newfs_msdos

2011-11-11 Thread Kostik Belousov
On Fri, Nov 11, 2011 at 08:31:48PM +, Xin LI wrote: Author: delphij Date: Fri Nov 11 20:31:48 2011 New Revision: 227454 URL: http://svn.freebsd.org/changeset/base/227454 Log: Use __packed to prevent alignment from taking place, which otherwise may change the on-disk format in an

Re: svn commit: r227394 - in head/sys: amd64/amd64 i386/i386

2011-11-10 Thread Kostik Belousov
On Thu, Nov 10, 2011 at 07:23:23AM +0100, Pawel Jakub Dawidek wrote: On Wed, Nov 09, 2011 at 07:31:28PM +0200, Kostik Belousov wrote: On Wed, Nov 09, 2011 at 05:25:43PM +, Konstantin Belousov wrote: Author: kib Date: Wed Nov 9 17:25:43 2011 New Revision: 227394 URL: http

Re: svn commit: r226687 - head/sys/fs/nullfs

2011-10-24 Thread Kostik Belousov
On Mon, Oct 24, 2011 at 04:22:45PM +0200, Roman Divacky wrote: On Mon, Oct 24, 2011 at 01:53:32PM +, Konstantin Belousov wrote: Author: kib Date: Mon Oct 24 13:53:32 2011 New Revision: 226687 URL: http://svn.freebsd.org/changeset/base/226687 Log: The only possible error

Re: svn commit: r226606 - in head/lib/libc: amd64 amd64/gen arm arm/gen gen i386 i386/gen ia64 ia64/gen mips mips/gen powerpc powerpc/gen powerpc64 powerpc64/gen sparc64 sparc64/gen

2011-10-21 Thread Kostik Belousov
On Fri, Oct 21, 2011 at 06:40:36AM +, David Schultz wrote: Author: das Date: Fri Oct 21 06:40:36 2011 New Revision: 226606 URL: http://svn.freebsd.org/changeset/base/226606 Log: Replace a proliferation of buggy MD implementations of modf() with a working MI one. The MI one only

Re: svn commit: r226606 - in head/lib/libc: amd64 amd64/gen arm arm/gen gen i386 i386/gen ia64 ia64/gen mips mips/gen powerpc powerpc/gen powerpc64 powerpc64/gen sparc64 sparc64/gen

2011-10-21 Thread Kostik Belousov
On Fri, Oct 21, 2011 at 08:22:42AM -0400, John Baldwin wrote: On Friday, October 21, 2011 4:12:01 am Kostik Belousov wrote: On Fri, Oct 21, 2011 at 06:40:36AM +, David Schultz wrote: Author: das Date: Fri Oct 21 06:40:36 2011 New Revision: 226606 URL: http://svn.freebsd.org

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

2011-10-15 Thread Kostik Belousov
On Fri, Oct 14, 2011 at 02:35:15PM -0700, Marcel Moolenaar wrote: On Oct 14, 2011, at 11:24 AM, Kostik Belousov wrote: After more thought about the issue, I do not agree with you. Elf specification says about the PF_R flag that only read permission for the memory image of the segment

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

2011-10-14 Thread Kostik Belousov
On Thu, Oct 13, 2011 at 06:50:30PM -0400, David Schultz wrote: On Thu, Oct 13, 2011, Marcel Moolenaar wrote: On Oct 13, 2011, at 2:07 PM, John Baldwin wrote: That's really besides the point. ABI changes are made deliberately and ABIs must be well-documented for anyone to adhere to

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

2011-10-13 Thread Kostik Belousov
On Thu, Oct 13, 2011 at 04:20:10PM +, Marcel Moolenaar wrote: Author: marcel Date: Thu Oct 13 16:20:10 2011 New Revision: 226343 URL: http://svn.freebsd.org/changeset/base/226343 Log: In sys_obreak() and when compiling for amd64 or ia64, when the process is ILP32 (i.e. i386) grant

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

2011-10-13 Thread Kostik Belousov
On Thu, Oct 13, 2011 at 11:30:12AM -0700, Marcel Moolenaar wrote: On Oct 13, 2011, at 11:20 AM, Kostik Belousov wrote: The two commits removed NX support for .data/.bss for 32bit binaries Thon amd64. is is too unfortunate. Can we claim that only old Thbinaries need this hack ? I don't

Re: svn commit: r226122 - head/share/mk

2011-10-08 Thread Kostik Belousov
On Sat, Oct 08, 2011 at 08:02:43AM -0700, Stanislav Sedov wrote: On Oct 8, 2011, at 12:33 AM, Ed Schouten e...@80386.nl wrote: Hi, * Stanislav Sedov s...@freebsd.org, 20111008 01:43: - ${WRKSRC} might be missing when the autotools fixup is running. Account for this. Maybe we

Re: svn commit: r226122 - head/share/mk

2011-10-08 Thread Kostik Belousov
On Sat, Oct 08, 2011 at 12:25:16PM -0700, Doug Barton wrote: On 10/08/2011 08:23, Kostik Belousov wrote: On Sat, Oct 08, 2011 at 08:02:43AM -0700, Stanislav Sedov wrote: On Oct 8, 2011, at 12:33 AM, Ed Schouten e...@80386.nl wrote: Hi, * Stanislav Sedov s...@freebsd.org, 20111008 01

Re: svn commit: r225894 - in head/sys: kern sys

2011-10-01 Thread Kostik Belousov
On Sat, Oct 01, 2011 at 10:18:55AM +, Konstantin Belousov wrote: Author: kib Date: Sat Oct 1 10:18:55 2011 New Revision: 225894 URL: http://svn.freebsd.org/changeset/base/225894 Log: The sigwait(3) function shall not return EINTR, according to the POSIX/SUSvN. The sigwait(2)

Re: svn commit: r225821 - head/sys/dev/ath

2011-09-28 Thread Kostik Belousov
On Wed, Sep 28, 2011 at 03:07:52AM +, Adrian Chadd wrote: Author: adrian Date: Wed Sep 28 03:07:51 2011 New Revision: 225821 URL: http://svn.freebsd.org/changeset/base/225821 Log: Fix lock order to be correcter. Nothing else locks these two queues (cabq, avp mcastq), but it

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

2011-08-08 Thread Kostik Belousov
On Mon, Aug 08, 2011 at 02:02:08PM +, Martin Matuska wrote: Author: mm Date: Mon Aug 8 14:02:08 2011 New Revision: 224712 URL: http://svn.freebsd.org/changeset/base/224712 Log: Revert r224655 and r224614 because vn_fullpath* does not always work on nullfs mounts. Change

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Kostik Belousov
On Fri, Jul 29, 2011 at 08:30:28PM +, Alexander Motin wrote: Author: mav Date: Fri Jul 29 20:30:28 2011 New Revision: 224496 URL: http://svn.freebsd.org/changeset/base/224496 Log: In some cases failed SATA disks may report their presence, but don't respond to any commands. I've

Re: svn commit: r223884 - head/sys/sys

2011-07-09 Thread Kostik Belousov
On Sat, Jul 09, 2011 at 05:36:28PM +0200, Ed Schouten wrote: Hi Kostik, * Konstantin Belousov k...@freebsd.org, 20110709 16:29: +static __inline uint16_t +bitcount16(uint32_t x) Shouldn't we use uint16_t for the argument here? Not sure. uint32_t type of argument avoids repromotion,

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-19 Thread Kostik Belousov
On Sun, Jun 19, 2011 at 10:38:44AM +0200, Simon L. B. Nielsen wrote: On 18 Jun 2011, at 22:48, Jilles Tjoelker wrote: On Sat, Jun 18, 2011 at 01:56:33PM +, Ben Laurie wrote: Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Kostik Belousov
Modified: head/sys/sys/param.h == --- head/sys/sys/param.h Sat Jun 18 13:54:36 2011(r223261) +++ head/sys/sys/param.h Sat Jun 18 13:56:33 2011(r223262) @@ -319,4 +319,10 @@ __END_DECLS

Re: cvs commit: src Makefile.inc1 src/lib/libc Makefile src/lib/libc_r Makefile src/lib/libpthread Makefile pthread.map src/lib/libpthread/thread thr_private.h src/lib/librt Makefile src/lib/libthr Ma

2011-06-16 Thread Kostik Belousov
On Thu, Jun 16, 2011 at 11:27:38PM +0200, Jilles Tjoelker wrote: On Sun, Jun 12, 2011 at 09:38:42PM +, Bjoern A. Zeeb wrote: http://svnweb.freebsd.org/base?view=revisionrevision=169524 I figured WITHOUT_SYMVER= hs been useless since 201001. I am no longer able to do build worlds with

Re: svn commit: r223029 - head/usr.sbin/makefs/ffs

2011-06-13 Thread Kostik Belousov
On Mon, Jun 13, 2011 at 01:04:00AM +, Dimitry Andric wrote: Author: dim Date: Mon Jun 13 01:04:00 2011 New Revision: 223029 URL: http://svn.freebsd.org/changeset/base/223029 Log: Apparently makefs needs a few more system headers to compile during buildworld. Modified:

Re: svn commit: r222466 - head/sbin/umount

2011-05-30 Thread Kostik Belousov
On Mon, May 30, 2011 at 01:48:53PM +0100, Robert Watson wrote: On Sun, 29 May 2011, Rick Macklem wrote: Modify the umount(8) command so that it doesn't do a sync(2) syscall before unmount(2) for the -f case. This avoids a forced dismount from getting stuck for an NFS mountpoint in

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-17 Thread Kostik Belousov
On Tue, May 17, 2011 at 01:36:11PM +, Poul-Henning Kamp wrote: In message 20110516211954.gj48...@deviant.kiev.zoral.com.ua, Kostik Belousov writes: struct sbuf is exposed to the libsubf.so consumers. I think that libsbuf.so version shall be bumped (since no symver compat can

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-16 Thread Kostik Belousov
On Mon, May 16, 2011 at 04:18:40PM +, Poul-Henning Kamp wrote: Author: phk Date: Mon May 16 16:18:40 2011 New Revision: 221993 URL: http://svn.freebsd.org/changeset/base/221993 Log: Change the length quantities of sbufs to be ssize_t rather than int. Constify a couple of

Re: svn commit: r221971 - head/sys/dev/glxiic

2011-05-15 Thread Kostik Belousov
On Sun, May 15, 2011 at 07:04:08PM +, Henrik Brix Andersen wrote: Author: brix (ports committer) Date: Sun May 15 19:04:08 2011 New Revision: 221971 URL: http://svn.freebsd.org/changeset/base/221971 Log: Fix breakage on pc98 by redefining DEBUG(). Why this was built on pc98 at all ?

Re: svn commit: r221807 - in head: lib lib/libprocstat lib/libprocstat/zfs lib/libutil sys/kern sys/sys usr.bin/fstat usr.bin/fstat/zfs usr.bin/procstat

2011-05-14 Thread Kostik Belousov
On Sat, May 14, 2011 at 02:15:23AM -0700, Stanislav Sedov wrote: On Thu, 12 May 2011 14:26:40 +0300 Kostik Belousov kostik...@gmail.com mentioned: The newly introduced fuser(1) utility also uses this library and able to operate via sysctl and kvm backends

Re: svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2011-05-13 Thread Kostik Belousov
On Fri, May 13, 2011 at 07:35:01PM +, Matthew D Fleming wrote: Author: mdf Date: Fri May 13 19:35:01 2011 New Revision: 221855 URL: http://svn.freebsd.org/changeset/base/221855 Log: Move the ZERO_REGION_SIZE to a machine-dependent file, as on many architectures (i386, for example)

Re: svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2011-05-13 Thread Kostik Belousov
On Fri, May 13, 2011 at 02:45:47PM -0500, Alan Cox wrote: On 5/13/2011 2:40 PM, Kostik Belousov wrote: On Fri, May 13, 2011 at 07:35:01PM +, Matthew D Fleming wrote: Author: mdf Date: Fri May 13 19:35:01 2011 New Revision: 221855 URL: http://svn.freebsd.org/changeset/base/221855 Log

Re: svn commit: r221807 - in head: lib lib/libprocstat lib/libprocstat/zfs lib/libutil sys/kern sys/sys usr.bin/fstat usr.bin/fstat/zfs usr.bin/procstat

2011-05-12 Thread Kostik Belousov
On Thu, May 12, 2011 at 10:11:39AM +, Stanislav Sedov wrote: Author: stas Date: Thu May 12 10:11:39 2011 New Revision: 221807 URL: http://svn.freebsd.org/changeset/base/221807 Log: - Commit work from libprocstat project. These patches add support for runtime file and processes

Re: svn commit: r221645 - head/sys/geom/part

2011-05-08 Thread Kostik Belousov
On Sun, May 08, 2011 at 11:20:27AM +, Andrey V. Elsukov wrote: Author: ae Date: Sun May 8 11:20:27 2011 New Revision: 221645 URL: http://svn.freebsd.org/changeset/base/221645 Log: Limit number of sectors that can be addressed. MFC after: 1 week Modified:

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

2011-05-07 Thread Kostik Belousov
On Sat, May 07, 2011 at 11:10:58AM +, Jaakko Heinonen wrote: Author: jh Date: Sat May 7 11:10:58 2011 New Revision: 221597 URL: http://svn.freebsd.org/changeset/base/221597 Log: Add WITNESS_WARN() to getenv() to explicitly note that the function may sleep. This helps to expose

Re: svn commit: r221593 - head/sys/boot/common

2011-05-07 Thread Kostik Belousov
On Sat, May 07, 2011 at 10:40:57AM +, Andriy Gapon wrote: Author: avg Date: Sat May 7 10:40:57 2011 New Revision: 221593 URL: http://svn.freebsd.org/changeset/base/221593 Log: a whitespace nit MFC after: 4 days Modified: head/sys/boot/common/interp.c Modified:

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

2011-05-07 Thread Kostik Belousov
On Sat, May 07, 2011 at 03:20:48PM +0300, Jaakko Heinonen wrote: On 2011-05-07, Kostik Belousov wrote: @@ -310,6 +310,7 @@ getenv(const char *name) int len; if (dynamic_kenv) { + WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, getenv); mtx_lock(kenv_lock

Re: svn commit: r221166 - in head/sys: fs/ext2fs modules/ext2fs

2011-04-28 Thread Kostik Belousov
On Thu, Apr 28, 2011 at 02:27:17PM +, John Baldwin wrote: Author: jhb Date: Thu Apr 28 14:27:17 2011 New Revision: 221166 URL: http://svn.freebsd.org/changeset/base/221166 Log: Sync with several changes in UFS/FFS: - 77115: Implement support for O_DIRECT. - 98425: Fix a

Re: svn commit: r221101 - in head/sys/geom: . concat journal mirror raid3 shsec stripe virstor

2011-04-27 Thread Kostik Belousov
On Wed, Apr 27, 2011 at 12:10:26AM +, Alexander Motin wrote: Author: mav Date: Wed Apr 27 00:10:26 2011 New Revision: 221101 URL: http://svn.freebsd.org/changeset/base/221101 Log: Implement relaxed comparision for hardcoded provider names to make it ignore adX/adaY difference in

Re: svn commit: r221059 - in head/sys: kern sys

2011-04-26 Thread Kostik Belousov
On Tue, Apr 26, 2011 at 01:44:00PM +0200, Hans Petter Selasky wrote: On Tuesday 26 April 2011 13:39:56 Konstantin Belousov wrote: + pending = !!callout_stop(timeout_task-c); pending = (callout_stop(timeout_task-c) != 0); ? This line is about conversion from a boolean value to {0,

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-24 Thread Kostik Belousov
On Sun, Apr 24, 2011 at 08:58:58AM +, Alexander Motin wrote: Author: mav Date: Sun Apr 24 08:58:58 2011 New Revision: 220982 URL: http://svn.freebsd.org/changeset/base/220982 Log: Switch the GENERIC kernels for all architectures to the new CAM-based ATA stack. It means that all

Re: svn commit: r220906 - head/sys/fs/nfsclient

2011-04-21 Thread Kostik Belousov
On Wed, Apr 20, 2011 at 11:25:18PM +, Rick Macklem wrote: Author: rmacklem Date: Wed Apr 20 23:25:18 2011 New Revision: 220906 URL: http://svn.freebsd.org/changeset/base/220906 Log: Add a check for VI_DOOMED at the beginning of nfscl_request() so that it won't try and use

Re: svn commit: r220761 - head/sys/fs/nfsclient

2011-04-18 Thread Kostik Belousov
On Sun, Apr 17, 2011 at 11:04:04PM +, Rick Macklem wrote: Author: rmacklem Date: Sun Apr 17 23:04:03 2011 New Revision: 220761 URL: http://svn.freebsd.org/changeset/base/220761 Log: Add checks for MNTK_UNMOUNTF at the beginning of three functions, so that threads don't get stuck

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread Kostik Belousov
On Mon, Apr 18, 2011 at 04:32:22PM +, Matthew D Fleming wrote: Author: mdf Date: Mon Apr 18 16:32:22 2011 New Revision: 220791 URL: http://svn.freebsd.org/changeset/base/220791 Log: Add the posix_fallocate(2) syscall. The default implementation in vop_stdallocate() is filesystem

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread Kostik Belousov
On Mon, Apr 18, 2011 at 12:49:38PM -0700, m...@freebsd.org wrote: On Mon, Apr 18, 2011 at 12:28 PM, Kostik Belousov kostik...@gmail.com wrote: On Mon, Apr 18, 2011 at 04:32:22PM +, Matthew D Fleming wrote: Author: mdf Date: Mon Apr 18 16:32:22 2011 New Revision: 220791 URL: http

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

2011-04-15 Thread Kostik Belousov
On Thu, Apr 14, 2011 at 05:13:28PM -0400, John Baldwin wrote: On Sunday, April 10, 2011 1:07:03 pm Konstantin Belousov wrote: Author: kib Date: Sun Apr 10 17:07:02 2011 New Revision: 220526 URL: http://svn.freebsd.org/changeset/base/220526 Log: Some callers of proc_reparent()

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

2011-04-15 Thread Kostik Belousov
On Fri, Apr 15, 2011 at 12:46:18PM -0400, Attilio Rao wrote: 2011/4/15 Kostik Belousov kostik...@gmail.com: On Thu, Apr 14, 2011 at 05:13:28PM -0400, John Baldwin wrote: On Sunday, April 10, 2011 1:07:03 pm Konstantin Belousov wrote: Author: kib Date: Sun Apr 10 17:07:02 2011 New

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

2011-04-06 Thread Kostik Belousov
On Wed, Apr 06, 2011 at 07:04:47PM +0200, Edward Tomasz Napiera?a wrote: Wiadomo?? napisana przez Garrett Cooper w dniu 2011-04-06, o godz. 18:57: On Wed, Apr 6, 2011 at 9:27 AM, Edward Tomasz Napierala tr...@freebsd.org wrote: Author: trasz Date: Wed Apr 6 16:27:04 2011 New Revision:

Re: svn commit: r220062 - head/sys/geom/gate

2011-03-27 Thread Kostik Belousov
On Sun, Mar 27, 2011 at 07:56:55PM +, Mikolaj Golub wrote: Author: trociny Date: Sun Mar 27 19:56:55 2011 New Revision: 220062 URL: http://svn.freebsd.org/changeset/base/220062 Log: In g_gate_create() there is a window between when g_gate_softc is registered in g_gate_units array

Re: svn commit: r220062 - head/sys/geom/gate

2011-03-27 Thread Kostik Belousov
On Sun, Mar 27, 2011 at 11:49:15PM +0300, Mikolaj Golub wrote: On Sun, 27 Mar 2011 23:08:04 +0300 Kostik Belousov wrote: KB On Sun, Mar 27, 2011 at 07:56:55PM +, Mikolaj Golub wrote: Author: trociny Date: Sun Mar 27 19:56:55 2011 New Revision: 220062 URL: http

Re: svn commit: r219712 - head/sys/ufs/ufs

2011-03-18 Thread Kostik Belousov
On Fri, Mar 18, 2011 at 12:37:41AM +1100, Bruce Evans wrote: On Thu, 17 Mar 2011, Konstantin Belousov wrote: Log: Remove the #if defined(FFS) || defined(IFS) braces around the calls to ffs_snapgone(). ufs.ko module is not build with FFS define, causing snapshot inode number slots in

Re: svn commit: r219672 - in head: share/man/man9 sys/i386/include

2011-03-16 Thread Kostik Belousov
On Wed, Mar 16, 2011 at 05:00:42PM +0300, Maxim Dounin wrote: Hello! On Wed, Mar 16, 2011 at 04:44:35PM +1100, Bruce Evans wrote: On Tue, 15 Mar 2011, Jung-uk Kim wrote: On Tuesday 15 March 2011 03:55 pm, Jung-uk Kim wrote: On Tuesday 15 March 2011 03:33 pm, Maxim Dounin wrote:

Re: svn commit: r219646 - head/sys/x86/isa

2011-03-15 Thread Kostik Belousov
On Tue, Mar 15, 2011 at 05:21:34PM -0400, Jung-uk Kim wrote: However, why do we need cheaper DELAY() when we trying to delay something with it? Busy-loop performing repeated access to the south bridge eats the bus capacity, that could be useful for other bus agent and other cores. I think this

Re: svn commit: r219578 - head/etc

2011-03-13 Thread Kostik Belousov
On Sat, Mar 12, 2011 at 09:13:08PM +, Doug Barton wrote: Author: dougb Date: Sat Mar 12 21:13:08 2011 New Revision: 219578 URL: http://svn.freebsd.org/changeset/base/219578 Log: Use the allexport option in load_rc_config() in order to avoid having to repeatedly read the conf

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

2011-02-27 Thread Kostik Belousov
On Sun, Feb 27, 2011 at 11:12:03PM +1100, Bruce Evans wrote: On Sun, 27 Feb 2011, Bruce Cran wrote: On Thu, 2011-02-24 at 10:36 +1100, Bruce Evans wrote: I would cast operand(s) in the expression as necessary to prevent overflow of subexpressions. vm_pindex_t would work, but I prefer to

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

2011-02-23 Thread Kostik Belousov
On Wed, Feb 23, 2011 at 12:56:25PM +, John Baldwin wrote: Author: jhb Date: Wed Feb 23 12:56:25 2011 New Revision: 218967 URL: http://svn.freebsd.org/changeset/base/218967 Log: Fix off-by-one error in check against max_threads_per_proc. Submitted by: arundel MFC

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

2011-02-23 Thread Kostik Belousov
On Wed, Feb 23, 2011 at 01:57:34PM +, Alexander Best wrote: On Wed Feb 23 11, Kostik Belousov wrote: On Wed, Feb 23, 2011 at 12:56:25PM +, John Baldwin wrote: Author: jhb Date: Wed Feb 23 12:56:25 2011 New Revision: 218967 URL: http://svn.freebsd.org/changeset/base/218967

Re: svn commit: r218959 - head/usr.sbin/pc-sysinstall/backend-query

2011-02-22 Thread Kostik Belousov
On Tue, Feb 22, 2011 at 07:18:56PM +, Josh Paetzel wrote: Author: jpaetzel Date: Tue Feb 22 19:18:56 2011 New Revision: 218959 URL: http://svn.freebsd.org/changeset/base/218959 Log: Better method for grabbing disk name, dmesg may produce mangled output. Approved by:kib

Re: svn commit: r218960 - head/usr.sbin/pc-sysinstall/backend

2011-02-22 Thread Kostik Belousov
On Tue, Feb 22, 2011 at 07:37:12PM +, Josh Paetzel wrote: Author: jpaetzel Date: Tue Feb 22 19:37:12 2011 New Revision: 218960 URL: http://svn.freebsd.org/changeset/base/218960 Log: Added patch-functions-upgrade which should fix some kernel panics doing upgrades and uninstalling

Re: svn commit: r218822 - in head: . contrib/binutils contrib/binutils/bfd contrib/binutils/bfd/doc contrib/binutils/bfd/po contrib/binutils/binutils contrib/binutils/binutils/doc contrib/binutils/bin

2011-02-20 Thread Kostik Belousov
On Sun, Feb 20, 2011 at 02:01:44PM -0800, Steve Kargl wrote: On Fri, Feb 18, 2011 at 08:54:13PM +, Dimitry Andric wrote: Author: dim Date: Fri Feb 18 20:54:12 2011 New Revision: 218822 URL: http://svn.freebsd.org/changeset/base/218822 Log: Merge binutils 2.17.50 to head.

Re: svn commit: r218604 - head/sbin/fsck_ffs

2011-02-13 Thread Kostik Belousov
On Sun, Feb 13, 2011 at 11:30:56PM +1100, Bruce Evans wrote: On Sat, 12 Feb 2011, Konstantin Belousov wrote: Log: In checker, read journal by sectors. Due to UFS insistence to pretend that device sector size is 512 bytes, Do you mean that ffs_fsck does this? UFS doesn't exist, and

Re: svn commit: r218424 - in head/sys: dev/sio kern pc98/cbus sys ufs/ffs

2011-02-08 Thread Kostik Belousov
On Tue, Feb 08, 2011 at 12:16:36AM +, Matthew D Fleming wrote: Author: mdf Date: Tue Feb 8 00:16:36 2011 New Revision: 218424 URL: http://svn.freebsd.org/changeset/base/218424 Log: Based on discussions on the svn-src mailing list, rework r218195: - entirely eliminate some

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

2011-01-25 Thread Kostik Belousov
On Tue, Jan 25, 2011 at 11:02:12AM +, Konstantin Belousov wrote: Author: kib Date: Tue Jan 25 11:02:12 2011 New Revision: 217820 URL: http://svn.freebsd.org/changeset/base/217820 Log: Document PT_FLAG_FORKED, PT_FOLLOW_FORK, pl_tdname and pl_child_pid. MFC after: 2 weeks

Re: svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Kostik Belousov
On Wed, Jan 19, 2011 at 05:09:07PM +, Jung-uk Kim wrote: Author: jkim Date: Wed Jan 19 17:09:07 2011 New Revision: 217587 URL: http://svn.freebsd.org/changeset/base/217587 Log: Fix yet another fallout from r208833. VM86 BIOS call may cause page fault when FPU is in use.

Re: svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Kostik Belousov
On Wed, Jan 19, 2011 at 01:11:01PM -0500, Jung-uk Kim wrote: On Wednesday 19 January 2011 12:18 pm, Kostik Belousov wrote: On Wed, Jan 19, 2011 at 05:09:07PM +, Jung-uk Kim wrote: Author: jkim Date: Wed Jan 19 17:09:07 2011 New Revision: 217587 URL: http://svn.freebsd.org

Re: svn commit: r217101 - head/lib/libcompiler_rt

2011-01-07 Thread Kostik Belousov
On Fri, Jan 07, 2011 at 06:05:16PM +0300, Anonymous wrote: Konstantin Belousov k...@freebsd.org writes: Author: kib Date: Fri Jan 7 14:35:45 2011 New Revision: 217101 URL: http://svn.freebsd.org/changeset/base/217101 Log: On amd64 and i386, force assembler to mark objects

Re: svn commit: r217097 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include

2011-01-07 Thread Kostik Belousov
On Fri, Jan 07, 2011 at 12:02:55PM -0500, Ben Kaduk wrote: On Fri, Jan 7, 2011 at 9:22 AM, Konstantin Belousov k...@freebsd.org wrote: Author: kib Date: Fri Jan  7 14:22:34 2011 New Revision: 217097 URL: http://svn.freebsd.org/changeset/base/217097 Log:  Add AT_STACKPROT elf aux

Re: svn commit: r216694 - head/libexec/rtld-elf

2010-12-28 Thread Kostik Belousov
On Tue, Dec 28, 2010 at 02:29:43PM +0100, Ulrich Sp??rlein wrote: On Sat, 25.12.2010 at 08:42:38 +, Konstantin Belousov wrote: Author: kib Date: Sat Dec 25 08:42:38 2010 New Revision: 216694 URL: http://svn.freebsd.org/changeset/base/216694 Log: Add a hook to pass debug flags

Re: svn commit: r216694 - head/libexec/rtld-elf

2010-12-28 Thread Kostik Belousov
On Tue, Dec 28, 2010 at 10:09:40AM -0500, John Baldwin wrote: On Tuesday, December 28, 2010 8:32:47 am Kostik Belousov wrote: On Tue, Dec 28, 2010 at 02:29:43PM +0100, Ulrich Sp??rlein wrote: On Sat, 25.12.2010 at 08:42:38 +, Konstantin Belousov wrote: Author: kib Date: Sat Dec

Re: svn commit: r216333 - head/sys/i386/i386

2010-12-18 Thread Kostik Belousov
On Sat, Dec 18, 2010 at 11:35:42AM +0100, Joel Dahl wrote: On 18-12-2010 3:17, Alan Cox wrote: Joel Dahl wrote: On 09-12-2010 20:16, Alan Cox wrote: Author: alc Date: Thu Dec 9 20:16:00 2010 New Revision: 216333 URL: http://svn.freebsd.org/changeset/base/216333 Log:

Re: svn commit: r216269 - head/sys/geom/part

2010-12-09 Thread Kostik Belousov
On Fri, Dec 10, 2010 at 12:36:57AM +0200, Andriy Gapon wrote: on 10/12/2010 00:14 Bruce Cran said the following: Since it appears that disks are still using the CHS fields despite having been obsolete since ATA-7 I guess it makes sense to continue printing them. I apologize for repeating

Re: svn commit: r216161 - in head/sys: amd64/amd64 i386/i386

2010-12-04 Thread Kostik Belousov
On Sat, Dec 04, 2010 at 11:36:25AM +0100, Roman Divacky wrote: On Fri, Dec 03, 2010 at 06:17:16PM -0500, Jung-uk Kim wrote: On Friday 03 December 2010 06:02 pm, Jung-uk Kim wrote: On Friday 03 December 2010 05:43 pm, Jung-uk Kim wrote: On Friday 03 December 2010 05:08 pm, John Baldwin

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

2010-12-03 Thread Kostik Belousov
On Fri, Dec 03, 2010 at 09:03:27AM -0800, Steve Kargl wrote: On Fri, Dec 03, 2010 at 04:15:44PM +, Konstantin Belousov wrote: Author: kib Date: Fri Dec 3 16:15:44 2010 New Revision: 216150 URL: http://svn.freebsd.org/changeset/base/216150 Log: Reviewed by: jeff, rwatson

Re: svn commit: r209110 - in head/lib/msun: . src

2010-12-02 Thread Kostik Belousov
On Wed, Dec 01, 2010 at 11:57:28PM -0500, David Schultz wrote: On Tue, Jun 15, 2010, David Schultz wrote: On Tue, Jun 15, 2010, Kostik Belousov wrote: On Sat, Jun 12, 2010 at 05:32:05PM +, David Schultz wrote: Author: das Date: Sat Jun 12 17:32:05 2010 New Revision: 209110

Re: svn commit: r209110 - in head/lib/msun: . src

2010-12-02 Thread Kostik Belousov
On Thu, Dec 02, 2010 at 02:00:10PM -0500, David Schultz wrote: On Thu, Dec 02, 2010, Kostik Belousov wrote: For __isnanf, libc exports __isn...@fbsd_1.0, and libm exports __isn...@fbsd_1.2. I suspect that we could export both __isn...@fbsd_1.0 and __isn...@fbsd_1.2 from libc. I like

Re: svn commit: r215664 - in head/sys: compat/linux kern

2010-11-22 Thread Kostik Belousov
On Mon, Nov 22, 2010 at 09:07:00AM +, Alexander Leidinger wrote: Author: netchild Date: Mon Nov 22 09:06:59 2010 New Revision: 215664 URL: http://svn.freebsd.org/changeset/base/215664 Log: By using the 32-bit Linux version of Sun's Java Development Kit 1.6 on FreeBSD (amd64),

Re: svn commit: r215664 - in head/sys: compat/linux kern

2010-11-22 Thread Kostik Belousov
On Mon, Nov 22, 2010 at 11:13:06AM +0100, Alexander Leidinger wrote: Quoting Kostik Belousov kostik...@gmail.com (from Mon, 22 Nov 2010 11:31:34 +0200): On Mon, Nov 22, 2010 at 09:07:00AM +, Alexander Leidinger wrote: Author: netchild Date: Mon Nov 22 09:06:59 2010 New Revision

Re: svn commit: r215427 - head/sys/crypto/aesni

2010-11-18 Thread Kostik Belousov
On Thu, Nov 18, 2010 at 02:24:17PM +0100, Pawel Jakub Dawidek wrote: On Wed, Nov 17, 2010 at 04:17:15PM +, Konstantin Belousov wrote: Author: kib Date: Wed Nov 17 16:17:15 2010 New Revision: 215427 URL: http://svn.freebsd.org/changeset/base/215427 Log: Only save FPU context

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

2010-11-11 Thread Kostik Belousov
On Thu, Nov 11, 2010 at 08:15:12AM +, Edward Tomasz Napierala wrote: Author: trasz Date: Thu Nov 11 08:15:12 2010 New Revision: 215111 URL: http://svn.freebsd.org/changeset/base/215111 Log: Remove unneeded conditional. The commit message is unuseful. Why the conditional is not needed

Re: svn commit: r211854 - head/sys/nfsserver

2010-11-01 Thread Kostik Belousov
On Thu, Aug 26, 2010 at 11:41:40PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Aug 26 23:41:40 2010 New Revision: 211854 URL: http://svn.freebsd.org/changeset/base/211854 Log: - When VFS_VGET() is not supported, switch to VOP_LOOKUP(). - We are fine by only share-locking

  1   2   >