svn commit: r184590 - in stable/7/sys: . kern ufs/ffs

2008-11-03 Thread Konstantin Belousov
Author: kib Date: Mon Nov 3 14:08:08 2008 New Revision: 184590 URL: http://svn.freebsd.org/changeset/base/184590 Log: MFC r184074: Assert that v_holdcnt is non-zero before entering lockmgr in vn_lock and ffs_lock. This cannot catch situations where holdcnt is incremented not by

svn commit: r184592 - head/sys/netsmb

2008-11-03 Thread Robert Watson
Author: rwatson Date: Mon Nov 3 14:23:15 2008 New Revision: 184592 URL: http://svn.freebsd.org/changeset/base/184592 Log: Implement device cloning for /dev/nsmb, the netsmb control pseudo-device. The smb library in userspace already knows how to deal with this type of cloning. This

svn commit: r184593 - in stable/7/sys: . ufs/ufs

2008-11-03 Thread Konstantin Belousov
Author: kib Date: Mon Nov 3 14:35:43 2008 New Revision: 184593 URL: http://svn.freebsd.org/changeset/base/184593 Log: MFC r184408: Provide an explanation for getinoquota() call in the ufs_access vop. Approved by: re (kensmith) Modified: stable/7/sys/ (props changed)

Re: svn commit: r184558 - head/sys/dev/acpica/Osd

2008-11-03 Thread Jung-uk Kim
On Sunday 02 November 2008 07:50 am, Alexander Motin wrote: Author: mav Date: Sun Nov 2 12:50:16 2008 New Revision: 184558 URL: http://svn.freebsd.org/changeset/base/184558 Log: As soon as we have several threads per process now, it is not correct to use process ID as ACPI thread ID.

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

2008-11-03 Thread Konstantin Belousov
Author: kib Date: Mon Nov 3 10:14:47 2008 New Revision: 184586 URL: http://svn.freebsd.org/changeset/base/184586 Log: Fix style. Modified: head/lib/libc/string/ffsl.c Modified: head/lib/libc/string/ffsl.c == ---

svn commit: r184595 - head/sys/fs/coda

2008-11-03 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Nov 3 16:36:23 2008 New Revision: 184595 URL: http://svn.freebsd.org/changeset/base/184595 Log: Fix few missed accmode changes in coda. Approved by: rwatson (mentor) Modified: head/sys/fs/coda/cnode.h head/sys/fs/coda/coda_subr.c

svn commit: r184587 - in head: include lib/libc/string

2008-11-03 Thread Konstantin Belousov
Author: kib Date: Mon Nov 3 10:22:19 2008 New Revision: 184587 URL: http://svn.freebsd.org/changeset/base/184587 Log: Add the ffsll and flsll functions. These are ffs and fls operating on long long arguments. Reviewed by: bde (previous version, that included asm implementation

Re: svn commit: r184558 - head/sys/dev/acpica/Osd

2008-11-03 Thread Alexander Motin
Jung-uk Kim wrote: On Sunday 02 November 2008 07:50 am, Alexander Motin wrote: Author: mav Date: Sun Nov 2 12:50:16 2008 New Revision: 184558 URL: http://svn.freebsd.org/changeset/base/184558 Log: As soon as we have several threads per process now, it is not correct to use process ID

Re: svn commit: r184558 - head/sys/dev/acpica/Osd

2008-11-03 Thread Jung-uk Kim
On Monday 03 November 2008 12:26 pm, Jung-uk Kim wrote: On top of that: /* Returning 0 is not allowed. */ return (curthread-td_tid + 1); may actually return 0 because it can be INT_MAX. :-) Sorry, it was just my stupidity. I meant td_tid itself cannot be 0, so + 1 should be

Re: svn commit: r184558 - head/sys/dev/acpica/Osd

2008-11-03 Thread Alexander Motin
Jung-uk Kim wrote: I'm also sorry, but that is what I see: typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */ ... td-td_tid = alloc_unr(tid_unrhdr); ... tid_unrhdr = new_unrhdr(PID_MAX + 2, INT_MAX, tid_lock); So what have I missed, where is the problem? Why td_tid is not

Re: svn commit: r184471 - in head/bin: cat cp

