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

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 con

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 th

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 Doun

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 slot

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

2011-03-23 Thread Kostik Belousov
On Wed, Mar 23, 2011 at 09:45:37AM -0400, John Baldwin wrote: > On Friday, March 18, 2011 4:40:34 am Julian Elischer wrote: > > On 3/17/11 11:47 PM, Edward Tomasz Napierala wrote: > > > Author: trasz > > > Date: Fri Mar 18 06:47:23 2011 > > > New Revision: 219727 > > > URL: http://svn.freebsd.org/c

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

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 >

Re: svn commit: r220158 - in head/sys: compat/freebsd32 kern sys

2011-03-31 Thread Kostik Belousov
On Thu, Mar 31, 2011 at 11:07:36AM +0400, Pan Tsu wrote: > Konstantin Belousov writes: > > > Author: kib > > Date: Wed Mar 30 14:46:12 2011 > > New Revision: 220158 > > URL: http://svn.freebsd.org/changeset/base/220158 > > > > Log: > > Provide compat32 shims for kldstat(2). > > > > Request

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 > > wrote: > >> Author: trasz > >> Date: Wed Apr 6 16:27:04 2011 > >> New Revision: 2203

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_

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

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

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 file

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 wrote: > > On Mon, Apr 18, 2011 at 04:32:22PM +, Matthew D Fleming wrote: > >> Author: mdf > >> Date: Mon Apr 18 16:32:22 2011 > >>

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 v

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

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 valu

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 differen

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

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

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

Re: svn commit: r206082 - in head: . share/man/man7 share/mk sys/conf

2010-04-04 Thread Kostik Belousov
On Fri, Apr 02, 2010 at 06:55:32AM +, Alexander Leidinger wrote: > Author: netchild > Date: Fri Apr 2 06:55:31 2010 > New Revision: 206082 > URL: http://svn.freebsd.org/changeset/base/206082 > > Log: > WITH_CTF can now be specified in src.conf (not recommended, there > are some problems w

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

2010-04-04 Thread Kostik Belousov
On Mon, Apr 05, 2010 at 12:11:06AM +0300, Andriy Gapon wrote: > on 05/04/2010 00:03 Peter Jeremy said the following: > > On 2010-Apr-03 08:39:00 +, Andriy Gapon wrote: > >> Author: avg > >> Date: Sat Apr 3 08:39:00 2010 > >> New Revision: 206129 > >> URL: http://svn.freebsd.org/changeset/base

Re: svn commit: r206082 - in head: . share/man/man7 share/mk sys/conf

2010-04-05 Thread Kostik Belousov
On Mon, Apr 05, 2010 at 02:31:23PM +0200, Alexander Leidinger wrote: > Quoting Kostik Belousov (from Sun, 4 Apr 2010 > 18:36:53 +0300): > > >On Fri, Apr 02, 2010 at 06:55:32AM +, Alexander Leidinger wrote: > >>Author: netchild > >>Date: Fri Apr 2 06:55

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

2010-04-05 Thread Kostik Belousov
On Mon, Apr 05, 2010 at 02:58:53PM +0100, Rui Paulo wrote: > Hi, > > On 3 Apr 2010, at 17:20, Alan Cox wrote: > > > Author: alc > > Date: Sat Apr 3 16:20:22 2010 > > New Revision: 206140 > > URL: http://svn.freebsd.org/changeset/base/206140 > > > > Log: > > Re-enable the call to pmap_release()

Re: svn commit: r206553 - in head/sys: amd64/amd64 amd64/ia32 i386/i386

2010-04-13 Thread Kostik Belousov
On Tue, Apr 13, 2010 at 10:12:58AM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Apr 13 10:12:58 2010 > New Revision: 206553 > URL: http://svn.freebsd.org/changeset/base/206553 > > Log: > Change printf() calls to uprintf() for sigreturn() and trap() complaints > about inacessible

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Kostik Belousov
On Tue, Apr 13, 2010 at 06:53:39PM +, Jaakko Heinonen wrote: > Author: jh > Date: Tue Apr 13 18:53:39 2010 > New Revision: 206560 > URL: http://svn.freebsd.org/changeset/base/206560 > > Log: > - Ignore and report duplicate and empty device names in > devfs_populate_loop() > instead of c

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Kostik Belousov
On Wed, Apr 14, 2010 at 03:49:13PM +0300, Jaakko Heinonen wrote: > > Thank you for your comments. > > On 2010-04-14, Kostik Belousov wrote: > > The make_dev_credf() signature can be changed to return int error code > > instead of void, and a flag, lets call it

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-14 Thread Kostik Belousov
On Wed, Apr 14, 2010 at 05:20:00PM +0300, Jaakko Heinonen wrote: > On 2010-04-14, Kostik Belousov wrote: > > > Otherwise sounds reasonable suggestion. However changes are needed in > > > devfs. Currently devfs_populate_loop() is not along the make_dev*() > > > code pa

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-15 Thread Kostik Belousov
On Thu, Apr 15, 2010 at 04:01:56PM +0300, Jaakko Heinonen wrote: > On 2010-04-14, Kostik Belousov wrote: > > First, I think we shall sort dirent->dd_dlist so that symlinks are > > located before any other entries, and allow for duplication of > > any name with the name of

Re: svn commit: r202992 - head/lib/libc/nls

2010-04-23 Thread Kostik Belousov
On Mon, Jan 25, 2010 at 11:37:50PM +, Gabor Kovesdan wrote: > Author: gabor (doc,ports committer) > Date: Mon Jan 25 23:37:49 2010 > New Revision: 202992 > URL: http://svn.freebsd.org/changeset/base/202992 > > Log: > Cache failing and opened catalogs in catopen() and related functions. > C

Re: svn commit: r207370 - head/sys/net80211

2010-04-29 Thread Kostik Belousov
On Thu, Apr 29, 2010 at 03:19:11PM +, Rui Paulo wrote: > Author: rpaulo > Date: Thu Apr 29 15:19:11 2010 > New Revision: 207370 > URL: http://svn.freebsd.org/changeset/base/207370 > > Log: > Decrement rxa_pad due to the addition of rxa_private. If the goal was to keep the size of the struct

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

2010-05-01 Thread Kostik Belousov
On Sat, May 01, 2010 at 04:47:36PM +0200, Attilio Rao wrote: > 2010/5/1 Konstantin Belousov : > > Author: kib > > Date: Sat May  1 14:46:17 2010 > > New Revision: 207468 > > URL: http://svn.freebsd.org/changeset/base/207468 > > > > Log: > >  Extract thread_lock()/ruxagg()/thread_unlock() fragment i

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

2010-05-02 Thread Kostik Belousov
On Sun, May 02, 2010 at 03:48:50PM +0200, Attilio Rao wrote: > 2010/5/1 Kostik Belousov : > > On Sat, May 01, 2010 at 04:47:36PM +0200, Attilio Rao wrote: > >> 2010/5/1 Konstantin Belousov : > >> > Author: kib > >> > Date: Sat May  1 14:46:17 2010 &g

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

2010-05-15 Thread Kostik Belousov
On Sun, May 16, 2010 at 05:00:29AM +, Konstantin Belousov wrote: > Author: kib > Date: Sun May 16 05:00:29 2010 > New Revision: 208128 > URL: http://svn.freebsd.org/changeset/base/208128 > > Log: > Disable bypass for the vop_advlockpurge(). The vop is called after > vop_revoke(), the v_dat

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

2010-05-15 Thread Kostik Belousov
On Wed, May 12, 2010 at 09:24:46PM +, Zachary Loafman wrote: > Author: zml > Date: Wed May 12 21:24:46 2010 > New Revision: 208003 > URL: http://svn.freebsd.org/changeset/base/208003 > > Log: > Add VOP_ADVLOCKPURGE so that the file system is called when purging > locks (in the case where t

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

2010-05-17 Thread Kostik Belousov
On Mon, May 17, 2010 at 08:33:52AM -0700, Matthew Fleming wrote: > > From: Kostik Belousov [mailto:kostik...@gmail.com] > > On Wed, May 12, 2010 at 09:24:46PM +, Zachary Loafman wrote: > > > Author: zml > > > Date: Wed May 12 21:24:46 2010 > > &g

