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

2012-06-20 Thread Alan Cox
Author: alc Date: Wed Jun 20 07:25:20 2012 New Revision: 237290 URL: http://svn.freebsd.org/changeset/base/237290 Log: Add PV list locking to pmap_copy(), pmap_enter_object(), and pmap_enter_quick(). These functions are no longer serialized by the pvh global lock. There is no need to

Re: svn commit: r237223 - head/sys/dev/fb

2012-06-20 Thread Gennady Proskurin
On Tue, Jun 19, 2012 at 05:27:11AM +, Poul-Henning Kamp wrote: In message 68fbe843-7337-4c90-b01f-e0caabb62...@gsoft.com.au, Daniel O'Conno r writes: If size is odd, this does not copy the last byte. Not sure, whether = this is intended. Feel free to improve... Index: fbreg.h

Re: svn commit: r237223 - head/sys/dev/fb

2012-06-20 Thread Daniel O'Connor
On 20/06/2012, at 17:11, Gennady Proskurin wrote: On Tue, Jun 19, 2012 at 05:27:11AM +, Poul-Henning Kamp wrote: In message 68fbe843-7337-4c90-b01f-e0caabb62...@gsoft.com.au, Daniel O'Conno r writes: If size is odd, this does not copy the last byte. Not sure, whether = this is

svn commit: r237295 - head/sys/dev/viawd

2012-06-20 Thread Fabien Thomas
Author: fabient Date: Wed Jun 20 09:01:44 2012 New Revision: 237295 URL: http://svn.freebsd.org/changeset/base/237295 Log: Fix viawd(4) that was only working as a module. Obtained from:jhb MFC after: 3 days Modified: head/sys/dev/viawd/viawd.c Modified:

Re: svn commit: r237223 - head/sys/dev/fb

2012-06-20 Thread Gennady Proskurin
On Wed, Jun 20, 2012 at 05:59:07PM +0930, Daniel O'Connor wrote: On 20/06/2012, at 17:11, Gennady Proskurin wrote: On Tue, Jun 19, 2012 at 05:27:11AM +, Poul-Henning Kamp wrote: In message 68fbe843-7337-4c90-b01f-e0caabb62...@gsoft.com.au, Daniel O'Conno r writes: If size is

Re: svn commit: r237223 - head/sys/dev/fb

2012-06-20 Thread Poul-Henning Kamp
In message 20120620074101.ga...@gpr.nnz-home.ru, Gennady Proskurin writes: If size is odd, this does not copy the last byte. Not sure, whether = this is intended. Feel free to improve... It is not my impression that an odd byte count can happen at all... And yes, I fully agree with Bruce

svn commit: r237322 - head/sys/dev/xen/balloon

2012-06-20 Thread Fabien Thomas
Author: fabient Date: Wed Jun 20 15:45:50 2012 New Revision: 237322 URL: http://svn.freebsd.org/changeset/base/237322 Log: Allow booting XENHVM kernel without Xen hypervisor. MFC after:3 days Modified: head/sys/dev/xen/balloon/balloon.c Modified: head/sys/dev/xen/balloon/balloon.c

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

2012-06-20 Thread Bruce Evans
On Wed, 20 Jun 2012, Eitan Adler wrote: Log: Don't close an uninitialized descriptor. [1] Add a sanity check for the validity of the passed fd. Library functions shouldn't use assert() or abort(). The fd is not passed, but is a static variable under syslog()'s control. In libc, only the

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

2012-06-20 Thread Colin Percival
On 06/20/12 09:27, Bruce Evans wrote: On Wed, 20 Jun 2012, Eitan Adler wrote: Log: Don't close an uninitialized descriptor. [1] Add a sanity check for the validity of the passed fd. Library functions shouldn't use assert() or abort(). Why not? The fd is not passed, but is a static

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

2012-06-20 Thread Kenneth D. Merry
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. The pass(4) driver uses the destroy_dev_sched() routine to

svn commit: r237329 - head/usr.sbin/mfiutil

2012-06-20 Thread Matt Jacob
Author: mjacob Date: Wed Jun 20 17:20:25 2012 New Revision: 237329 URL: http://svn.freebsd.org/changeset/base/237329 Log: Fix ARM compilation issue. X-MFC: 237260 Modified: head/usr.sbin/mfiutil/mfi_drive.c Modified: head/usr.sbin/mfiutil/mfi_drive.c

svn commit: r237334 - head/sys/vm

2012-06-20 Thread John Baldwin
Author: jhb Date: Wed Jun 20 18:00:26 2012 New Revision: 237334 URL: http://svn.freebsd.org/changeset/base/237334 Log: Move the per-thread deferred user map entries list into a private list in vm_map_process_deferred() which is then iterated to release map entries. This avoids having a

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

2012-06-20 Thread Alexander Motin
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() will return error and won't get the reference. Following

svn commit: r237337 - head/etc/periodic/daily