2008-11-03 Thread Peter Jeremy
On 2008-Nov-03 00:34:47 +0100, Ivan Voras [EMAIL PROTECTED] wrote: 2008/10/31 Giorgos Keramidas [EMAIL PROTECTED]: The difference between the best and the worst is 247 context switches (total, not per second). It looks like it's probably worth pushing the limit up to 8 MB when we have lots of

Re: svn commit: r184471 - in head/bin: cat cp

2008-11-03 Thread Giorgos Keramidas
On Mon, 3 Nov 2008 18:58:18 +1100, Peter Jeremy [EMAIL PROTECTED] wrote: On 2008-Nov-03 00:34:47 +0100, Ivan Voras [EMAIL PROTECTED] wrote: 2008/10/31 Giorgos Keramidas [EMAIL PROTECTED]: The difference between the best and the worst is 247 context switches (total, not per second). It looks

Re: svn commit: r184471 - in head/bin: cat cp

2008-11-03 Thread Joerg Sonnenberger
On Mon, Nov 03, 2008 at 12:34:47AM +0100, Ivan Voras wrote: It looks like it's probably worth pushing the limit up to 8 MB when we have lots of memory :) Yes, it's an improvement, but who will ever notice? :) Is even the improvement from 64KB to 1MB even measurable? I mean on anything but

svn commit: r184596 - head/sys/dev/acpica/Osd

2008-11-03 Thread Alexander Motin
Author: mav Date: Mon Nov 3 18:28:12 2008 New Revision: 184596 URL: http://svn.freebsd.org/changeset/base/184596 Log: Remove + 1. Thread ID can't be zero anyway while increment may give owerflow. Modified: head/sys/dev/acpica/Osd/OsdSchedule.c Modified:

Re: svn commit: r184509 - head/share/man/man9

2008-11-03 Thread John Baldwin
On Monday 03 November 2008 08:15:40 am Dag-Erling Smørgrav wrote: Bruce Evans [EMAIL PROTECTED] writes: Robert Watson [EMAIL PROTECTED] writes: In style(9) examples of err() and errx(), use sysexits(3) errors rather than returning 1. style(9) was correct. Using sysexits(3) is a style

Re: svn commit: r184558 - head/sys/dev/acpica/Osd

2008-11-03 Thread John Baldwin
On Monday 03 November 2008 11:27:13 am Jung-uk Kim wrote: On Monday 03 November 2008 11:08 am, Alexander Motin wrote: Jung-uk Kim wrote: On Sunday 02 November 2008 07:50 am, Alexander Motin wrote: Author: mav Date: Sun Nov 2 12:50:16 2008 New Revision: 184558 URL:

Re: svn commit: r184588 - in head: etc/gss etc/rc.d include/rpc lib/libc/sys lib/libc/xdr lib/librpcsec_gss sbin/mount_nfs sys/compat/freebsd32 sys/conf sys/fs/unionfs sys/kern sys/kgssapi sys/kgssapi

2008-11-03 Thread Wilko Bulte
Quoting Doug Rabson, who wrote on Mon, Nov 03, 2008 at 02:43:16PM + .. On 3 Nov 2008, at 13:48, Simon L. Nielsen wrote: On 2008.11.03 10:38:00 +, Doug Rabson wrote: Author: dfr Date: Mon Nov 3 10:38:00 2008 New Revision: 184588 URL: http://svn.freebsd.org/changeset/base/184588

Re: svn commit: r184558 - head/sys/dev/acpica/Osd

2008-11-03 Thread John Baldwin
On Sunday 02 November 2008 07:50:16 am Alexander Motin wrote: Author: mav Date: Sun Nov 2 12:50:16 2008 New Revision: 184558 URL: http://svn.freebsd.org/changeset/base/184558 Log: As soon as we have several threads per process now, it is not correct to use process ID as ACPI thread

Re: svn commit: r184568 - head/sys/netsmb

2008-11-03 Thread John Baldwin
On Sunday 02 November 2008 03:22:24 pm Robert Watson wrote: Author: rwatson Date: Sun Nov 2 20:22:24 2008 New Revision: 184568 URL: http://svn.freebsd.org/changeset/base/184568 Log: smb_vc_put() requires that the passed vcp be locked, so lock it before dropping the connection when

