svn commit: r268735 - head/sys/dev/usb/controller

2014-07-15 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 16 06:14:41 2014 New Revision: 268735 URL: http://svnweb.freebsd.org/changeset/base/268735 Log: Improve support for Intel Lynx Point USB 3.0 controllers by using the USB 2.0 port mask in addition to the USB 3.0 port mask. The hardware does not always accept whe

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
> -Original Message- > From: adrian.ch...@gmail.com [mailto:adrian.ch...@gmail.com] On Behalf > Of Adrian Chadd > Sent: Tuesday, July 15, 2014 10:19 PM > To: Mark Linimon > Cc: Devin Teske; Mateusz Guzik; Bryan Drewery; svn-src-head@freebsd.org; > svn-src-...@freebsd.org; src-committ...@f

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
From: Jordan Hubbard [mailto:jordanhubb...@me.com] Sent: Tuesday, July 15, 2014 9:42 PM To: dte...@freebsd.org Cc: Benjamin Kaduk; Bryan Drewery; svn-src-head@freebsd.org; svn-src-...@freebsd.org; src-committ...@freebsd.org Subject: Re: svn commit: r268641 - head/usr.sbin/service On J

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
> -Original Message- > From: Jordan Hubbard [mailto:jordanhubb...@me.com] > Sent: Tuesday, July 15, 2014 9:39 PM > To: dte...@freebsd.org > Cc: Mateusz Guzik; Bryan Drewery; src-committ...@freebsd.org; svn-src- > a...@freebsd.org; svn-src-head@freebsd.org > Subject: Re: svn commit: r26864

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
> -Original Message- > From: Bryan Drewery [mailto:bdrew...@freebsd.org] > Sent: Tuesday, July 15, 2014 8:44 PM > To: dte...@freebsd.org; 'Mateusz Guzik' > Cc: src-committ...@freebsd.org; svn-src-...@freebsd.org; svn-src- > h...@freebsd.org > Subject: Re: svn commit: r268641 - head/usr.sb

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Adrian Chadd
On 15 July 2014 22:08, Mark Linimon wrote: > On Tue, Jul 15, 2014 at 07:13:44PM -0700, dte...@freebsd.org wrote: >> destroying all vestiges of that environment purely for the sake of >> saying "it's clean" seems counter to the UNIX pathos. > > I think you mean "ethos" here, but frankly I like it b

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Mark Linimon
On Tue, Jul 15, 2014 at 07:13:44PM -0700, dte...@freebsd.org wrote: > destroying all vestiges of that environment purely for the sake of > saying "it's clean" seems counter to the UNIX pathos. I think you mean "ethos" here, but frankly I like it better this way. mcl __

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
> -Original Message- > From: owner-src-committ...@freebsd.org [mailto:owner-src- > committ...@freebsd.org] On Behalf Of Bryan Drewery > Sent: Tuesday, July 15, 2014 10:59 AM > To: Devin Teske; src-committ...@freebsd.org; svn-src-...@freebsd.org; svn- > src-h...@freebsd.org > Subject: Re:

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Jordan Hubbard
On Jul 15, 2014, at 7:40 PM, dte...@freebsd.org wrote: > I define non-UNIXy as chicanery that makes working in a > POSIX environment more difficult POSIX does not define or mandate any specific set of environment variables. OS X is POSIX and UNIX03 compliant (and qualified to use the Unix trad

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Jordan Hubbard
On Jul 15, 2014, at 7:13 PM, dte...@freebsd.org wrote: > I would argue that not all programs are going to like having > a nearly empty environment. Things like TERM and SHLVL > at the very least should be passed (after-all, the boot process > takes place on [a] a terminal and [b] in a shell). Hav

Re: svn commit: r268600 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/mips cddl/dev/dtrace/powerpc i386/i386 mips/mips powerpc/aim sys

2014-07-15 Thread Mark Johnston
On Mon, Jul 14, 2014 at 11:10:50AM +0300, Konstantin Belousov wrote: > On Mon, Jul 14, 2014 at 04:38:17AM +, Mark Johnston wrote: > > Author: markj > > Date: Mon Jul 14 04:38:17 2014 > > New Revision: 268600 > > URL: http://svnweb.freebsd.org/changeset/base/268600 > > > > Log: > > Invoke the

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Bryan Drewery
On 7/15/14, 9:48 PM, dte...@freebsd.org wrote: -Original Message- From: owner-src-committ...@freebsd.org [mailto:owner-src- committ...@freebsd.org] On Behalf Of Mateusz Guzik Sent: Tuesday, July 15, 2014 12:16 PM To: Bryan Drewery Cc: Devin Teske; src-committ...@freebsd.org; svn-src-..

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
> -Original Message- > From: owner-src-committ...@freebsd.org [mailto:owner-src- > committ...@freebsd.org] On Behalf Of Mateusz Guzik > Sent: Tuesday, July 15, 2014 12:16 PM > To: Bryan Drewery > Cc: Devin Teske; src-committ...@freebsd.org; svn-src-...@freebsd.org; svn- > src-h...@freebsd

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
From: Benjamin Kaduk [mailto:bjkf...@gmail.com] Sent: Tuesday, July 15, 2014 7:24 PM To: dte...@freebsd.org Cc: Bryan Drewery; svn-src-head@freebsd.org; svn-src-...@freebsd.org; src-committ...@freebsd.org Subject: Re: svn commit: r268641 - head/usr.sbin/service On Tue, Jul 15, 2014 at 1

Re: svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-15 Thread Nathan Whitehorn
On 07/15/14 08:43, Alan Cox wrote: On 07/15/2014 09:01, John Baldwin wrote: On Monday, July 14, 2014 1:53:45 pm Konstantin Belousov wrote: On Mon, Jul 14, 2014 at 05:42:22PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Mon Jul 14 17:42:22 2014 New Revision: 268624 URL: http://svnwe

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Benjamin Kaduk
On Tue, Jul 15, 2014 at 10:13 PM, wrote: > > Blatting out the environment feels rude and non-UNIXy. > UNIX programs can, and should expect at a minimum to > be able to interrogate the environment they are running > within -- destroying all vestiges of that environment purely > for the sake of say

RE: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread dteske
> -Original Message- > From: owner-src-committ...@freebsd.org [mailto:owner-src- > committ...@freebsd.org] On Behalf Of Mateusz Guzik > Sent: Tuesday, July 15, 2014 12:16 PM > To: Bryan Drewery > Cc: Devin Teske; src-committ...@freebsd.org; svn-src-...@freebsd.org; svn- > src-h...@freebsd

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

2014-07-15 Thread Gavin Atkinson
Author: gavin Date: Wed Jul 16 00:12:57 2014 New Revision: 268728 URL: http://svnweb.freebsd.org/changeset/base/268728 Log: When we fail to extract the pkg binaries (for example, / is read-only), give a more helpful error message. MFC after:1 week Modified: head/usr.sbin/pkg/pkg.c

svn commit: r268727 - head/usr.bin/mkimg

2014-07-15 Thread Xin LI
Author: delphij Date: Tue Jul 15 23:35:06 2014 New Revision: 268727 URL: http://svnweb.freebsd.org/changeset/base/268727 Log: Add a bandaid to fix GCC build (on sparc64 et al). Modified: head/usr.bin/mkimg/vhd.c Modified: head/usr.bin/mkimg/vhd.c =

svn commit: r268726 - head/sys/dev/e1000

2014-07-15 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 15 23:32:13 2014 New Revision: 268726 URL: http://svnweb.freebsd.org/changeset/base/268726 Log: Move the "retry:" label so that the calls to m_pullup() are not done after the call to m_defrag(). This fixes a problem where m_pullup() would prepend an mbuf to the

svn commit: r268725 - head/share/man/man9

2014-07-15 Thread Gavin Atkinson
Author: gavin Date: Tue Jul 15 23:29:20 2014 New Revision: 268725 URL: http://svnweb.freebsd.org/changeset/base/268725 Log: Since r202933, kthread_suspend_check() takes no arguments. Update the example to match. MFC after:3 days Modified: head/share/man/man9/kthread.9 Modified: h

Re: Phabric IDs / URLs in commits

2014-07-15 Thread Kubilay Kocak
On 16/07/2014 1:12 AM, John Baldwin wrote: > On Friday, July 11, 2014 1:54:42 pm Baptiste Daroussin wrote: >> On Fri, Jul 11, 2014 at 12:38:23PM -0400, John Baldwin wrote: >>> On Friday, July 11, 2014 12:16:26 pm John Baldwin wrote: Author: jhb Date: Fri Jul 11 16:16:26 2014 New Revi

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

2014-07-15 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 15 22:57:50 2014 New Revision: 268722 URL: http://svnweb.freebsd.org/changeset/base/268722 Log: Also link 'show bio' to g_bio(9.) X-MFC-With: r268715 MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man4/ddb.4

svn commit: r268720 - in head: cddl/contrib/opensolaris/cmd/zpool sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-07-15 Thread Xin LI
Author: delphij Date: Tue Jul 15 22:44:04 2014 New Revision: 268720 URL: http://svnweb.freebsd.org/changeset/base/268720 Log: MFV r268714: Improve extreme rewind import. When doing an "extreme rewind" import ("zpool import -XF"), we attempt to verify all data in the pool, essentially

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

2014-07-15 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 15 21:13:08 2014 New Revision: 268715 URL: http://svnweb.freebsd.org/changeset/base/268715 Log: Document the 'show bio' command added in 2009. While here also reword 'show buffer' to have an 'addr' argument and to match other struct documentation. MFC a

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

2014-07-15 Thread Xin LI
Author: delphij Date: Tue Jul 15 20:32:23 2014 New Revision: 268713 URL: http://svnweb.freebsd.org/changeset/base/268713 Log: MFV r268702: Add missing *_destroy() calls in various places with ZFS. Illumos issue: 4975 missing mutex_destroy() calls in zfs MFC after:2 weeks

Re: svn commit: r268491 - head/usr.bin/users

2014-07-15 Thread John Baldwin
On Tuesday, July 15, 2014 3:21:49 pm Pietro Cerutti wrote: > On 2014-Jul-10, 11:27, John Baldwin wrote: > > I would also prefer avoiding 'using namespace' when possible, especially > > for a short program. > > On 2014-Jul-11, 17:26, John Baldwin wrote: > > I suppose it would be fine to permit it i

svn commit: r268712 - head/sys/kern

2014-07-15 Thread Konstantin Belousov
Author: kib Date: Tue Jul 15 19:57:03 2014 New Revision: 268712 URL: http://svnweb.freebsd.org/changeset/base/268712 Log: Followup to r268466. - Move the code to calculate resident count into separate function. It reduces the indent level and makes the operation of vmmap_skip_res_cn

svn commit: r268711 - head/sys/kern

2014-07-15 Thread Konstantin Belousov
Author: kib Date: Tue Jul 15 19:49:00 2014 New Revision: 268711 URL: http://svnweb.freebsd.org/changeset/base/268711 Log: Change the calculation of the kinfo_vmentry field kve_private_resident to reflect its name. Noted and reviewed by:alc Sponsored by: The FreeBSD Foundation

Re: svn commit: r268491 - head/usr.bin/users

2014-07-15 Thread Pietro Cerutti
On 2014-Jul-10, 11:27, John Baldwin wrote: > I would also prefer avoiding 'using namespace' when possible, especially > for a short program. On 2014-Jul-11, 17:26, John Baldwin wrote: > I suppose it would be fine to permit it in small utilities and only in .cc > files but not otherwise? I'm confu

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Mateusz Guzik
On Tue, Jul 15, 2014 at 12:59:05PM -0500, Bryan Drewery wrote: > On 7/14/2014 9:18 PM, Devin Teske wrote: > > Author: dteske > > Date: Tue Jul 15 02:18:55 2014 > > New Revision: 268641 > > URL: http://svnweb.freebsd.org/changeset/base/268641 > > > > Log: > > Fix an issue with service(8) where ut

svn commit: r268706 - head/sys/dev/cxgbe

2014-07-15 Thread Navdeep Parhar
Author: np Date: Tue Jul 15 18:24:41 2014 New Revision: 268706 URL: http://svnweb.freebsd.org/changeset/base/268706 Log: cxgbe(4): Display CF facility correctly in the device log. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

Re: svn commit: r268641 - head/usr.sbin/service

2014-07-15 Thread Bryan Drewery
On 7/14/2014 9:18 PM, Devin Teske wrote: > Author: dteske > Date: Tue Jul 15 02:18:55 2014 > New Revision: 268641 > URL: http://svnweb.freebsd.org/changeset/base/268641 > > Log: > Fix an issue with service(8) where utilities such as screen(1) and tmux(1) > would behave differently when utilizi

svn commit: r268701 - in head/sys/amd64: include vmm vmm/intel

2014-07-15 Thread Neel Natu
Author: neel Date: Tue Jul 15 17:37:17 2014 New Revision: 268701 URL: http://svnweb.freebsd.org/changeset/base/268701 Log: Add support for operand size and address size override prefixes in bhyve's instruction emulation [1]. Fix bug in emulation of opcode 0x8A where the destination is a l

svn commit: r268693 - head/sys/arm/arm

2014-07-15 Thread Alan Cox
Author: alc Date: Tue Jul 15 17:16:06 2014 New Revision: 268693 URL: http://svnweb.freebsd.org/changeset/base/268693 Log: Actually set the "no execute" bit on 1 MB page mappings in pmap_protect(). Previously, the "no execute" bit was being set directly in the PTE, instead of the local variab

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

2014-07-15 Thread Kevin Lo
On Mon, Jul 14, 2014 at 03:21:11PM -0700, Eitan Adler wrote: > > On 13 July 2014 23:00, Kevin Lo wrote: > > Author: kevlo > > Date: Mon Jul 14 06:00:01 2014 > > New Revision: 268601 > > URL: http://svnweb.freebsd.org/changeset/base/268601 > > > > Log: > > Make bind(2) and connect(2) return EAFN

Re: svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-15 Thread Alan Cox
On 07/15/2014 09:01, John Baldwin wrote: > On Monday, July 14, 2014 1:53:45 pm Konstantin Belousov wrote: >> On Mon, Jul 14, 2014 at 05:42:22PM +, Nathan Whitehorn wrote: >>> Author: nwhitehorn >>> Date: Mon Jul 14 17:42:22 2014 >>> New Revision: 268624 >>> URL: http://svnweb.freebsd.org/change

svn commit: r268672 - head/sys/x86/xen

2014-07-15 Thread John Baldwin
Author: jhb Date: Tue Jul 15 15:40:33 2014 New Revision: 268672 URL: http://svnweb.freebsd.org/changeset/base/268672 Log: Fix build with SMP disabled. CR: https://phabric.freebsd.org/D407 Reviewed by: royger Modified: head/sys/x86/xen/pv.c head/sys/x86/xen/xen_apic.c Modi

Re: svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-15 Thread John Baldwin
On Monday, July 14, 2014 1:53:45 pm Konstantin Belousov wrote: > On Mon, Jul 14, 2014 at 05:42:22PM +, Nathan Whitehorn wrote: > > Author: nwhitehorn > > Date: Mon Jul 14 17:42:22 2014 > > New Revision: 268624 > > URL: http://svnweb.freebsd.org/changeset/base/268624 > > > > Log: > > On my Le

Re: Phabric IDs / URLs in commits

2014-07-15 Thread John Baldwin
On Friday, July 11, 2014 1:54:42 pm Baptiste Daroussin wrote: > On Fri, Jul 11, 2014 at 12:38:23PM -0400, John Baldwin wrote: > > On Friday, July 11, 2014 12:16:26 pm John Baldwin wrote: > > > Author: jhb > > > Date: Fri Jul 11 16:16:26 2014 > > > New Revision: 268531 > > > URL: http://svnweb.freeb

Re: svn commit: r268660 - head/sys/amd64/amd64

2014-07-15 Thread John Baldwin
On Tuesday, July 15, 2014 9:52:20 am Ian Lepore wrote: > On Tue, 2014-07-15 at 09:30 +, Konstantin Belousov wrote: > > Author: kib > > Date: Tue Jul 15 09:30:43 2014 > > New Revision: 268660 > > URL: http://svnweb.freebsd.org/changeset/base/268660 > > > > Log: > > Make amd64 pmap_copy_pages(

Re: svn commit: r268660 - head/sys/amd64/amd64

2014-07-15 Thread Ian Lepore
On Tue, 2014-07-15 at 18:30 +0300, Konstantin Belousov wrote: > On Tue, Jul 15, 2014 at 07:52:20AM -0600, Ian Lepore wrote: > > > bcopy(a_cp, b_cp, cnt); > > > + if (__predict_false(pinned)) { > > > + sched_unpin(); > > > + mtx_unlock(&cpage_lock);

Re: svn commit: r268660 - head/sys/amd64/amd64

2014-07-15 Thread Konstantin Belousov
On Tue, Jul 15, 2014 at 07:52:20AM -0600, Ian Lepore wrote: > > bcopy(a_cp, b_cp, cnt); > > + if (__predict_false(pinned)) { > > + sched_unpin(); > > + mtx_unlock(&cpage_lock); > > + pinned = FALSE; > > Should this pinned

svn commit: r268671 - head/lib/libfetch

2014-07-15 Thread Baptiste Daroussin
Author: bapt Date: Tue Jul 15 15:29:43 2014 New Revision: 268671 URL: http://svnweb.freebsd.org/changeset/base/268671 Log: Add a comment to explain the EAGAIN is only there for POSIX compliance Resquested by:kib Reviewed by: des Modified: head/lib/libfetch/common.c Modified:

Re: svn commit: r268660 - head/sys/amd64/amd64

2014-07-15 Thread Ian Lepore
On Tue, 2014-07-15 at 09:30 +, Konstantin Belousov wrote: > Author: kib > Date: Tue Jul 15 09:30:43 2014 > New Revision: 268660 > URL: http://svnweb.freebsd.org/changeset/base/268660 > > Log: > Make amd64 pmap_copy_pages() functional for pages not mapped by DMAP. > > Requested and revie

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

2014-07-15 Thread Konstantin Belousov
Author: kib Date: Tue Jul 15 09:30:43 2014 New Revision: 268660 URL: http://svnweb.freebsd.org/changeset/base/268660 Log: Make amd64 pmap_copy_pages() functional for pages not mapped by DMAP. Requested and reviewed by:royger Tested by:pho, royger Sponsored by: The FreeBSD Founda