Re: svn commit: r234577 - head/usr.bin/stat

2012-06-21 Thread Christian Brueffer
On 4/22/12 20:45 , Steve Kargl wrote: On Sun, Apr 22, 2012 at 06:18:49PM +, Christian Brueffer wrote: Author: brueffer Date: Sun Apr 22 18:18:49 2012 New Revision: 234577 URL: http://svn.freebsd.org/changeset/base/234577 Log: Remove duplicate -l description. Submitted by:Rain

svn commit: r237365 - head/sys/kern

2012-06-21 Thread Konstantin Belousov
Author: kib Date: Thu Jun 21 09:19:41 2012 New Revision: 237365 URL: http://svn.freebsd.org/changeset/base/237365 Log: Fix locking for f_offset, vn_read() and vn_write() cases only, for now. It seems that intended locking protocol for struct file f_offset field was as follows: f_offset sh

svn commit: r237366 - head/sys/ufs/ffs

2012-06-21 Thread Konstantin Belousov
Author: kib Date: Thu Jun 21 09:20:07 2012 New Revision: 237366 URL: http://svn.freebsd.org/changeset/base/237366 Log: Fix unbounded-length malloc, controlled from usermode. The added check is performed before exact size of the buffer is calculated, but the buffer cannot have size greater th

svn commit: r237367 - head/sys/fs/nfsclient

2012-06-21 Thread Konstantin Belousov
Author: kib Date: Thu Jun 21 09:26:06 2012 New Revision: 237367 URL: http://svn.freebsd.org/changeset/base/237367 Log: Enable deadlock avoidance code for NFS client. MFC after:2 weeks Modified: head/sys/fs/nfsclient/nfs_clbio.c head/sys/fs/nfsclient/nfs_clvfsops.c Modified: head/s

Re: svn commit: r237335 - head/sys/cam/scsi

2012-06-21 Thread Sergey Kandaurov
On 20 June 2012 22:25, Alexander Motin wrote: > Author: mav > Date: Wed Jun 20 18:25:51 2012 > New Revision: 237335 > URL: http://svn.freebsd.org/changeset/base/237335 > > Log: >  Check status of cam_periph_hold() inside cdclose().  If cd device was >  invalidated while open, cam_periph_hold() wil

Re: svn commit: r237335 - head/sys/cam/scsi

2012-06-21 Thread Alexander Motin
On 06/21/12 12:30, Sergey Kandaurov wrote: On 20 June 2012 22:25, Alexander Motin wrote: Author: mav Date: Wed Jun 20 18:25:51 2012 New Revision: 237335 URL: http://svn.freebsd.org/changeset/base/237335 Log: Check status of cam_periph_hold() inside cdclose(). If cd device was invalidated

Re: svn commit: r237328 - in head/sys/cam: . scsi

2012-06-21 Thread Bjoern A. Zeeb
On 20. Jun 2012, at 17:08 , Kenneth D. Merry wrote: > Author: ken > Date: Wed Jun 20 17:08:00 2012 > New Revision: 237328 > URL: http://svn.freebsd.org/changeset/base/237328 > > Log: > Fix several reference counting and object lifetime issues between > the pass(4) and enc(4) drivers and devfs.

svn commit: r237392 - head/sys/netinet

2012-06-21 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 21 12:51:24 2012 New Revision: 237392 URL: http://svn.freebsd.org/changeset/base/237392 Log: Remove redundant #ifdef. Reported by gnn@. MFC after: 3 days Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrreq.c ==

svn commit: r237393 - head/lib/libc/string

2012-06-21 Thread Isabell Long
Author: issyl0 (doc committer) Date: Thu Jun 21 12:52:15 2012 New Revision: 237393 URL: http://svn.freebsd.org/changeset/base/237393 Log: Add more locale-specific functions to the relevant man pages: - libc/string/strcoll.3 - libc/string/strstr.3 - libc/string/strxfrm.3 - libc/string/str

Re: svn commit: r234577 - head/usr.bin/stat