Re: svn commit: r208545 - in head/release: amd64 i386 ia64 pc98 powerpc sparc64 sun4v

2010-05-26 Thread Kostik Belousov
On Wed, May 26, 2010 at 11:59:12AM -0700, Xin LI wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 2010/05/26 11:47, Garrett Cooper wrote: > > On Wed, May 26, 2010 at 11:28 AM, Rob Farmer > > wrote: > >> On Tue, May 25, 2010 at 10:48 AM, Xin LI wrote: > >>> Author: delphij > >>>

Re: svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

2010-06-03 Thread Kostik Belousov
On Thu, Jun 03, 2010 at 05:42:32PM +, Ed Schouten wrote: > Author: ed > Date: Thu Jun 3 17:42:32 2010 > New Revision: 208789 > URL: http://svn.freebsd.org/changeset/base/208789 > > Log: > Use -Wl,-N instead of the undocumented -N option for GCC. > > GCC forwards the -N flag directly to

Re: svn commit: r208868 - in head/usr.bin: bc dc

2010-06-06 Thread Kostik Belousov
On Sun, Jun 06, 2010 at 11:36:09AM +, Gabor Kovesdan wrote: > @@ -223,14 +222,11 @@ static const struct jump_entry jump_tabl > (sizeof(jump_table_data)/sizeof(jump_table_data[0])) > > static void > -sighandler(int ignored) > +got_sigint(int ignored __unused) > { > > - switch (ig

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

2010-06-11 Thread Kostik Belousov
On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: > Author: mav > Date: Thu Jun 10 16:14:05 2010 > New Revision: 208988 > URL: http://svn.freebsd.org/changeset/base/208988 > > Log: > Store interrupt trap frame into struct thread. It allows interrupt handler > to obtain both trap

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

2010-06-11 Thread Kostik Belousov
On Fri, Jun 11, 2010 at 12:09:43PM +0300, Alexander Motin wrote: > Kostik Belousov wrote: > > On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: > >> Author: mav > >> Date: Thu Jun 10 16:14:05 2010 > >> New Revision: 208988 > >> URL:

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

2010-06-11 Thread Kostik Belousov
On Fri, Jun 11, 2010 at 08:10:40AM -0400, John Baldwin wrote: > On Friday 11 June 2010 4:31:37 am Kostik Belousov wrote: > > On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: > > > Author: mav > > > Date: Thu Jun 10 16:14:05 2010 > > >

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

2010-06-14 Thread Kostik Belousov
On Mon, Jun 14, 2010 at 11:52:49AM +1000, Lawrence Stewart wrote: > On 06/13/10 20:10, Pawel Jakub Dawidek wrote: > >On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: > [snip] > >> > >>Modified: head/sys/sys/pcpu.h > >>

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

2010-06-14 Thread Kostik Belousov
On Mon, Jun 14, 2010 at 08:34:15PM +1000, Lawrence Stewart wrote: > On 06/14/10 18:52, Kostik Belousov wrote: > >On Mon, Jun 14, 2010 at 11:52:49AM +1000, Lawrence Stewart wrote: > >>On 06/13/10 20:10, Pawel Jakub Dawidek wrote: > >>>On Sun, Jun 13, 2010 at 02:39:55AM

Re: svn commit: r209193 - head/sys/dev/sound/pcm

2010-06-15 Thread Kostik Belousov
On Tue, Jun 15, 2010 at 07:06:54AM +, Andriy Gapon wrote: > Author: avg > Date: Tue Jun 15 07:06:54 2010 > New Revision: 209193 > URL: http://svn.freebsd.org/changeset/base/209193 > > Log: > sound/pcm: use non-const string as a value with SYSCTL_STRING > > Although the sysctls are marke

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

2010-06-15 Thread Kostik Belousov
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 > URL: http://svn.freebsd.org/changeset/base/209110 > > Log: > Introduce __isnanf() as an alias for isnanf(), and make the isnan() > macro expand to __isnanf() i

Re: svn commit: r209236 - head/sbin/ping6

2010-06-16 Thread Kostik Belousov
On Wed, Jun 16, 2010 at 03:49:17PM +, Bruce Cran wrote: > Author: brucec > Date: Wed Jun 16 15:49:17 2010 > New Revision: 209236 > URL: http://svn.freebsd.org/changeset/base/209236 > > Log: > Call free and freeaddrinfo before exiting. Why ? Do you distrust the _exit(2) so much ? The calls ar

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

2010-06-17 Thread Kostik Belousov
On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: > On 06/14/10 20:43, Kostik Belousov wrote: > >On Mon, Jun 14, 2010 at 08:34:15PM +1000, Lawrence Stewart wrote: > >>On 06/14/10 18:52, Kostik Belousov wrote: > >>>On Mon, Jun 14, 2010 at 11:52:49AM

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

2010-06-17 Thread Kostik Belousov
On Thu, Jun 17, 2010 at 12:16:12AM +0200, Ed Schouten wrote: > Hi Kostik, > > * Konstantin Belousov wrote: > > Log: > > Add another variation of make_dev(9), make_dev_p(9), that is allowed > > to fail and can return useful error code. > > While we're at it, couldn't we consider removing the

Re: svn commit: r209371 - in head/sys: amd64/amd64 amd64/include conf dev/acpica i386/i386 i386/include isa kern pc98/cbus sys x86/isa x86/x86

2010-06-21 Thread Kostik Belousov
On Sun, Jun 20, 2010 at 09:33:29PM +, Alexander Motin wrote: > Author: mav > Date: Sun Jun 20 21:33:29 2010 > New Revision: 209371 > URL: http://svn.freebsd.org/changeset/base/209371 > > Log: > Implement new event timers infrastructure. It provides unified APIs for > writing event timer dr

Re: svn commit: r209371 - in head/sys: amd64/amd64 amd64/include conf dev/acpica i386/i386 i386/include isa kern pc98/cbus sys x86/isa x86/x86

2010-06-21 Thread Kostik Belousov
On Mon, Jun 21, 2010 at 11:09:05PM +0300, Alexander Motin wrote: > Alexander Motin wrote: > > Kostik Belousov wrote: > >> On Sun, Jun 20, 2010 at 09:33:29PM +, Alexander Motin wrote: > >>> Author: mav > >>> Date: Sun Jun 20 21:33:29 2010

Re: svn commit: r209371 - in head/sys: amd64/amd64 amd64/include conf dev/acpica i386/i386 i386/include isa kern pc98/cbus sys x86/isa x86/x86

2010-06-21 Thread Kostik Belousov
On Mon, Jun 21, 2010 at 11:46:11PM +0300, Alexander Motin wrote: > Kostik Belousov wrote: > > On Mon, Jun 21, 2010 at 11:09:05PM +0300, Alexander Motin wrote: > >> Alexander Motin wrote: > >>> Kostik Belousov wrote: > >>>> On Sun, Jun 20, 20

Re: svn commit: r209371 - in head/sys: amd64/amd64 amd64/include conf dev/acpica i386/i386 i386/include isa kern pc98/cbus sys x86/isa x86/x86

2010-06-21 Thread Kostik Belousov
On Tue, Jun 22, 2010 at 12:12:44AM +0300, Alexander Motin wrote: > Kostik Belousov wrote: > > Witness patch worked for me, and I can boot multiuser in the qemu-hosted > > system with hint.hpet.0.clock=0. Does the same hint should work for > > amd64 ? > > Yes. &g

Re: svn commit: r209371 - in head/sys: amd64/amd64 amd64/include conf dev/acpica i386/i386 i386/include isa kern pc98/cbus sys x86/isa x86/x86

2010-06-22 Thread Kostik Belousov
On Tue, Jun 22, 2010 at 11:12:40AM +0300, Alexander Motin wrote: > Kostik Belousov wrote: > > On Tue, Jun 22, 2010 at 12:12:44AM +0300, Alexander Motin wrote: > >> Kostik Belousov wrote: > >>> Witness patch worked for me, and I can boot multiuser in the qemu-hosted

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

2010-06-29 Thread Kostik Belousov
On Mon, Jun 28, 2010 at 02:07:02PM -0700, Matthew Fleming wrote: > On Mon, Jun 28, 2010 at 10:59 AM, Konstantin Belousov > wrote: > > Author: kib > > Date: Mon Jun 28 17:59:45 2010 > > New Revision: 209578 > > URL: http://svn.freebsd.org/changeset/base/209578 > > > > Log: > >  Use C99 initializer

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 writes: > > Jilles Tjoelker 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 ld(1) > > > even th

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 l

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_PH

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

2011-12-01 Thread Kostik Belousov
On Wed, Nov 30, 2011 at 10:01:12PM +0100, Giovanni Trematerra wrote: > On Wed, Oct 5, 2011 at 6:56 PM, Konstantin Belousov wrote: > > Author: kib > > Date: Wed Oct  5 16:56:06 2011 > > New Revision: 226042 > > URL: http://svn.freebsd.org/changeset/base/226042 > > > > Log: > >  Supply unique (st_de

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

2011-12-05 Thread Kostik Belousov
e the following change I had 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 Date: Mon Dec 5 13:01:48 2011 +0200 Fail the bui

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 an

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, tinde

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 am

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: 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 07:21:32PM +0200, Kostik Belousov wrote: > 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,

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 vm

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 w

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

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

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

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

Re: svn commit: r229887 - in head/sys: conf dev/random modules/random

2012-01-09 Thread Kostik Belousov
On Mon, Jan 09, 2012 at 11:20:30PM +, Jung-uk Kim wrote: > Author: jkim > Date: Mon Jan 9 23:20:30 2012 > New Revision: 229887 > URL: http://svn.freebsd.org/changeset/base/229887 > > Log: > Enable hardware RNG for VIA Nano processors. > > PR: kern/163974 Can we, please, have VI

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: r230191 - in head: lib/libc/arm/gen sys/arm/include

2012-01-16 Thread Kostik Belousov
On Sun, Jan 15, 2012 at 11:11:43PM -0500, David Schultz wrote: > On Mon, Jan 16, 2012, David Schultz wrote: > > Author: das > > Date: Mon Jan 16 04:08:29 2012 > > New Revision: 230191 > > URL: http://svn.freebsd.org/changeset/base/230191 > > > > Log: > > Implement FLT_ROUNDS for arm. Some (all?

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

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

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 be

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

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

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 proces

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 e

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

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 mentioned: > > > > > > > The newly introduced fuser(1) utility also uses this library and > > > able to operate via sysctl and kvm b

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

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

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 bum

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 mountpoi

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

2011-06-12 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: r223061 - head/sys/kern

2011-06-13 Thread Kostik Belousov
On Mon, Jun 13, 2011 at 09:21:02PM +, Justin T. Gibbs wrote: > Author: gibbs > Date: Mon Jun 13 21:21:02 2011 > New Revision: 223061 > URL: http://svn.freebsd.org/changeset/base/223061 > > Log: > Fix a couple of race conditions in devstat(9) initialization. > > In devstat_new_entry(), t

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=revision&revision=169524 > > > I figured WITHOUT_SYMVER= hs been useless since 201001. I am no > > longer able to do build wor

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: 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: 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 , 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, allowing to

Re: svn commit: r223885 - head/sys/dev/pci

2011-07-09 Thread Kostik Belousov
On Sat, Jul 09, 2011 at 12:56:10PM -0600, Warner Losh wrote: > Should't this be called 'pci_find_first_class()"? Also, can you add a > man page for it, or at least document what it is supposed to be used > for in the code? > > Warenr Sure, I will add a man page. Regarding the name, the intended us

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

2010-07-11 Thread Kostik Belousov
On Fri, Jul 09, 2010 at 01:03:14PM +1000, Lawrence Stewart wrote: > On 06/18/10 11:57, Lawrence Stewart wrote: > > On 06/17/10 17:13, Kostik Belousov wrote: > >> On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: > >>> On 06/14/10 20:43, Kostik Belous

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

2010-07-16 Thread Kostik Belousov
On Fri, Jul 16, 2010 at 06:44:39AM +, Bjoern A. Zeeb wrote: > On Thu, 15 Jul 2010, John Baldwin wrote: > > >Author: jhb > >Date: Thu Jul 15 20:24:37 2010 > >New Revision: 210138 > >URL: http://svn.freebsd.org/changeset/base/210138 > > > >Log: > > Retire td_syscalls now that it is no longer nee

  1   2   3   >