Re: svn commit: r212630 - in head/lib/libthr: . thread

2010-09-14 Thread Alexander Kabaev
.CURDIR}/../libthread_db CFLAGS+=-Winline > + > +LIBTHR_UNWIND_STACK=yes > + > +.ifdef LIBTHR_UNWIND_STACK > +CFLAGS+=-I${.CURDIR}/../../contrib/gcc -fexceptions > +CFLAGS+=-D_PTHREAD_FORCED_UNWIND > +.endif > + > Reaching into bowels of GCC like that is never good. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r212630 - in head/lib/libthr: . thread

2010-09-15 Thread Alexander Kabaev
On Wed, 15 Sep 2010 11:19:52 + David Xu wrote: > > > > Reaching into bowels of GCC like that is never good. > Any solution ? ;-) > I agree with Konstantin, we should either import appropriately licensed header from libunwind or, better yet, just provide our own. --

Re: svn commit: r213539 - head/lib/libthr

2010-10-08 Thread Alexander Kabaev
; 2010 (r213539) @@ -27,7 +27,6 @@ > CFLAGS+=-I${.CURDIR}/../libthread_db CFLAGS+=-Winline > > .ifndef NO_THREAD_UNWIND_STACK > -CFLAGS+=-I${.CURDIR}/../../contrib/gcc -fexceptions > CFLAGS+=-D_PTHREAD_FORCED_UNWIND > .endif > Thank you for pushing this to completion. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r228124 - in head: share/mk sys/conf

2011-11-29 Thread Alexander Kabaev
where WITH_CTF is set not on make command line or in environment, but say in each individual Makefile. -- Alexander Kabaev signature.asc Description: PGP signature

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 Alexander Kabaev
ng required to support them forever. > > -- > John Baldwin Pardon for not catching that when I had a chance to influence the outcome, but I would like to voice my support to tucking the ugliness into private version namespace. -- Alexander Kabaev signature.asc Description: PGP signature

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 Alexander Kabaev
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 wrote: > > > > > On Friday, December 23, 2011 10:58:46 am John Baldwin wrote:

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 Alexander Kabaev
On Fri, 23 Dec 2011 20:29:59 +0200 Kostik Belousov wrote: > 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

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

2009-09-17 Thread Alexander Kabaev
Author: kan Date: Thu Sep 17 13:21:53 2009 New Revision: 197277 URL: http://svn.freebsd.org/changeset/base/197277 Log: Make libc.a provide __stack_chk_fail_local weak alias. This is needed to satisfy static libraries that are compiled with -fpic and linked into static binary afterwards. Seve

svn commit: r198262 - head/sys/dev/mpt

2009-10-19 Thread Alexander Kabaev
Author: kan Date: Tue Oct 20 02:35:12 2009 New Revision: 198262 URL: http://svn.freebsd.org/changeset/base/198262 Log: Use callout_init_mtx on FreeBSD versions recent enough. This closes the race where interrupt thread can complete the request for which timeout has fired and while mpt_timeou

svn commit: r198304 - in stable/8/lib/libc: . gen stdio stdtime string sys

2009-10-20 Thread Alexander Kabaev
Author: kan Date: Tue Oct 20 19:05:43 2009 New Revision: 198304 URL: http://svn.freebsd.org/changeset/base/198304 Log: MFC Revision 197277: Make libc.a provide __stack_chk_fail_local weak alias. This is needed to satisfy static libraries that are compiled with -fpic and linked into stat

Re: svn commit: r198304 - in stable/8/lib/libc: . gen stdio stdtime string sys

2009-10-24 Thread Alexander Kabaev
On Sun, 25 Oct 2009 11:12:31 +1100 Peter Jeremy wrote: > On 2009-Oct-20 19:05:43 +0000, Alexander Kabaev > wrote: > > Make libc.a provide __stack_chk_fail_local weak alias. This is > > needed to satisfy static libraries that are compiled with -fpic > > and l

svn commit: r198471 - head/gnu/lib/libgcov

2009-10-25 Thread Alexander Kabaev
Author: kan Date: Sun Oct 25 15:52:31 2009 New Revision: 198471 URL: http://svn.freebsd.org/changeset/base/198471 Log: Compile libgcov without stack protection. It can be linked into both static and dynamic binaries compiled with or without stack protection and should not depend on libssp_no

svn commit: r216728 - head/libexec/rtld-elf

2010-12-26 Thread Alexander Kabaev
Author: kan Date: Mon Dec 27 00:30:29 2010 New Revision: 216728 URL: http://svn.freebsd.org/changeset/base/216728 Log: Fix an apparent cop-and-paste mistake in previous commit. This makes dlsym(RTLD_DEFAULT) work properly again. Modified: head/libexec/rtld-elf/rtld.c Modified: head/libe

svn commit: r216804 - in head: gnu/lib/libgcc lib/libcompiler_rt

2010-12-29 Thread Alexander Kabaev
Author: kan Date: Wed Dec 29 17:12:05 2010 New Revision: 216804 URL: http://svn.freebsd.org/changeset/base/216804 Log: Switch mips architectures back to libgcc. MIPS64 n64 binaries are broken with libcompiler_rt at this time. Switch mips back to libgcc until the cause of breakage is analy

svn commit: r217833 - head/lib/libelf

2011-01-25 Thread Alexander Kabaev
Author: kan Date: Tue Jan 25 19:17:50 2011 New Revision: 217833 URL: http://svn.freebsd.org/changeset/base/217833 Log: Do not allocate buffer to hold data for zero-sized sections. Modified: head/lib/libelf/elf_data.c Modified: head/lib/libelf/elf_data.c ==

svn commit: r218051 - head/libexec/rtld-elf

2011-01-28 Thread Alexander Kabaev
Author: kan Date: Fri Jan 28 23:44:57 2011 New Revision: 218051 URL: http://svn.freebsd.org/changeset/base/218051 Log: Eliminate the use of symlook_needed function in favor of DAGS. Place elements on DAG lists in breadth-first order. This allows us to walk pre-built list in all cases wher

svn commit: r218177 - head/sys/cddl/compat/opensolaris/sys

2011-02-01 Thread Alexander Kabaev
Author: kan Date: Tue Feb 1 21:15:35 2011 New Revision: 218177 URL: http://svn.freebsd.org/changeset/base/218177 Log: Revert r218169 until it can be tested and fixed properly. Modified: head/sys/cddl/compat/opensolaris/sys/types.h Modified: head/sys/cddl/compat/opensolaris/sys/types.h =

Re: svn commit: r218177 - head/sys/cddl/compat/opensolaris/sys

2011-02-01 Thread Alexander Kabaev
On Tue, 1 Feb 2011 13:28:43 -0800 Garrett Cooper wrote: > On Tue, Feb 1, 2011 at 1:15 PM, Alexander Kabaev > wrote: > > Author: kan > > Date: Tue Feb  1 21:15:35 2011 > > New Revision: 218177 > > URL: http://svn.freebsd.org/changeset/base/218177 > > > >

svn commit: r223295 - head/sys/boot/common

2011-06-19 Thread Alexander Kabaev
Author: kan Date: Sun Jun 19 13:35:41 2011 New Revision: 223295 URL: http://svn.freebsd.org/changeset/base/223295 Log: Minimize backward seeks when trying to load ELF relocatable modules. Some of loader filesystems are very ill equipped to handle seeking backwards within the file. Namely,

svn commit: r223296 - head/lib/libc/iconv

2011-06-19 Thread Alexander Kabaev
Author: kan Date: Sun Jun 19 13:35:46 2011 New Revision: 223296 URL: http://svn.freebsd.org/changeset/base/223296 Log: Put a quick bandaid on internal citrus locking. The code is not quite right still, but it programs from deadlocking on themselves if one enables new citrus code by mistak

svn commit: r223294 - head/lib/libthr/thread

2011-06-19 Thread Alexander Kabaev
Author: kan Date: Sun Jun 19 13:35:36 2011 New Revision: 223294 URL: http://svn.freebsd.org/changeset/base/223294 Log: Do not set thread name to less than informative 'initial thread'. Modified: head/lib/libthr/thread/thr_init.c Modified: head/lib/libthr/thread/thr_init.c ===

Re: svn commit: r223124 - head/lib/libstand

2011-06-19 Thread Alexander Kabaev
we can test out different >TFTP block sizes at run time. > > Obtained from: Juniper Networks > Fixed by: rodrigc > Has this code been reviewed by anyone outside of Juniper? -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r223488 - head/lib/libstand

2011-06-24 Thread Alexander Kabaev
dropping the packet, you are returning error from read and with errno in unknown state on top of that. Why did this have to change and why there is no mention of that in the commit message? -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r223601 - stable/8/sys/conf

2011-06-27 Thread Alexander Kabaev
Author: kan Date: Mon Jun 27 18:19:54 2011 New Revision: 223601 URL: http://svn.freebsd.org/changeset/base/223601 Log: Add missing support to generate well-formed CTF data in dynamic modules. Modified: stable/8/sys/conf/kmod.mk Modified: stable/8/sys/conf/kmod.mk

Re: svn commit: r222097 - in head: contrib/gcc share/misc

2011-05-19 Thread Alexander Kabaev
r -> jayanth > peter -> ps > > +philip -> benl > philip -> ed > philip -> jls > philip -> matteo > @@ -546,6 +548,8 @@ sheldonh -> iedowse > > shin -> ume > > +simon -> benl > + > sos -> marcel > > thompsa -> weongyo Huh, clang complains about missing committer ascendancy information too these days? -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r190305 - head/sys/kern

2009-03-22 Thread Alexander Kabaev
Author: kan Date: Mon Mar 23 01:13:34 2009 New Revision: 190305 URL: http://svn.freebsd.org/changeset/base/190305 Log: Add safety check that does not allow empty strings to be queued to the devctl notification queue. Empty strings cause devctl read call to return 0 and result in devd exiting

svn commit: r190306 - head/sys/dev/usb

2009-03-22 Thread Alexander Kabaev
Author: kan Date: Mon Mar 23 01:24:17 2009 New Revision: 190306 URL: http://svn.freebsd.org/changeset/base/190306 Log: Do not pass uninitialized data buffer to devctl_queue_data function. This was botched in revision 190191. Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/us

svn commit: r190533 - in head/sys: kern sys

2009-03-29 Thread Alexander Kabaev
Author: kan Date: Sun Mar 29 21:25:40 2009 New Revision: 190533 URL: http://svn.freebsd.org/changeset/base/190533 Log: Replace v_dd vnode pointer with v_cache_dd pointer to struct namecache in directory vnodes. Allow namecache dotdot entry to be created pointing from child vnode to parent vn

svn commit: r190697 - head/sys/kern

2009-04-04 Thread Alexander Kabaev
Author: kan Date: Sat Apr 4 17:48:38 2009 New Revision: 190697 URL: http://svn.freebsd.org/changeset/base/190697 Log: Revert change 190655 temporarily. It breaks many setups where nullfs is used and needs to be revisited. Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cac

svn commit: r190753 - head/sys/netinet

2009-04-05 Thread Alexander Kabaev
Author: kan Date: Sun Apr 5 23:25:06 2009 New Revision: 190753 URL: http://svn.freebsd.org/changeset/base/190753 Log: If KTR_SUBSYS is compiled in, it does not necessarily mean that user is interested in being spammed by mcast-related printfs. Use proper check against ktr_mask instead KT

svn commit: r190756 - head/sys/dev/dcons

2009-04-05 Thread Alexander Kabaev
Author: kan Date: Mon Apr 6 02:29:28 2009 New Revision: 190756 URL: http://svn.freebsd.org/changeset/base/190756 Log: Fix logic in MOD_LOAD handler to call dcons_attach after all successful dcons_drv_init invocations. Testing return value for 0 does not work for cases where dcons_drv_init w

Re: svn commit: r190919 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2009-04-11 Thread Alexander Kabaev
ards to usage of volatile vs. __volatile even within itself. I think the code is sloppy and was not ready to be committed yet. Please fix or back out. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r190943 - head/include

2009-04-11 Thread Alexander Kabaev
has emerged on the ports side of things, so for now, hack around > > the issue in signal.h. > > > > Can't we just put a patch in ports tree itself? What meant under 'no > clean solution emerged'? I can prepare a patch, if needed. > I strongly su

svn commit: r190945 - head/sys/kern

2009-04-11 Thread Alexander Kabaev
Author: kan Date: Sat Apr 11 20:23:08 2009 New Revision: 190945 URL: http://svn.freebsd.org/changeset/base/190945 Log: Fix v_cache_dd handling for negative entries. v_cache_dd pointer was not populated in parent directory if negative entry was being created, yet entry itself was added to the

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

2009-04-11 Thread Alexander Kabaev
On Sat, 11 Apr 2009 20:23:08 + (UTC) Alexander Kabaev wrote: > Author: kan > Date: Sat Apr 11 20:23:08 2009 > New Revision: 190945 > URL: http://svn.freebsd.org/changeset/base/190945 > > Log: > Fix v_cache_dd handling for negative entries. v_cache_dd pointer was

Re: svn commit: r190919 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2009-04-12 Thread Alexander Kabaev
On Sun, 12 Apr 2009 14:35:40 +0200 Christoph Mallon wrote: > Alexander Kabaev schrieb: > > On Sat, 11 Apr 2009 09:35:28 -0700 > > Steve Kargl wrote: > > > >> On Sat, Apr 11, 2009 at 02:01:01PM +, Ed Schouten wrote: > >>> Author: ed > >>

