svn commit: r221741 - head/sys/sys

2011-05-10 Thread Andriy Gapon
Author: avg Date: Tue May 10 15:08:13 2011 New Revision: 221741 URL: http://svn.freebsd.org/changeset/base/221741 Log: bitcount32: replace lengthy comment with a reference to SWAR MFC after:5 days Modified: head/sys/sys/systm.h Modified: head/sys/sys/systm.h

svn commit: r221757 - stable/8/sys/boot/common

2011-05-10 Thread Andriy Gapon
Author: avg Date: Wed May 11 05:53:16 2011 New Revision: 221757 URL: http://svn.freebsd.org/changeset/base/221757 Log: MFC r221593,221601: whitespace nits Modified: stable/8/sys/boot/common/interp.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (p

svn commit: r221758 - stable/7/sys/boot/common

2011-05-10 Thread Andriy Gapon
Author: avg Date: Wed May 11 06:03:12 2011 New Revision: 221758 URL: http://svn.freebsd.org/changeset/base/221758 Log: MFC r221593,221601: whitespace nits Modified: stable/7/sys/boot/common/interp.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolari

svn commit: r221803 - head/sys/dev/sound/pcm

2011-05-12 Thread Andriy Gapon
Author: avg Date: Thu May 12 07:44:41 2011 New Revision: 221803 URL: http://svn.freebsd.org/changeset/base/221803 Log: dsp/pcm: allow to mmap both read and write buffers using the same fd This brings our implementation in line with OSS specification for systems that support mmap. The cha

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-12 Thread Andriy Gapon
pus() and calls it again - the slave CPU is still in spinwait - the master CPU resets smp_rv_waiters[2] to zero - the slave CPU exits spinwait, see smp_rv_waiters[2] with zero value - endless loop -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-12 Thread Andriy Gapon
on 12/05/2011 13:55 John Baldwin said the following: > On 5/12/11 6:55 AM, Stanislav Sedov wrote: >> On Thu, 12 May 2011 13:43:58 +0300 >> Andriy Gapon mentioned: >> >>> >>> Theory: >>> - smp_rv_waiters[2] becomes equal to smp_rv_ncpus >>>

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-12 Thread Andriy Gapon
systemic differences in TSC values between CPUs if they are small enough. But I am not really sure if such a small differences would really matter. Worse case if there is some difference in TSC frequency between CPUs (e.g. in different sockets), after a powerup or a reset difference between TSC values

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-12 Thread Andriy Gapon
few months) for someone to enlighten why the code is the way it is. It seems that the problematic case is when both of the following are true: curcpu is not in the target cpu set and teardown function is not a "no rendevous" one [spelling mistake preserve

svn commit: r221809 - head/sys/dev/sound/pcm

2011-05-12 Thread Andriy Gapon
Author: avg Date: Thu May 12 12:18:01 2011 New Revision: 221809 URL: http://svn.freebsd.org/changeset/base/221809 Log: fix build on 32-bit platforms for r221803 Casting a pointer to a wide integer is probably not that bad, but I am still guilty of not testing this. Pointyhat to: avg

Re: svn commit: r221816 - head/usr.bin/fstat

2011-05-12 Thread Andriy Gapon
t_access_flags(fst->fs_fflags); > } -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-13 Thread Andriy Gapon
on 12/05/2011 19:39 Jung-uk Kim said the following: > On Thursday 12 May 2011 07:23 am, Andriy Gapon wrote: >> on 09/05/2011 20:34 Jung-uk Kim said the following: >>> Author: jkim >>> Date: Mon May 9 17:34:00 2011 >>> New Revision: 221703 >>> URL:

svn commit: r221946 - in stable/8/sys/cddl/dev/dtrace: amd64 i386

2011-05-15 Thread Andriy Gapon
Author: avg Date: Sun May 15 08:15:26 2011 New Revision: 221946 URL: http://svn.freebsd.org/changeset/base/221946 Log: MFC r221740: dtrace: remove unused code Modified: stable/8/sys/cddl/dev/dtrace/amd64/dtrace_subr.c stable/8/sys/cddl/dev/dtrace/i386/dtrace_subr.c Directory Properties: s

svn commit: r221947 - stable/8/sys/sys

2011-05-15 Thread Andriy Gapon
Author: avg Date: Sun May 15 08:17:09 2011 New Revision: 221947 URL: http://svn.freebsd.org/changeset/base/221947 Log: MFC r221741: bitcount32: replace lengthy comment with a reference to SWAR Modified: stable/8/sys/sys/systm.h Directory Properties: stable/8/sys/ (props changed) stable/

svn commit: r221948 - in stable/7/sys/cddl/dev/dtrace: amd64 i386

2011-05-15 Thread Andriy Gapon
Author: avg Date: Sun May 15 08:24:26 2011 New Revision: 221948 URL: http://svn.freebsd.org/changeset/base/221948 Log: MFC r221740: dtrace: remove unused code Modified: stable/7/sys/cddl/dev/dtrace/amd64/dtrace_subr.c stable/7/sys/cddl/dev/dtrace/i386/dtrace_subr.c Directory Properties: s

svn commit: r221949 - stable/7/sys/sys

2011-05-15 Thread Andriy Gapon
Author: avg Date: Sun May 15 08:27:32 2011 New Revision: 221949 URL: http://svn.freebsd.org/changeset/base/221949 Log: MFC r221741: bitcount32: replace lengthy comment with a reference to SWAR Modified: stable/7/sys/sys/systm.h Directory Properties: stable/7/sys/ (props changed) stable/

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-15 Thread Andriy Gapon
on 13/05/2011 19:57 Jung-uk Kim said the following: > You guys keep saying some code derived from OpenSolaris exists to > sync. TSCs. Can you let me see it, pretty please? I don't know what > else to say. :-( http://people.freebsd.org/~avg/tsc/ I think I've posted this

Re: svn commit: r221703 - in head/sys: amd64/include i386/include x86/isa x86/x86

2011-05-15 Thread Andriy Gapon
, not the generic tsc read function. But, hey, I am speaking beyond my knowledge of their code and situation. -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to &qu

svn commit: r221990 - in head/sys: cddl/compat/opensolaris/sys cddl/dev/cyclic cddl/dev/cyclic/i386 kern sys

2011-05-16 Thread Andriy Gapon
Author: avg Date: Mon May 16 15:29:59 2011 New Revision: 221990 URL: http://svn.freebsd.org/changeset/base/221990 Log: better integrate cyclic module with clocksource/eventtimer subsystem Now in the case when one-shot timers are used cyclic events should fire closer to theier scheduled ti

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

2011-05-16 Thread Andriy Gapon
Author: avg Date: Mon May 16 15:36:11 2011 New Revision: 221991 URL: http://svn.freebsd.org/changeset/base/221991 Log: Revert accidentally committed local change in r221990 Pointyhat to: avg Modified: head/sys/cddl/compat/opensolaris/sys/time.h Modified: head/sys/cddl/compat/opensolaris

svn commit: r222005 - stable/8/sys/cam/scsi

2011-05-17 Thread Andriy Gapon
Author: avg Date: Tue May 17 07:08:53 2011 New Revision: 222005 URL: http://svn.freebsd.org/changeset/base/222005 Log: MFC r221585: scsi_cd: silence READ_TOC errors in CDIOREADTOCHEADER ioctl Modified: stable/8/sys/cam/scsi/scsi_cd.c Directory Properties: stable/8/sys/ (props changed) s

svn commit: r222006 - stable/7/sys/cam/scsi

2011-05-17 Thread Andriy Gapon
Author: avg Date: Tue May 17 07:16:35 2011 New Revision: 222006 URL: http://svn.freebsd.org/changeset/base/222006 Log: MFC r221585: scsi_cd: silence READ_TOC errors in CDIOREADTOCHEADER ioctl Modified: stable/7/sys/cam/scsi/scsi_cd.c Directory Properties: stable/7/sys/ (props changed) s

svn commit: r222051 - in head/sys/dev: sound/usb usb usb/input usb/storage

2011-05-18 Thread Andriy Gapon
Author: avg Date: Wed May 18 07:40:12 2011 New Revision: 222051 URL: http://svn.freebsd.org/changeset/base/222051 Log: usb: change to one-pass probing of device drivers This brings USB bus more in line with how newbus is supposed to be used. Also, because of the two-pass probing the follo

svn commit: r222055 - head/sys/netgraph/bluetooth/drivers/ubt

2011-05-18 Thread Andriy Gapon
Author: avg Date: Wed May 18 11:38:36 2011 New Revision: 222055 URL: http://svn.freebsd.org/changeset/base/222055 Log: usb: fix a missed use of use_generic in r222051 Submitted by: gcooper Pointyhat to: avg MFC after:1 month X-MFC with: r222051 Modified: head/sys/netgraph/blu

Re: svn commit: r222051 - in head/sys/dev: sound/usb usb usb/input usb/storage

2011-05-18 Thread Andriy Gapon
t offline to you guys was the only affected file > based on a grep around /sys/... ; I based my patch on other code > patterns in this commit. Thank you Garrett for the patch and the report. -- Andriy Gapon ___ svn-src-all@freebsd.org mailin