2012-06-20 Thread John Baldwin
Author: jhb Date: Wed Jun 20 20:01:51 2012 New Revision: 237337 URL: http://svn.freebsd.org/changeset/base/237337 Log: Only output a list of file systems that need to be dumped if the system has a non-empty dumpdates file. Reviewed by: brooks MFC after:1 week Modified:

Re: svn commit: r237329 - head/usr.sbin/mfiutil

2012-06-20 Thread Eitan Adler
On 20 June 2012 10:20, Matt Jacob mja...@freebsd.org wrote: Author: mjacob Date: Wed Jun 20 17:20:25 2012 New Revision: 237329 URL: http://svn.freebsd.org/changeset/base/237329 Log:  Fix ARM compilation issue.  X-MFC: 237260 Sorry about this. I had a sent a diff for approval, but was at

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

2012-06-20 Thread John Baldwin
Author: jhb Date: Wed Jun 20 21:06:51 2012 New Revision: 237338 URL: http://svn.freebsd.org/changeset/base/237338 Log: Don't return an error if a kld does not contain any modules (e.g. a kld that only contained a sysctl). The kernel linker allows such modules, so the boot loader should not

svn commit: r237339 - head/bin/rm

2012-06-20 Thread Xin LI
Author: delphij Date: Wed Jun 20 21:10:38 2012 New Revision: 237339 URL: http://svn.freebsd.org/changeset/base/237339 Log: Polish previous revision: if the fts_* routines have lstat()'ed the directory entry then use the struct stat from that instead of doing it again, and skip the

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

2012-06-20 Thread Warner Losh
On Jun 20, 2012, at 10:36 AM, Colin Percival wrote: On 06/20/12 09:27, Bruce Evans wrote: On Wed, 20 Jun 2012, Eitan Adler wrote: Log: Don't close an uninitialized descriptor. [1] Add a sanity check for the validity of the passed fd. Library functions shouldn't use assert() or abort().

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

2012-06-20 Thread Colin Percival
On 06/20/12 14:15, Warner Losh wrote: On Jun 20, 2012, at 10:36 AM, Colin Percival wrote: On 06/20/12 09:27, Bruce Evans wrote: On Wed, 20 Jun 2012, Eitan Adler wrote: Log: Don't close an uninitialized descriptor. [1] Add a sanity check for the validity of the passed fd. Library functions

svn commit: r237344 - head/tools/regression/usr.bin/make

2012-06-20 Thread David E. O'Brien
Author: obrien Date: Wed Jun 20 21:38:16 2012 New Revision: 237344 URL: http://svn.freebsd.org/changeset/base/237344 Log: Provide a mechanism to not clear out the work and output dirs when developing tests. Modified: head/tools/regression/usr.bin/make/common.sh Modified:

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

2012-06-20 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/20/12 14:23, Colin Percival wrote: On 06/20/12 14:15, Warner Losh wrote: On Jun 20, 2012, at 10:36 AM, Colin Percival wrote: On 06/20/12 09:27, Bruce Evans wrote: On Wed, 20 Jun 2012, Eitan Adler wrote: Log: Don't close an uninitialized

svn commit: r237346 - head/sys/vm

2012-06-20 Thread Alan Cox
Author: alc Date: Wed Jun 20 23:25:47 2012 New Revision: 237346 URL: http://svn.freebsd.org/changeset/base/237346 Log: Selectively inline vm_page_dirty(). Modified: head/sys/vm/vm_page.c head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.c

svn commit: r237348 - head/usr.bin/makewhatis

2012-06-20 Thread Xin LI
Author: delphij Date: Wed Jun 20 23:53:36 2012 New Revision: 237348 URL: http://svn.freebsd.org/changeset/base/237348 Log: Currently the code uses gzFile * for a zlib file descriptor, which is not correct. The code works by accident because gzFile is currently defined as void *, and

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

2012-06-20 Thread Bruce Evans
On Wed, 20 Jun 2012, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/20/12 14:23, Colin Percival wrote: On 06/20/12 14:15, Warner Losh wrote: On Jun 20, 2012, at 10:36 AM, Colin Percival wrote: On 06/20/12 09:27, Bruce Evans wrote: On Wed, 20 Jun 2012, Eitan Adler

svn commit: r237350 - head/sys/dev/puc

2012-06-20 Thread Max Khon
Author: fjoe Date: Thu Jun 21 03:10:48 2012 New Revision: 237350 URL: http://svn.freebsd.org/changeset/base/237350 Log: Add support for the following Moxa PCIe multiport serial boards: - CP102E - CP102EL - CP132EL - CP114EL - CP118EL-A - CP168EL-A MFC after:1 week

svn commit: r237357 - head/sys/dev/puc

2012-06-20 Thread Max Khon
Author: fjoe Date: Thu Jun 21 04:57:59 2012 New Revision: 237357 URL: http://svn.freebsd.org/changeset/base/237357 Log: Remove Moxa CP-132EL definition (RS422/485-only board). Modified: head/sys/dev/puc/pucdata.c Modified: head/sys/dev/puc/pucdata.c