Re: svn commit: r190919 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2009-04-12 Thread Alexander Kabaev
On Sun, 12 Apr 2009 15:23:38 +0200 Christoph Mallon wrote: > Alexander Kabaev schrieb: > > On Sun, 12 Apr 2009 14:35:40 +0200 > > Christoph Mallon wrote: > > > >> Alexander Kabaev schrieb: > >>> On Sat, 11 Apr 2009 09:35:28 -0700 > >>> St

svn commit: r190970 - in stable/7/sys: kern nfsclient sys

2009-04-12 Thread Alexander Kabaev
Author: kan Date: Sun Apr 12 17:43:41 2009 New Revision: 190970 URL: http://svn.freebsd.org/changeset/base/190970 Log: Reimplement r189287 for -stable: Change vfs_busy to wait until an outcome of pending unmount operation is known and to retry or fail accordingly to that outcome. This f

svn commit: r190973 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern sys

2009-04-12 Thread Alexander Kabaev
Author: kan Date: Sun Apr 12 19:41:16 2009 New Revision: 190973 URL: http://svn.freebsd.org/changeset/base/190973 Log: MFC changes 190533 and 190945: Replace v_dd vnode pointer with v_cache_dd pointer to struct namecache in directory vnodes. Allow namecache dotdot entry to be created poin

svn commit: r190975 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/dcons

2009-04-12 Thread Alexander Kabaev
Author: kan Date: Sun Apr 12 19:50:46 2009 New Revision: 190975 URL: http://svn.freebsd.org/changeset/base/190975 Log: MFC change 190756: Fix logic in MOD_LOAD handler to call dcons_attach after all successful dcons_drv_init invocations. Testing return value for 0 does not work for cases w

svn commit: r191081 - head/sys/kern

2009-04-14 Thread Alexander Kabaev
Author: kan Date: Tue Apr 14 23:46:57 2009 New Revision: 191081 URL: http://svn.freebsd.org/changeset/base/191081 Log: Fix yet another negative dotodot entry fallout. Reported by: pho Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ===

svn commit: r191082 - head/sys/kern

2009-04-14 Thread Alexander Kabaev
Author: kan Date: Tue Apr 14 23:56:48 2009 New Revision: 191082 URL: http://svn.freebsd.org/changeset/base/191082 Log: Redo previous change using simpler patch that happens to be also more correct. Submitted by: tor Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache

svn commit: r191106 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-04-15 Thread Alexander Kabaev
Author: kan Date: Wed Apr 15 16:05:25 2009 New Revision: 191106 URL: http://svn.freebsd.org/changeset/base/191106 Log: MFC r191081-191082: Properly handle negative cache enries found through dotdot lookups. Submitted by: tor Approved by: re(kib) Modified: stable/7/sys/ (props c

svn commit: r191107 - in releng/7.2/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-04-15 Thread Alexander Kabaev
Author: kan Date: Wed Apr 15 16:36:13 2009 New Revision: 191107 URL: http://svn.freebsd.org/changeset/base/191107 Log: MFC r191081-191082: Properly handle negative cache enries found through dotdot lookups. Submitted by: tegge Approved by: re(kib) _M sys Msys/kern/vfs_c

svn commit: r191218 - head/sys/kern

2009-04-17 Thread Alexander Kabaev
Author: kan Date: Fri Apr 17 18:11:11 2009 New Revision: 191218 URL: http://svn.freebsd.org/changeset/base/191218 Log: More fallout from negative dotdot caching. Negative entries should be removed from and reinserted to proper ncneg list. Reported by: pho Submitted by: kib Modified:

svn commit: r191220 - head/sys/kern

2009-04-17 Thread Alexander Kabaev
Author: kan Date: Fri Apr 17 18:34:11 2009 New Revision: 191220 URL: http://svn.freebsd.org/changeset/base/191220 Log: Undo private changes that should never have been committed. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c =

svn commit: r191223 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-04-17 Thread Alexander Kabaev
Author: kan Date: Fri Apr 17 21:10:53 2009 New Revision: 191223 URL: http://svn.freebsd.org/changeset/base/191223 Log: MFC r191218 and related backout r191220. More fallout from negative dotdot caching. Negative entries should be removed from and reinserted to proper ncneg list. Repo

svn commit: r191224 - in releng/7.2/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-04-17 Thread Alexander Kabaev
Author: kan Date: Fri Apr 17 21:18:17 2009 New Revision: 191224 URL: http://svn.freebsd.org/changeset/base/191224 Log: MFC r191218 and related backout r191220. More fallout from negative dotdot caching. Negative entries should be removed from and reinserted to proper ncneg list. Repo

svn commit: r191828 - head/sys/netinet6

2009-05-05 Thread Alexander Kabaev
Author: kan Date: Tue May 5 16:27:45 2009 New Revision: 191828 URL: http://svn.freebsd.org/changeset/base/191828 Log: Silence unsolicited spam printed out when KTR_MLD happens to be in KTR_COMPILE mask. Compiling KTR trace points in does not necessarily mean enabling them, use proper check

svn commit: r248712 - in head/sys: geom kern sys

2013-03-25 Thread Alexander Kabaev
Author: kan Date: Tue Mar 26 01:17:06 2013 New Revision: 248712 URL: http://svnweb.freebsd.org/changeset/base/248712 Log: Do not pass unmapped buffers to drivers that cannot handle them In physio, check if device can handle unmapped IO and pass an appropriately mapped buffer to the driver

Re: svn commit: r261801 - head/contrib/libc++/include

2014-02-12 Thread Alexander Kabaev
t standards non-compliance (std::pair having an > > explicit constructor) causing real problems. > > I see. I am not a big fan of library version bump but standard > compliance is also very important for us, too. Hmm... :-( > The refusal to use tools that are there precisely to

Re: svn commit: r261801 - head/contrib/libc++/include

2014-02-13 Thread Alexander Kabaev
On Thu, 13 Feb 2014 10:11:27 + David Chisnall wrote: > On 13 Feb 2014, at 01:04, Alexander Kabaev wrote: > > > The refusal to use tools that are there precisely to help to help > > with the binary compatibility in favor of mindless library bumps is > > just sad

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Kabaev
ore/many-spindle system executed only 4 synchronous requests at > a time? > I certainly do not want to have 8 * ncpu threads hanging around. While said extra CPUs were all but forced on me by Intel innovators, my NFS workloads hardly did scale at the same pace over the same time period. -- Alexander Kabaev signature.asc Description: PGP signature

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

2014-01-20 Thread Alexander Kabaev
we > decided to shave a pointer off of each lock that was only used for > that and to use a statically sized table instead. > > -- > John Baldwin As + * MAXCPU, as evidently most recent overflows reported were caused by jacking MAXCPU up from its default value? -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Alexander Kabaev
ith ABI stability, they simply can't enforce it at the moment even if they wanted to. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Alexander Kabaev
On Mon, 3 Feb 2014 18:54:46 + David Chisnall wrote: > On 3 Feb 2014, at 18:32, Alexander Kabaev wrote: > > > More than likely. It does appear libc++ does not go through same > > pains to maintain ABI stable as libstdc++ does. The lack of all and > > any symbol ve

Re: svn commit: r250991 - in head: contrib/jemalloc/include/jemalloc include lib/libc/stdlib/jemalloc

2013-05-25 Thread Alexander Kabaev
alloc) Don't we use namespace.h/unnamespace.h for this? -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r256244 - head/lib/libstand

2013-10-09 Thread Alexander Kabaev
Author: kan Date: Wed Oct 9 21:33:19 2013 New Revision: 256244 URL: http://svnweb.freebsd.org/changeset/base/256244 Log: Unbreak zfsloader with LOADER_TFTP_SUPPORT on Only accept 'net' and 'pxe' devices as underlying transport in tftp.c on x86. Prior to this change tftp code would attemp

svn commit: r232199 - head/sys/x86/cpufreq

2012-02-26 Thread Alexander Kabaev
Author: kan Date: Sun Feb 26 21:24:27 2012 New Revision: 232199 URL: http://svn.freebsd.org/changeset/base/232199 Log: Fix apparent logic reversal in setting the 'auto_mode' flag. MFC after: 2 weeks Modified: head/sys/x86/cpufreq/p4tcc.c Modified: head/sys/x86/cpufreq/p4tcc.c ==

svn commit: r232365 - head/sys/dev/iicbus

2012-03-01 Thread Alexander Kabaev
Author: kan Date: Thu Mar 1 20:58:20 2012 New Revision: 232365 URL: http://svn.freebsd.org/changeset/base/232365 Log: Provide pre/post transfer method callbacks for icbbb clients. These are helful when making certain drivers work on both Linux and FreeBSD without changing the code flow

svn commit: r232704 - head/sys/dev/pci

2012-03-08 Thread Alexander Kabaev
Author: kan Date: Thu Mar 8 21:09:34 2012 New Revision: 232704 URL: http://svn.freebsd.org/changeset/base/232704 Log: Save more of config space for PCI Express and PCI-X devices. Expand pci_save_state and pci_restore_state to save more of the config state for PCI Express and PCI-X device

Re: svn commit: r233391 - head/contrib/libstdc++/libsupc++

2012-03-23 Thread Alexander Kabaev
s not seem to be affecting great many applications, as they do not use the changed interface directly themselves. libobjc2 is the only known at the moment that is known to be affected. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r233391 - head/contrib/libstdc++/libsupc++

2012-03-24 Thread Alexander Kabaev
me :-( > I will support the switch to 'default' ABI used upstream, provided David is onboard. The breakage is very limited at the moment and can only grow over time, so will grow the pain, while we insist on being diverged from GCC. We might as well bite the bullet and live through this at the cost of 9.1 release errata that only affects libobjc2. -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r242182 - head/contrib/gcc/config/i386

2012-10-27 Thread Alexander Kabaev
Author: kan Date: Sat Oct 27 17:39:36 2012 New Revision: 242182 URL: http://svn.freebsd.org/changeset/base/242182 Log: Follow clang lead and include mm_malloc.h only in hosted configurations. This makes the use of intrinsics easier in kernel environment, according to the submitter.

svn commit: r238461 - head/usr.sbin/pkg

2012-07-14 Thread Alexander Kabaev
Author: kan Date: Sun Jul 15 04:15:27 2012 New Revision: 238461 URL: http://svn.freebsd.org/changeset/base/238461 Log: Make pkg bootstrap program ask for confirmation before proceeding. The previous behaviour was to silently download and install the pkg package, without ever telling user

svn commit: r239019 - head/libexec/rtld-elf

2012-08-03 Thread Alexander Kabaev
Author: kan Date: Fri Aug 3 17:04:41 2012 New Revision: 239019 URL: http://svn.freebsd.org/changeset/base/239019 Log: Parse notes only after object structure had been allocated. Reported by: kargl Reviewed by: kib (sans whitespace) Modified: head/libexec/rtld-elf/map_object.c Modifie

svn commit: r239095 - head/sys/kern

2012-08-06 Thread Alexander Kabaev
Author: kan Date: Mon Aug 6 16:37:43 2012 New Revision: 239095 URL: http://svn.freebsd.org/changeset/base/239095 Log: Do not add handler to event handlers list until ithread is created. In rare event when fast and ithread interrupts share the same vector and the fast handler was register

Re: svn commit: r236177 - head/gnu/lib/libsupc++

2012-06-08 Thread Alexander Kabaev
_Znwj; > +_ZnwjRKSt9nothrow_t; > +_ZdaPv; > +_ZdaPvRKSt9nothrow_t; > +_ZdlPv; > +_ZdlPvRKSt9nothrow_t; > + >local: > *; > }; Please do not MFC this just yet. This commit is wrong and should be backed out. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r233288 - in head/sys: boot/common libkern sys

2012-03-25 Thread Alexander Kabaev
est partially backing out this commit and getting easier on 'const' for C++'s sake. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r233749 - in head/gnu/lib: libstdc++ libsupc++

2012-04-01 Thread Alexander Kabaev
uild as part of KDE4. This is being looked at. -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r233777 - head/libexec/rtld-elf

2012-04-02 Thread Alexander Kabaev
Author: kan Date: Mon Apr 2 11:50:14 2012 New Revision: 233777 URL: http://svn.freebsd.org/changeset/base/233777 Log: Do not try to adjust stacks if dlopen_object is called too early. This is a follow-up to r233231, which fixed similar issue with object initialization code. Reviewed

svn commit: r233778 - head/libexec/rtld-elf

2012-04-02 Thread Alexander Kabaev
Author: kan Date: Mon Apr 2 11:59:13 2012 New Revision: 233778 URL: http://svn.freebsd.org/changeset/base/233778 Log: Remove extra blank line from revious commit. Submitted by: trema Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c =

Re: svn commit: r234603 - head/sys/geom/raid

2012-04-23 Thread Alexander Kabaev
return ("RAID3"); > case G_RAID_VOLUME_RL_RAID4: > + if (qual == G_RAID_VOLUME_RLQ_R4P0) > + return ("RAID3-P0"); > + if (qual == G_RAID_VOLUME_RLQ_R4PN) > + return ("RAID3-PN"); > return ("RAID4"); Copy & paste from raid-3 above? -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r234686 - head/lib/libusb

2012-04-26 Thread Alexander Kabaev
library yet? > http://people.freebsd.org/~deischen/symver/freebsd_versioning.txt > Symbol versions make sense if one can provide backward-compatible implementation for old symbol versions. If that is not possible or desirable, major version bump is the right answer. -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r245647 - in head/sys: cam/scsi dev/usb/storage

2013-01-18 Thread Alexander Kabaev
Author: kan Date: Sat Jan 19 03:19:39 2013 New Revision: 245647 URL: http://svnweb.freebsd.org/changeset/base/245647 Log: Do not pretend to have autosense data when no such data is available. Make umass return an error code if SCSI sense retrieval request has failed. Make sure scsi_error_

svn commit: r239253 - head/libexec/rtld-elf

2012-08-14 Thread Alexander Kabaev
Author: kan Date: Tue Aug 14 13:28:30 2012 New Revision: 239253 URL: http://svn.freebsd.org/changeset/base/239253 Log: Pospone the DF_1_NODELETE processing until object DAG is fully loaded. Trying to up the reference from the load loop risks missing dependencies that have not been loaded

svn commit: r239434 - releng/9.1/libexec/rtld-elf

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 15:05:29 2012 New Revision: 239434 URL: http://svn.freebsd.org/changeset/base/239434 Log: MFC r239019: Parse notes only after object structure had been allocated. Approved by: re (kib) Modified: releng/9.1/libexec/rtld-elf/map_object.c Directory Properties: re

svn commit: r239435 - stable/9/libexec/rtld-elf

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 15:08:22 2012 New Revision: 239435 URL: http://svn.freebsd.org/changeset/base/239435 Log: MFC r239019: Parse notes only after object structure had been allocated. Modified: stable/9/libexec/rtld-elf/map_object.c Directory Properties: stable/9/libexec/rtld-elf/

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

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 15:16:43 2012 New Revision: 239436 URL: http://svn.freebsd.org/changeset/base/239436 Log: MFC r239095: Do not add handler to event handlers list until ithread is created. In rare event when fast and ithread interrupts share the same vector and the fast handl

svn commit: r239437 - releng/9.1/sys/kern

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 15:19:34 2012 New Revision: 239437 URL: http://svn.freebsd.org/changeset/base/239437 Log: MFC r239095: Do not add handler to event handlers list until ithread is created. In rare event when fast and ithread interrupts share the same vector and the fast handl

svn commit: r239439 - stable/9/libexec/rtld-elf

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 15:34:06 2012 New Revision: 239439 URL: http://svn.freebsd.org/changeset/base/239439 Log: MFC r239253: Pospone the DF_1_NODELETE processing until object DAG is fully loaded. Trying to up the reference from the load loop risks missing dependencies that have n

svn commit: r239450 - releng/9.1/libexec/rtld-elf

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 16:57:27 2012 New Revision: 239450 URL: http://svn.freebsd.org/changeset/base/239450 Log: MFC r239253: Pospone the DF_1_NODELETE processing until object DAG is fully loaded. Trying to up the reference from the load loop risks missing dependencies that have n

svn commit: r239470 - head/libexec/rtld-elf

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 23:43:03 2012 New Revision: 239470 URL: http://svn.freebsd.org/changeset/base/239470 Log: Do not call process_nodelete with NULL object pointer. The place where the function is called can be reached if object loading and relocation fails too, in which case obj

svn commit: r239471 - stable/9/libexec/rtld-elf

2012-08-20 Thread Alexander Kabaev
Author: kan Date: Mon Aug 20 23:47:24 2012 New Revision: 239471 URL: http://svn.freebsd.org/changeset/base/239471 Log: MFC r239470: Do not call process_nodelete with NULL object pointer. The place where the function is called can be reached if object loading and relocation fails too, in w

svn commit: r239546 - releng/9.1/libexec/rtld-elf

2012-08-21 Thread Alexander Kabaev
Author: kan Date: Tue Aug 21 22:42:46 2012 New Revision: 239546 URL: http://svn.freebsd.org/changeset/base/239546 Log: MFC r239470: Do not call process_nodelete with NULL object pointer. The place where the function is called can be reached if object loading and relocation fails too, in w

svn commit: r189287 - head/sys/kern

2009-03-02 Thread Alexander Kabaev
Author: kan Date: Mon Mar 2 20:51:39 2009 New Revision: 189287 URL: http://svn.freebsd.org/changeset/base/189287 Log: Change vfs_busy to wait until an outcome of pending unmount operation is known and to retry or fail accordingly to that outcome. This fixes the problem with namespace traver

Re: svn commit: r189315 - in head/sys/netgraph: . atm

2009-03-03 Thread Alexander Kabaev
code regression from the code readability viewpoint. I think obfuscation of our sources just to bow to yet another head-strong compiler should stop. If LLVM cannot parse common code constructs, LLVM is NOT suitable for our kernel no matter how many paragraphs of language-lawyer-speak they use to justify it. -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r189315 - in head/sys/netgraph: . atm

2009-03-03 Thread Alexander Kabaev
On Tue, 3 Mar 2009 14:21:06 -0500 Alexander Kabaev wrote: Responding to myself: after looking at the original code, I think we traded one pre-existing ugliness for another, with latter being more standards compliant, so my objection is withdrawn. Apologies for the noise. -- Alexander Kabaev

Re: svn commit: r199606 - in head/lib/libc: gen include

2009-11-20 Thread Alexander Kabaev
Just for the record, this breaks __gthread_active_p() in GCC and consequently breaks libstdc++ and libgcc_s.so.1 (iirc). -- Alexander Kabaev signature.asc Description: PGP signature

Re: svn commit: r200420 - in head/usr.bin: ar c89 calendar cksum cmp colcrt colrm compress cpuset expand fetch file2c find finger fmt fold gcore getopt hexdump jot killall ktrace lastcomm limits lock

2009-12-11 Thread Alexander Kabaev
der includes from usr.bin/ except contributed > > code. > > Wow. Did you use any special tools to do this? > > -- > Ed Schouten > WWW: http://80386.nl/ Better yet, could you share the criteria used to determine which include is required and which is not? -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r200499 - head/gnu/lib/libgcc

2009-12-13 Thread Alexander Kabaev
Author: kan Date: Mon Dec 14 01:51:23 2009 New Revision: 200499 URL: http://svn.freebsd.org/changeset/base/200499 Log: Fix one spelling and one copy&paste error in comments. Modified: head/gnu/lib/libgcc/Makefile Modified: head/gnu/lib/libgcc/Makefile

svn commit: r200748 - stable/8/gnu/lib/libgcov

2009-12-19 Thread Alexander Kabaev
Author: kan Date: Sun Dec 20 02:35:10 2009 New Revision: 200748 URL: http://svn.freebsd.org/changeset/base/200748 Log: MFC r198471. Log: Compile libgcov without stack protection. It can be linked into both static and dynamic binaries compiled with or without stack protection and

Re: svn commit: r212061 - head/sys/dev/bge

2010-09-03 Thread Alexander Kabaev
mem 0xfd8f-0xfd8f irq 24 at device 9.0 on pci2 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:e0:81:28:24:e7 bge0: [ITHREAD] Booting kernel tree from just before this commit makes everything work again. -- Alexander Kabaev signature.asc Description: PGP signature

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

2010-09-11 Thread Alexander Kabaev
gt; > Reviewed by:phk (the previous version) > This one is responsible for hangs on my amd64 test box. -- Alexander Kabaev signature.asc Description: PGP signature

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

2010-09-11 Thread Alexander Kabaev
sbuf_put_byte(). This makes it easier to add drain functionality > when a buffer would overflow as there are fewer code points. > Please disregard my previous report. This is the revision that causes the hang, according to git bisect. -- Alexander Kabaev signature.asc Description: PGP signature

svn commit: r212478 - head/sys/kern

2010-09-11 Thread Alexander Kabaev
Author: kan Date: Sat Sep 11 19:42:50 2010 New Revision: 212478 URL: http://svn.freebsd.org/changeset/base/212478 Log: Add missing pointer increment to sbuf_cat. Modified: head/sys/kern/subr_sbuf.c Modified: head/sys/kern/subr_sbuf.c ==

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

2010-01-04 Thread Alexander Kabaev
if > (atomic_cmpset_acq_int(&sem->_kern._count, val, val - 1)) @@ -464,7 > +463,5 @@ _libc_sem_post(sem_t *sem) return (-1); > > atomic_add_rel_int(&sem->_kern._count, 1); > - if (sem->_kern._has_waiters) > - return usem_wake(&sem->_kern); > - return (0); > + return usem_wake(&sem->_kern); > } -- Alexander Kabaev signature.asc Description: PGP signature

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

2010-01-04 Thread Alexander Kabaev
On Tue, 05 Jan 2010 13:39:06 +0800 David Xu wrote: > Alexander Kabaev wrote: > > Hi, > > > > some quick questions: > > > > FB10_COMPAT_PRIVATE is not used anywhere, why did it get committed? > > That aside, use of SYM_DEFAULT is pretty much always wron

Re: svn commit: r201859 - in head/lib/libc: . mips

2010-01-08 Thread Alexander Kabaev
| 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 > lines > - Switch to libc softfloat from libgcc implementation. The problem > with latter is that it is not complete, fpsetXXX/fpgetXXX > functions are missing. > ... yet fpsetXXX is missing from the list

Re: svn commit: r201859 - in head/lib/libc: . mips

2010-01-08 Thread Alexander Kabaev
On Fri, 8 Jan 2010 19:10:39 -0500 Alexander Kabaev wrote: > On Sat, 9 Jan 2010 00:01:35 + (UTC) > Warner Losh wrote: > > > Author: imp > > Date: Sat Jan 9 00:01:35 2010 > > New Revision: 201859 > > URL: http://svn.freebsd.org/changeset/base/201859 >

  1   2   3   >