svn commit: r222092 - stable/7/sys/dev/sound/pcm

2011-05-19 Thread Andriy Gapon
Author: avg Date: Thu May 19 07:09:13 2011 New Revision: 222092 URL: http://svn.freebsd.org/changeset/base/222092 Log: MFC r221803,221809: dsp/pcm: allow to mmap both read and write buffers Modified: stable/7/sys/dev/sound/pcm/dsp.c Directory Properties: stable/7/sys/ (props changed) st

svn commit: r222091 - stable/8/sys/dev/sound/pcm

2011-05-19 Thread Andriy Gapon
Author: avg Date: Thu May 19 07:03:42 2011 New Revision: 222091 URL: http://svn.freebsd.org/changeset/base/222091 Log: MFC r221803,221809: dsp/pcm: allow to mmap both read and write buffers Modified: stable/8/sys/dev/sound/pcm/dsp.c Directory Properties: stable/8/sys/ (props changed) st

svn commit: r222113 - stable/7/sys/dev/sound/pcm

2011-05-19 Thread Andriy Gapon
Author: avg Date: Fri May 20 06:49:43 2011 New Revision: 222113 URL: http://svn.freebsd.org/changeset/base/222113 Log: fix build breakage by adjusting for API difference in r222092 (MFC of r221803,221809) This is a direct commit. Reported by: Jeremy Chadwick , tinderbox Pointyhat

Re: svn commit: r221743 - in head/sys: amd64/conf i386/conf

2011-05-23 Thread Andriy Gapon
many What about options VESA ? > Modified: > head/sys/amd64/conf/GENERIC > head/sys/i386/conf/GENERIC -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, se

Re: svn commit: r221743 - in head/sys: amd64/conf i386/conf

2011-05-23 Thread Andriy Gapon
on 23/05/2011 16:11 Pan Tsu said the following: > Andriy Gapon writes: > >> on 10/05/2011 19:44 Jung-uk Kim said the following: >>> Author: jkim >>> Date: Tue May 10 16:44:16 2011 >>> New Revision: 221743 >>> URL: http://svn.freebsd.org/changeset/

Re: svn commit: r222343 - head/sys/cddl/compat/opensolaris/kern

2011-05-27 Thread Andriy Gapon
!= NULL); + ASSERT(flag == SE_SLEEP); + ASSERT(eid != NULL); + + sb = sbuf_new_auto(); + if (sb == NULL) + return (SE_ENOMEM); + + print_nvlist_sbuf(ev->se_nvl, sb, &type); if (sbuf_finish(sb) != 0) { sbuf_delete(sb); -- Andriy Gapon

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

2011-05-31 Thread Andriy Gapon
on't any bigger damage in the situations like those described above. P.S. I have been thinking about fixing the problem in a different fashion, via reserving portions of dmesg buffer for a whole message using CAS: http://lists.freebsd.org/pipermail/freebsd-hac

svn commit: r222670 - in head/sys/cddl/compat/opensolaris: kern sys

2011-06-04 Thread Andriy Gapon
Author: avg Date: Sat Jun 4 07:02:06 2011 New Revision: 222670 URL: http://svn.freebsd.org/changeset/base/222670 Log: opensolaris compat / zfs: avoid early overflow in ddi_get_lbolt* Reported by: David P. Discher Tested by:will Reviewed by: art Discussed with: dwhite M

Re: svn commit: r222670 - in head/sys/cddl/compat/opensolaris: kern sys

2011-06-05 Thread Andriy Gapon
} > > The d) step with lbolt_hybrid might be omitted and the function result > integrated directly into opensolaris_sunddi.c. Bud regardless of that, > notice the clock_t cast in ddi_get_lbolt(). > > mm > > Dňa 04.06.2011 09:02, Andriy Gapon wrote / napísal(a): >&

svn commit: r222720 - head/share/man/man4

2011-06-05 Thread Andriy Gapon
driver was written by -.An Andiry Gapon Aq a...@freebsd.org . +.An Andriy Gapon Aq a...@freebsd.org . This manual page was written by -.An Andiry Gapon Aq a...@freebsd.org . +.An Andriy Gapon Aq a...@freebsd.org . ___ svn-src-all@freebsd.org mailing list http

svn commit: r222721 - head/share/man/man4

2011-06-05 Thread Andriy Gapon
Author: avg Date: Sun Jun 5 19:25:30 2011 New Revision: 222721 URL: http://svn.freebsd.org/changeset/base/222721 Log: amdsbwd.4: fix history to reflect correct releases Pointed out by: ru MFC after:4 days Modified: head/share/man/man4/amdsbwd.4 Modified: head/share/man/man4

svn commit: r222723 - head/sys/sys

2011-06-05 Thread Andriy Gapon
Author: avg Date: Sun Jun 5 21:01:41 2011 New Revision: 222723 URL: http://svn.freebsd.org/changeset/base/222723 Log: add SNDCTL_DSP_HALT specified by OSS This is really a new name for SNDCTL_DSP_RESET. PR: kern/156874 Submitted by: gerald MFC after:1 week Modified:

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

2011-06-05 Thread Andriy Gapon
on 06/06/2011 00:23 Pan Tsu said the following: > Andriy Gapon writes: > >> Author: avg >> Date: Sun Jun 5 21:01:41 2011 >> New Revision: 222723 >> URL: http://svn.freebsd.org/changeset/base/222723 >> >> Log: >> add SNDCTL_DSP_HALT specified

svn commit: r222756 - in head/sys: amd64/amd64 i386/i386

2011-06-06 Thread Andriy Gapon
Author: avg Date: Mon Jun 6 14:23:13 2011 New Revision: 222756 URL: http://svn.freebsd.org/changeset/base/222756 Log: don't use cpuid level 4 in x86 cpu topology detection if it's not supported This regression was introduced in r213323. There are probably no Intel cpus that support amd64

svn commit: r222805 - in head: share/man/man4 sys/dev/amdsbwd

2011-06-06 Thread Andriy Gapon
Author: avg Date: Tue Jun 7 06:18:02 2011 New Revision: 222805 URL: http://svn.freebsd.org/changeset/base/222805 Log: amdsbwd: update to support SB8xx southbridges Many thanks to Tino for drawing my attention to this, for doing a lot of testing and providing great feedback. Many thank

Re: svn commit: r222795 - head/sys/dev/atkbdc

2011-06-07 Thread Andriy Gapon
I quoted. I'd like to simply add two datapoints: 1) recent AMD system: $ dd if=/dev/mem bs=4 iseek=0x15 count=2 | hd 59 f8 00 f0 2e e8 00 f0 2) very old PIIX/440BX system (manufactured ~1999): $ dd if=/dev/mem bs=4 iseek=0x15 count=2 | hd 9a 06 b8 9c 2e e8 00 f0 -- An

Re: svn commit: r222795 - head/sys/dev/atkbdc

2011-06-07 Thread Andriy Gapon
on 07/06/2011 22:45 Jung-uk Kim said the following: > On Tuesday 07 June 2011 03:31 pm, Jung-uk Kim wrote: >> On Tuesday 07 June 2011 03:08 pm, Andriy Gapon wrote: >>> on 07/06/2011 21:02 John Baldwin said the following: >>>> On Tuesday, June 07, 2011 11:39:26

svn commit: r222853 - in head: . sys/amd64/amd64 sys/amd64/include sys/i386/i386 sys/i386/include sys/pc98/pc98

2011-06-08 Thread Andriy Gapon
Author: avg Date: Wed Jun 8 08:12:15 2011 New Revision: 222853 URL: http://svn.freebsd.org/changeset/base/222853 Log: remove code for dynamic offlining/onlining of CPUs on x86 The code has definitely been broken for SCHED_ULE, which is a default scheduler. It may have been broken for SC

svn commit: r222891 - in stable/8/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-06-09 Thread Andriy Gapon
Author: avg Date: Thu Jun 9 08:25:56 2011 New Revision: 222891 URL: http://svn.freebsd.org/changeset/base/222891 Log: MFC r221527: prepare code that does topology detection for amd cpus for bulldozer Modified: stable/8/sys/amd64/amd64/mp_machdep.c stable/8/sys/amd64/include/specialreg.h

svn commit: r222892 - stable/8/share/man/man4

2011-06-09 Thread Andriy Gapon
SB600 and SB7xx south bridge chips. The .Nm driver first appeared in -.Fx 9.0 . +.Fx 7.3 +and +.Fx 8.1 . .Sh AUTHORS .An -nosplit The .Nm driver was written by -.An Andiry Gapon Aq a...@freebsd.org . +.An Andriy Gapon Aq a...@freebsd.org . This manual page was written by -.An Andiry Gapon Aq a

svn commit: r222893 - stable/7/share/man/man4

2011-06-09 Thread Andriy Gapon
SB600 and SB7xx south bridge chips. The .Nm driver first appeared in -.Fx 9.0 . +.Fx 7.3 +and +.Fx 8.1 . .Sh AUTHORS .An -nosplit The .Nm driver was written by -.An Andiry Gapon Aq a...@freebsd.org . +.An Andriy Gapon Aq a...@freebsd.org . This manual page was written by -.An Andiry Gapon Aq a

Re: svn commit: r222813 - in head: . contrib/top gnu/usr.bin/gdb/kgdb lib/libkvm lib/libmemstat share/man/man4 share/mk sys/amd64/acpica sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include s

2011-06-09 Thread Andriy Gapon
on 09/06/2011 20:52 John Baldwin said the following: > svn diff | patch (basically what folks do for branches in p4). svn diff doesn't always produce a diff suitable for patch. I remember having to do diff -r... between two svn checkouts. -- Andr

svn commit: r190045 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 13:48:43 2009 New Revision: 190045 URL: http://svn.freebsd.org/changeset/base/190045 Log: MFC 188815, 188815: fix incorrect error return when reading a large dir Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/fs/udf/udf_vn

svn commit: r190047 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:00:23 2009 New Revision: 190047 URL: http://svn.freebsd.org/changeset/base/190047 Log: MFC 189067,189363: udf_strategy: tiny optimization of logic, calculations; extra diagnostics Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stab

svn commit: r190048 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:04:59 2009 New Revision: 190048 URL: http://svn.freebsd.org/changeset/base/190048 Log: MFC 189068: udf_read: correctly read data from files with data embedded into fentry Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/

svn commit: r190049 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:07:27 2009 New Revision: 190049 URL: http://svn.freebsd.org/changeset/base/190049 Log: MFC 189069: udf_map: return proper error code instead of leaking an internal one Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/fs/

svn commit: r190050 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:09:20 2009 New Revision: 190050 URL: http://svn.freebsd.org/changeset/base/190050 Log: MFC 189070: udf: add read-ahead support modeled after cd9660 Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/fs/udf/udf_vfsops.c st

svn commit: r190052 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:12:07 2009 New Revision: 190052 URL: http://svn.freebsd.org/changeset/base/190052 Log: MFC 189082: udf_readatoffset: read through directory vnode, do not read > MAXBSIZE Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/f

svn commit: r190057 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:20:00 2009 New Revision: 190057 URL: http://svn.freebsd.org/changeset/base/190057 Log: MFC 189111: udf_readatoffset: correctly hanlde data in fentry Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/fs/udf/udf_vnops.c Mod

svn commit: r190059 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:26:15 2009 New Revision: 190059 URL: http://svn.freebsd.org/changeset/base/190059 Log: MFC 189302: udf_readdir: do not advance offset if entry can not be uio-ed Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/fs/udf/udf_

svn commit: r190060 - in stable/7/sys: . fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 14:32:11 2009 New Revision: 190060 URL: http://svn.freebsd.org/changeset/base/190060 Log: MFC 189364: udf: use truly unique directory cookie Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7/sys/fs/udf/udf_vnops.c Modified: stab

svn commit: r190074 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb fs/udf

2009-03-19 Thread Andriy Gapon
Author: avg Date: Thu Mar 19 15:49:30 2009 New Revision: 190074 URL: http://svn.freebsd.org/changeset/base/190074 Log: MFC 179060: udf: fix and speedup timestamp calculations markus and emax are notified Approved by: jhb (mentor) Modified: stable/7/sys/ (props changed) stable/7

Re: svn commit: r190098 - in head/sys/sparc64: fhc sparc64

2009-03-22 Thread Andriy Gapon
is also not justified in modern times, if you'll ask me :) -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r191627 - head/sys/dev/acpica

2009-04-28 Thread Andriy Gapon
Author: avg Date: Tue Apr 28 11:56:54 2009 New Revision: 191627 URL: http://svn.freebsd.org/changeset/base/191627 Log: acpi: do not run resume/backout code when entering S0/S5 states This change adds (possibly redundant) early check for invalid state input parameter (including S0). Handli

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

2009-05-05 Thread Andriy Gapon
Author: avg Date: Tue May 5 18:02:07 2009 New Revision: 191833 URL: http://svn.freebsd.org/changeset/base/191833 Log: MFC r174848 by julian: give thread0 the tid 10 ... and bumpt the others to start at 11. This is convenient for ACPI code that needs a thread id that is never ze

should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-02 Thread Andriy Gapon
ee_list_mtx); > - kern_yield(PRI_USER); > + pause("vnacti", 1); > mtx_lock(&vnode_free_list_mtx); > goto restart; > } > -- Andriy Gapon ___

Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-02 Thread Andriy Gapon
ng to my example where ticks == -1946084020 and td_swvoltick == 0 and (ticks - td->td_swvoltick) == -1946084020. Is this consistent in your opinion? -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/s

Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-02 Thread Andriy Gapon
etic#General_Solution distance = (signed)( i1 - i2 ) -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-02 Thread Andriy Gapon
on 02/07/2013 20:59 Ed Maste said the following: > On 2 July 2013 12:48, Andriy Gapon wrote: >> I am not sure if the originally reported problem was also caused by >> should_yield() or if it was something else. But in either case I think that >> we >> should fix sh

Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-03 Thread Andriy Gapon
on 03/07/2013 07:40 Bruce Evans said the following: > On Tue, 2 Jul 2013, Andriy Gapon wrote: >> distance = (signed)( i1 - i2 ) > > With 2's complement and benign overflow, this is no different from > 'distance = i1 - i2'. Given the particular context I'd

Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-03 Thread Andriy Gapon
on 02/07/2013 21:11 Andriy Gapon said the following: > on 02/07/2013 20:59 Ed Maste said the following: >> What about just initializing td_swvoltick to ticks at td creation? > > I like this idea. What would be the best place(s) to do the initialization? Or, perhaps, td_swvoltick

svn commit: r252870 - stable/8/sys/dev/uart

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 08:37:43 2013 New Revision: 252870 URL: http://svnweb.freebsd.org/changeset/base/252870 Log: MFC r246243: uart: add resume method and enable it for attachments on the most common x86 buses Modified: stable/8/sys/dev/uart/uart_bus.h stable/8/sys/dev/uart/uart_b

svn commit: r252873 - stable/8/lib/libdwarf

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 08:43:49 2013 New Revision: 252873 URL: http://svnweb.freebsd.org/changeset/base/252873 Log: MFC r248641: libdwarf: anonymous types are expected to have empty type names Modified: stable/8/lib/libdwarf/dwarf_die.c Directory Properties: stable/8/lib/libdwarf/ (

svn commit: r252872 - stable/9/lib/libdwarf

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 08:43:31 2013 New Revision: 252872 URL: http://svnweb.freebsd.org/changeset/base/252872 Log: MFC r248641: libdwarf: anonymous types are expected to have empty type names Modified: stable/9/lib/libdwarf/dwarf_die.c Directory Properties: stable/9/lib/libdwarf/ (

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

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 08:51:56 2013 New Revision: 252874 URL: http://svnweb.freebsd.org/changeset/base/252874 Log: MFC r248645: post mountroot event after a real/final root is mounted Modified: stable/9/sys/kern/vfs_mountroot.c Directory Properties: stable/9/sys/ (props changed) M

svn commit: r252875 - stable/9/sys/boot/common

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 08:58:30 2013 New Revision: 252875 URL: http://svnweb.freebsd.org/changeset/base/252875 Log: MFC r249139: strncmp for boot code: fix an off by one error Modified: stable/9/sys/boot/common/util.c Directory Properties: stable/9/sys/ (props changed) stable/9/sy

svn commit: r252876 - stable/8/sys/boot/common

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 08:59:27 2013 New Revision: 252876 URL: http://svnweb.freebsd.org/changeset/base/252876 Log: MFC r249139: strncmp for boot code: fix an off by one error Modified: stable/8/sys/boot/common/util.c Directory Properties: stable/8/sys/ (props changed) stable/8/sy

svn commit: r252877 - stable/9/etc

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 09:02:30 2013 New Revision: 252877 URL: http://svnweb.freebsd.org/changeset/base/252877 Log: MFC r248820: rc.subr: disabling globbing while processing devfs rules Modified: stable/9/etc/rc.subr Directory Properties: stable/9/etc/ (props changed) Modified: sta

svn commit: r252878 - stable/8/etc

2013-07-06 Thread Andriy Gapon
Author: avg Date: Sat Jul 6 09:03:02 2013 New Revision: 252878 URL: http://svnweb.freebsd.org/changeset/base/252878 Log: MFC r248820: rc.subr: disabling globbing while processing devfs rules Modified: stable/8/etc/rc.subr Directory Properties: stable/8/etc/ (props changed) Modified: sta

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

2013-07-07 Thread Andriy Gapon
on 26/06/2013 03:57 Jeff Roberson said the following: > + { NULL, "4 Bucket", BUCKET_SIZE(4), 4096 }, Looks like BUCKET_SIZE(4) is zero, if I am not mistaken. Is this OK / intended? -- Andriy Gapon ___ svn-src-all@freebsd.org mail

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

2013-07-07 Thread Andriy Gapon
ind of argument. Unfortunately I can not come up with anything descriptive and short at the moments. -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn

Re: svn commit: r253002 - head

2013-07-07 Thread Andriy Gapon
_jflag=$(($_jflag * 2)) >>> +#[ $_jflag -gt 12 ] && _jflag=12 >>> +#make universe -DMAKE_JUST_KERNELS JFLAG=${jflag} >>> # >>> # This makefile is simple by design. The FreeBSD make automatically reads &g

Re: svn commit: r253002 - head

2013-07-07 Thread Andriy Gapon
on 08/07/2013 00:50 Alfred Perlstein said the following: > On 7/7/13 2:40 PM, Andriy Gapon wrote: >> on 08/07/2013 00:15 Alfred Perlstein said the following: >>> On 7/7/13 2:01 PM, Garrett Cooper wrote: >>>> Why the magic number 12? >>> Numbers higher

svn commit: r253067 - head/tools/tools/zfsboottest

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:29:14 2013 New Revision: 253067 URL: http://svnweb.freebsd.org/changeset/base/253067 Log: zfsboottest: sync with changes in zfs boot code - spa status can not be called before spa init - libzfs.h inclusion is now required - fix alternative code for explic

svn commit: r253068 - head/tools/tools/zfsboottest

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:30:31 2013 New Revision: 253068 URL: http://svnweb.freebsd.org/changeset/base/253068 Log: zfsboottest.sh: remove checks for things that are not strictly required MFC after:10 days Modified: head/tools/tools/zfsboottest/zfsboottest.sh Modified: head/to

svn commit: r253070 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:37:42 2013 New Revision: 253070 URL: http://svnweb.freebsd.org/changeset/base/253070 Log: zfs: load zpool.cache after a root fs is mounted MFC after:3 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Modified: head/sys/cd

svn commit: r253071 - head/sys/boot/forth

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:40:05 2013 New Revision: 253071 URL: http://svnweb.freebsd.org/changeset/base/253071 Log: default loader.conf: there is no need to load zpool.cache now kernel does not need it for importing a root pool. MFC after:4 weeks Modified: head/sys/boot/fo

svn commit: r253072 - head/sys/conf

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:42:02 2013 New Revision: 253072 URL: http://svnweb.freebsd.org/changeset/base/253072 Log: amd64: use -mno-omit-leaf-frame-pointer in addition to -fno-omit-frame-pointer ... in kernel builds. This is to make behavior of clang consistent with behavior of gcc

svn commit: r253073 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:47:11 2013 New Revision: 253073 URL: http://svnweb.freebsd.org/changeset/base/253073 Log: zfs: try to properly handle i/o errors in mappedread_sf Unconditionally freeing a page is not good, especially if it is the page that was wired by the caller. The che

svn commit: r253075 - head/sys/kern

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:58:34 2013 New Revision: 253075 URL: http://svnweb.freebsd.org/changeset/base/253075 Log: namecache sdt: freebsd doesn't support structured characters yet :-) MFC after: 7 days Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache

svn commit: r253076 - head/etc/rc.d

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 08:59:39 2013 New Revision: 253076 URL: http://svnweb.freebsd.org/changeset/base/253076 Log: rc.d/zfs: pass -v option to zfs mount this should make boot process more informative (and entertaining) on systems with lots of zfs filesystems. MFC after:7 d

svn commit: r253077 - head/sys/kern

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 09:01:44 2013 New Revision: 253077 URL: http://svnweb.freebsd.org/changeset/base/253077 Log: should_yield: protect from td_swvoltick being uninitialized or too stale The distance between ticks and td_swvoltick should be calculated as an unsigned number. Previ

svn commit: r253078 - head/sys/security/audit

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 09:03:01 2013 New Revision: 253078 URL: http://svnweb.freebsd.org/changeset/base/253078 Log: audit_proc_coredump: check return value of audit_new audit_new may return NULL if audit is disabled or suspended. Sponsored by: HybridCluster MFC after:7 days

svn commit: r253079 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 09:05:00 2013 New Revision: 253079 URL: http://svnweb.freebsd.org/changeset/base/253079 Log: dtrace/fasttrap: install hook functions only after all data is initialized Sponsored by: HybridCluster MFC after: 7 days Modified: head/sys/cddl/contrib/opens

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

2013-07-11 Thread Andriy Gapon
Author: avg Date: Thu Jul 11 12:42:46 2013 New Revision: 253203 URL: http://svnweb.freebsd.org/changeset/base/253203 Log: MFC r253077: should_yield: protect from td_swvoltick being uninitialized or too stale Modified: stable/9/sys/kern/kern_synch.c Directory Properties: stable/9/sys/ (p

svn commit: r253380 - head/lib/libc/stdlib

2013-07-16 Thread Andriy Gapon
Author: avg Date: Tue Jul 16 07:26:46 2013 New Revision: 253380 URL: http://svnweb.freebsd.org/changeset/base/253380 Log: libc: name passed into __setenv is not necessarily NUL-terminated That's particularly true when __setenv is called from __merge_environ. MFC after:4 days Modif

svn commit: r253381 - stable/8/sys/kern

2013-07-16 Thread Andriy Gapon
Author: avg Date: Tue Jul 16 07:28:38 2013 New Revision: 253381 URL: http://svnweb.freebsd.org/changeset/base/253381 Log: MFC r253075: namecache sdt: freebsd doesn't support structured characters yet Modified: stable/8/sys/kern/vfs_cache.c Directory Properties: stable/8/sys/ (props chan

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

2013-07-16 Thread Andriy Gapon
Author: avg Date: Tue Jul 16 08:16:04 2013 New Revision: 253382 URL: http://svnweb.freebsd.org/changeset/base/253382 Log: MFC r253075: namecache sdt: freebsd doesn't support structured characters yet Approved by: re (kib) Modified: stable/9/sys/kern/vfs_cache.c Directory Properties:

svn commit: r253387 - stable/8/sys/security/audit

2013-07-16 Thread Andriy Gapon
Author: avg Date: Tue Jul 16 10:43:44 2013 New Revision: 253387 URL: http://svnweb.freebsd.org/changeset/base/253387 Log: MFC r253078: audit_proc_coredump: check return value of audit_new Modified: stable/8/sys/security/audit/audit.c Directory Properties: stable/8/sys/ (props changed) s

svn commit: r253388 - stable/9/sys/security/audit

2013-07-16 Thread Andriy Gapon
Author: avg Date: Tue Jul 16 11:15:05 2013 New Revision: 253388 URL: http://svnweb.freebsd.org/changeset/base/253388 Log: MFC r253078: audit_proc_coredump: check return value of audit_new Approved by: re (kib) Modified: stable/9/sys/security/audit/audit.c Directory Properties: stable/

svn commit: r253389 - stable/8/sys/cddl/contrib/opensolaris/uts/common/dtrace

2013-07-16 Thread Andriy Gapon
Author: avg Date: Tue Jul 16 11:54:25 2013 New Revision: 253389 URL: http://svnweb.freebsd.org/changeset/base/253389 Log: MFC r253079: dtrace/fasttrap: install hook functions only after all data is initialized Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c Dire

svn commit: r253394 - stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace

2013-07-16 Thread Andriy Gapon
Author: avg Date: Tue Jul 16 15:51:32 2013 New Revision: 253394 URL: http://svnweb.freebsd.org/changeset/base/253394 Log: MFC r253079: dtrace/fasttrap: install hook functions only after all data is initialized Approved by: re (marius) Modified: stable/9/sys/cddl/contrib/opensolaris/ut

Re: svn commit: r253380 - head/lib/libc/stdlib

2013-07-17 Thread Andriy Gapon
on 17/07/2013 07:10 Andrey Chernov said the following: > On 16.07.2013 11:26, Andriy Gapon wrote: >> Modified: head/lib/libc/stdlib/getenv.c >> == >> --- head/lib/libc/stdlib/getenv.cTue

Re: svn commit: r253380 - head/lib/libc/stdlib

2013-07-17 Thread Andriy Gapon
on 17/07/2013 08:27 Andrey Chernov said the following: > On 17.07.2013 8:48, Andrey Chernov wrote: >> On 17.07.2013 8:10, Andrey Chernov wrote: >>> On 16.07.2013 11:26, Andriy Gapon wrote: >>>> Modified:

Re: svn commit: r253380 - head/lib/libc/stdlib

2013-07-17 Thread Andriy Gapon
on 17/07/2013 11:41 Andrey Chernov said the following: > On 17.07.2013 12:35, Andriy Gapon wrote: >>>>>> -env = stpcpy(envVars[envNdx].name, name); >>>>>> +env = stpncpy(envVars[envNdx].name, name, nameLen); >>>>>

svn commit: r253413 - head/lib/libc/stdlib

2013-07-17 Thread Andriy Gapon
Author: avg Date: Wed Jul 17 08:45:27 2013 New Revision: 253413 URL: http://svnweb.freebsd.org/changeset/base/253413 Log: [fix to r253380] __setenv: be explicit about placing '=' after name This should a regression introduced in r253380 if malloc'ed memory happens to have '=' at the right

<    1   2   3   4   5   6   7   8   9   10   >