2012-06-21 Thread Steve Kargl
On Thu, Jun 21, 2012 at 10:45:41AM +0200, Christian Brueffer wrote: > On 4/22/12 20:45 , Steve Kargl wrote: > >On Sun, Apr 22, 2012 at 06:18:49PM +, Christian Brueffer wrote: > >>Author: brueffer > >>Date: Sun Apr 22 18:18:49 2012 > >>New Revision: 234577 > >>URL: http://svn.freebsd.org/changes

svn commit: r237398 - head/sys/cam

2012-06-21 Thread Alexander Motin
Author: mav Date: Thu Jun 21 14:35:46 2012 New Revision: 237398 URL: http://svn.freebsd.org/changeset/base/237398 Log: In camisr() clear CAM_SIM_ON_DONEQ flag after camisr_runqueue() purged SIM done queue. Clearing it before caused extra SIM queueing in some cases. It was invisible during no

svn commit: r237401 - head/sys/cam

2012-06-21 Thread Alexander Motin
Author: mav Date: Thu Jun 21 15:14:51 2012 New Revision: 237401 URL: http://svn.freebsd.org/changeset/base/237401 Log: Make cam_periph_hold() behavior consistent: drop taken reference and return ENXIO if periph was invalidated while we were waiting for it. MFC after:1 week Modified:

svn commit: r237402 - head/lib/libc/net

2012-06-21 Thread David E. O'Brien
Author: obrien Date: Thu Jun 21 15:47:06 2012 New Revision: 237402 URL: http://svn.freebsd.org/changeset/base/237402 Log: Be explicit about the dependency on nsparser.h. Modified: head/lib/libc/net/Makefile.inc Modified: head/lib/libc/net/Makefile.inc

svn commit: r237404 - head/sys/amd64/amd64

2012-06-21 Thread Alan Cox
Author: alc Date: Thu Jun 21 16:37:36 2012 New Revision: 237404 URL: http://svn.freebsd.org/changeset/base/237404 Log: Update the PV stats in free_pv_entry() using atomics. After which, it is no longer necessary for free_pv_entry() to be serialized by the pvh global lock. Retire pmap_i

Re: svn commit: r234577 - head/usr.bin/stat

2012-06-21 Thread Bruce Evans
On Thu, 21 Jun 2012, Steve Kargl wrote: On Thu, Jun 21, 2012 at 10:45:41AM +0200, Christian Brueffer wrote: On 4/22/12 20:45 , Steve Kargl wrote: On Sun, Apr 22, 2012 at 06:18:49PM +, Christian Brueffer wrote: Author: brueffer Date: Sun Apr 22 18:18:49 2012 New Revision: 234577 URL: http:

svn commit: r237406 - head/contrib/gcc

2012-06-21 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jun 21 16:49:20 2012 New Revision: 237406 URL: http://svn.freebsd.org/changeset/base/237406 Log: Bring a couple of fixes for gcc optimizations. The GCC4.3 branch contains some optimization fixes that were not considered regressions and therefore were never backport

Re: svn commit: r237406 - head/contrib/gcc

2012-06-21 Thread Niclas Zeising
On 06/21/12 18:49, Pedro F. Giffuni wrote: Author: pfg Date: Thu Jun 21 16:49:20 2012 New Revision: 237406 URL: http://svn.freebsd.org/changeset/base/237406 Log: Bring a couple of fixes for gcc optimizations. The GCC4.3 branch contains some optimization fixes that were not considered r

svn commit: r237409 - head/lib/libc/string

2012-06-21 Thread Isabell Long
Author: issyl0 (doc committer) Date: Thu Jun 21 18:28:48 2012 New Revision: 237409 URL: http://svn.freebsd.org/changeset/base/237409 Log: Add the functions documented in the man pages in commit 237393 to the relevant Makefile. Reminded by: gavin Approved by: gabor (mentor) MFC after

Re: svn commit: r237406 - head/contrib/gcc

2012-06-21 Thread Pedro Giffuni
Hi Niclas; --- Gio 21/6/12, Niclas Zeising ha scritto: > On 06/21/12 18:49, Pedro F. Giffuni wrote: > > Author: pfg > > Date: Thu Jun 21 16:49:20 2012 > > New Revision: 237406 > > URL: http://svn.freebsd.org/changeset/base/237406 > > > > Log: > >    Bring a couple of fixes for gcc > optimization

Re: svn commit: r237406 - head/contrib/gcc

2012-06-21 Thread Niclas Zeising
On 06/21/12 20:28, Pedro Giffuni wrote: Hi Niclas; --- Gio 21/6/12, Niclas Zeising ha scritto: On 06/21/12 18:49, Pedro F. Giffuni wrote: Author: pfg Date: Thu Jun 21 16:49:20 2012 New Revision: 237406 URL: http://svn.freebsd.org/changeset/base/237406 Log: Bring a couple of fixes for g

svn commit: r237410 - in head: lib/libstand lib/libz lib/libz/contrib lib/libz/contrib/asm686 lib/libz/contrib/gcc_gvmat64 lib/libz/doc lib/libz/test sys/boot/userboot/libstand usr.bin/minigzip

2012-06-21 Thread Xin LI
Author: delphij Date: Thu Jun 21 21:47:08 2012 New Revision: 237410 URL: http://svn.freebsd.org/changeset/base/237410 Log: MFV: Update zlib to 1.2.7. (x86 assembler optimization disabled for now because it requires the new .cfi_* directives that is not supported by base system binutils)

svn commit: r237411 - head/sys/dev/drm2

2012-06-21 Thread Ed Maste
Author: emaste Date: Thu Jun 21 22:06:57 2012 New Revision: 237411 URL: http://svn.freebsd.org/changeset/base/237411 Log: Add PCI IDs for Ivy Bridge Modified: head/sys/dev/drm2/drm_pciids.h Modified: head/sys/dev/drm2/drm_pciids.h =

svn commit: r237412 - in head: sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/components/disa...

2012-06-21 Thread Jung-uk Kim
Author: jkim Date: Fri Jun 22 00:40:44 2012 New Revision: 237412 URL: http://svn.freebsd.org/changeset/base/237412 Log: Merge ACPICA 20120620. Added: head/sys/contrib/dev/acpica/common/ahpredef.c - copied, changed from r237408, vendor-sys/acpica/dist/source/common/ahpredef.c Modified:

svn commit: r237414 - head/sys/amd64/amd64

2012-06-21 Thread Alan Cox
Author: alc Date: Fri Jun 22 05:01:36 2012 New Revision: 237414 URL: http://svn.freebsd.org/changeset/base/237414 Log: Introduce CHANGE_PV_LIST_LOCK_TO_{PHYS,VM_PAGE}() to avoid duplication of code. Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c ===

svn commit: r237429 - head/sys/arm/at91

2012-06-21 Thread Warner Losh
Author: imp Date: Fri Jun 22 05:54:34 2012 New Revision: 237429 URL: http://svn.freebsd.org/changeset/base/237429 Log: Move these #defines to at91reg.h (where I should have put them in the first place). Modified: head/sys/arm/at91/at91_machdep.c head/sys/arm/at91/at91reg.h Modified: head

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

2012-06-21 Thread Konstantin Belousov
Author: kib Date: Fri Jun 22 06:38:31 2012 New Revision: 237430 URL: http://svn.freebsd.org/changeset/base/237430 Log: Reserve AT_TIMEKEEP auxv entry for providing usermode the pointer to timekeeping information. MFC after: 1 week Modified: head/sys/amd64/include/elf.h head/sys/arm/

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

2012-06-21 Thread Konstantin Belousov
Author: kib Date: Fri Jun 22 06:39:28 2012 New Revision: 237431 URL: http://svn.freebsd.org/changeset/base/237431 Log: Enchance the shared page chunk allocator. Do not rely on the busy state of the page from which we allocate the chunk, to protect allocator state. Use statically allocated

svn commit: r237432 - head/sys/arm/at91

2012-06-21 Thread Warner Losh
Author: imp Date: Fri Jun 22 06:44:22 2012 New Revision: 237432 URL: http://svn.freebsd.org/changeset/base/237432 Log: Fix a stray debug that I committed accidentally years ago... Modified: head/sys/arm/at91/at91_twi.c Modified: head/sys/arm/at91/at91_twi.c ==