svn commit: r184597 - head/sys/kern

2008-11-03 Thread John Baldwin
Author: jhb Date: Mon Nov 3 19:33:20 2008 New Revision: 184597 URL: http://svn.freebsd.org/changeset/base/184597 Log: A few style nits. Modified: head/sys/kern/vfs_lookup.c Modified: head/sys/kern/vfs_lookup.c ==

svn commit: r184598 - head/sys/tools

2008-11-03 Thread John Baldwin
Author: jhb Date: Mon Nov 3 19:57:40 2008 New Revision: 184598 URL: http://svn.freebsd.org/changeset/base/184598 Log: Remove some unused and broken code that attempted to not invoke locking asserts on NULL vnode pointers. All the vnode assertion routines already check for NULL vnode

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

2008-11-03 Thread Attilio Rao
Author: attilio Date: Mon Nov 3 20:00:35 2008 New Revision: 184599 URL: http://svn.freebsd.org/changeset/base/184599 Log: Remove the mnt_holdcnt and mnt_holdcntwaiters because they are useless. Really, the concept of holdcnt in the struct mount is rappresented by the mnt_ref (which

Re: svn commit: r184251 - in head/sys: conf dev/cfi sys

2008-11-03 Thread M. Warner Losh
In message: [EMAIL PROTECTED] John Baldwin [EMAIL PROTECTED] writes: : On Friday 31 October 2008 05:59:41 am Dag-Erling Smørgrav wrote: : Marcel Moolenaar [EMAIL PROTECTED] writes: : Log: : Add a driver for flash memory that implements to the Common Flash : Memory Interface

svn commit: r184600 - head/sys/kern

2008-11-03 Thread John Baldwin
Author: jhb Date: Mon Nov 3 20:31:00 2008 New Revision: 184600 URL: http://svn.freebsd.org/changeset/base/184600 Log: Use shared vnode locks instead of exclusive vnode locks for the access(), chdir(), chroot(), eaccess(), fpathconf(), fstat(), fstatfs(), lseek() (when figuring out the

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

2008-11-03 Thread Warner Losh
Author: imp Date: Mon Nov 3 22:43:37 2008 New Revision: 184606 URL: http://svn.freebsd.org/changeset/base/184606 Log: Use more standardized license language Approved by: Thomas Quinot Modified: head/share/man/man4/atapicam.4 Modified: head/share/man/man4/atapicam.4

svn commit: r184607 - head/lib/libc/posix1e

2008-11-03 Thread Warner Losh
Author: imp Date: Tue Nov 4 00:20:43 2008 New Revision: 184607 URL: http://svn.freebsd.org/changeset/base/184607 Log: Replace the non-standard disclaimer with the standard one from /COPYRIGHT Approved by: jedgar@ Modified: head/lib/libc/posix1e/acl_add_perm.3

svn commit: r184608 - svnadmin/conf

2008-11-03 Thread Alfred Perlstein
Author: alfred Date: Tue Nov 4 01:45:49 2008 New Revision: 184608 URL: http://svn.freebsd.org/changeset/base/184608 Log: unlimit my commit size check for usb2 import. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r184610 - in head: lib/libusb20 share/man/man4 sys/conf sys/dev/sound/pcm sys/dev/usb2 sys/dev/usb2/bluetooth sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb...

2008-11-03 Thread Alfred Perlstein
Author: alfred Date: Tue Nov 4 02:31:03 2008 New Revision: 184610 URL: http://svn.freebsd.org/changeset/base/184610 Log: Bring in USB4BSD, Hans Petter Selasky rework of the USB stack that includes significant features and SMP safety. This commit includes a more or less complete rewrite

svn commit: r184611 - svnadmin/conf

2008-11-03 Thread Alfred Perlstein
Author: alfred Date: Tue Nov 4 02:36:18 2008 New Revision: 184611 URL: http://svn.freebsd.org/changeset/base/184611 Log: all done with usb2 commit! Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r184612 - head/sys/conf

2008-11-03 Thread Alfred Perlstein
Author: alfred Date: Tue Nov 4 03:42:01 2008 New Revision: 184612 URL: http://svn.freebsd.org/changeset/base/184612 Log: add usb2_if.m to mfiles to unbreak build of modules. Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk