Re: svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-14 Thread Emmanuel Vadot
On 2018-06-15 04:04, Jonathan T. Looney wrote: On Thu, Jun 14, 2018 at 7:12 PM Olivier Houchard wrote: On Fri, Jun 15, 2018 at 12:23:36AM +0200, Emmanuel Vadot wrote: This brake module loading on armv7 and arm64 I think I fixed it with r335182. Jonathan probably missed it because modules ar

Re: svn commit: r335173 - head/sys/dev/extres/regulator

2018-06-14 Thread Michal Meloun
On 14.06.2018 22:37, Kyle Evans wrote: > Author: kevans > Date: Thu Jun 14 20:37:25 2018 > New Revision: 335173 > URL: https://svnweb.freebsd.org/changeset/base/335173 > > Log: > extres/regulator: Properly refcount gpio regulators > > regnode::enable_cnt is generally used to refcount reg

svn commit: r335189 - head/sbin/newfs_msdos

2018-06-14 Thread Xin LI
Author: delphij Date: Fri Jun 15 06:03:40 2018 New Revision: 335189 URL: https://svnweb.freebsd.org/changeset/base/335189 Log: Added option to cluster-align the start of the root directory. Obtained from:Android Obtained from: https://android.googlesource.com/platform/syst

Re: svn commit: r335177 - in head/sys: compat/freebsd32 compat/linux i386/ibcs2 kern vm

2018-06-14 Thread Bruce Evans
On Thu, 14 Jun 2018, Brooks Davis wrote: ... Log: Name the implementation of brk and sbrk sys_break(). This API was actually named brk(2). Now brk(2) doesn't actually give this API. brk(2) doesn't exist in libc. Only brk(3) exists. It calls the actual brk(2) and adds complications. brk(3) d

svn commit: r335188 - head/usr.bin/grep

2018-06-14 Thread Kyle Evans
Author: kevans Date: Fri Jun 15 03:31:30 2018 New Revision: 335188 URL: https://svnweb.freebsd.org/changeset/base/335188 Log: bsdgrep(1): Remove redundant initialization; unconditionally assigned later Modified: head/usr.bin/grep/util.c Modified: head/usr.bin/grep/util.c

svn commit: r335187 - head/sys/dev/ofw

2018-06-14 Thread Justin Hibbits
Author: jhibbits Date: Fri Jun 15 03:28:05 2018 New Revision: 335187 URL: https://svnweb.freebsd.org/changeset/base/335187 Log: ofw_reg_to_paddr(): Fix minor typo in KASSERT message Modified: head/sys/dev/ofw/ofw_subr.c Modified: head/sys/dev/ofw/ofw_subr.c ==

Re: svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-14 Thread Jonathan T. Looney
On Thu, Jun 14, 2018 at 7:12 PM Olivier Houchard wrote: > On Fri, Jun 15, 2018 at 12:23:36AM +0200, Emmanuel Vadot wrote: > > This brake module loading on armv7 and arm64 > > I think I fixed it with r335182. > Jonathan probably missed it because modules are differnt on amd64 (and > mips), and th

svn commit: r335186 - head/sys/dev/coretemp

2018-06-14 Thread Matt Macy
Author: mmacy Date: Fri Jun 15 02:28:36 2018 New Revision: 335186 URL: https://svnweb.freebsd.org/changeset/base/335186 Log: Quiet coretemp probe Only the first device will print coretemp0: numa-domain 0 on cpu0 instead of all hyper threads Submitted by: kbowling Reviewed by: i

svn commit: r335183 - head/sys/kern

2018-06-14 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 15 00:36:41 2018 New Revision: 335183 URL: https://svnweb.freebsd.org/changeset/base/335183 Log: proc0_post: Fix some locking issues - Filter out PRS_NEW procs as rufetch() tries taking the thread lock which may not yet be initialized. - Hold PROC_LOCK t

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

2018-06-14 Thread Matthew Macy
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 2d6dc845938..35bcad41a59 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -2175,6 +2175,7 @@ soreceive_stream(struct socket *so, struct sockaddr **psa, struct uio *uio, struct sockbuf *sb; struct m

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

2018-06-14 Thread Alan Cox
> On Jun 14, 2018, at 6:07 PM, Alan Cox wrote: > > >> On Jun 14, 2018, at 5:54 PM, Steven Hartland >> mailto:steven.hartl...@multiplay.co.uk>> >> wrote: >> >> Out of interest, how would this exhibit itself? >> > > A panic in vm_page_insert_after(). > I should add that a non-debug kernel

Re: svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-14 Thread Olivier Houchard
Hi, On Fri, Jun 15, 2018 at 12:23:36AM +0200, Emmanuel Vadot wrote: > > Hi Jonathan, > [...] > This brake module loading on armv7 and arm64 > kevans log on armv7 : > https://gist.github.com/kevans91/d0ffcd6c94a0e4cdfdc5433612fce2e8 > mine on arm64 : http://dpaste.com/3VVBZDV > > Do you ha

svn commit: r335182 - head/sys/kern

2018-06-14 Thread Olivier Houchard
Author: cognet Date: Thu Jun 14 23:10:10 2018 New Revision: 335182 URL: https://svnweb.freebsd.org/changeset/base/335182 Log: Use M_EXEC when calling malloc() to allocate the memory to store the module, as it'll contain executable code. Modified: head/sys/kern/link_elf.c Modified: head/sys

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

2018-06-14 Thread Alan Cox
> On Jun 14, 2018, at 5:54 PM, Steven Hartland > wrote: > > Out of interest, how would this exhibit itself? > A panic in vm_page_insert_after(). > On 14/06/2018 20:41, Konstantin Belousov wrote: >> Author: kib >> Date: Thu Jun 14 19:41:02 2018 >> New Revision: 335171 >> URL: https://svnweb.

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

2018-06-14 Thread Gleb Smirnoff
Hi, On Mon, Jun 11, 2018 at 04:31:43PM +, Matt Macy wrote: M> Author: mmacy M> Date: Mon Jun 11 16:31:42 2018 M> New Revision: 334960 M> URL: https://svnweb.freebsd.org/changeset/base/334960 M> M> Log: M> soreceive_stream: correctly handle edge cases M> M> - non NULL controlp is not

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

2018-06-14 Thread Steven Hartland
Out of interest, how would this exhibit itself? On 14/06/2018 20:41, Konstantin Belousov wrote: Author: kib Date: Thu Jun 14 19:41:02 2018 New Revision: 335171 URL: https://svnweb.freebsd.org/changeset/base/335171 Log: Handle the race between fork/vm_object_split() and faults. If faul

svn commit: r335181 - head/sbin/devmatch

2018-06-14 Thread John Baldwin
Author: jhb Date: Thu Jun 14 22:31:30 2018 New Revision: 335181 URL: https://svnweb.freebsd.org/changeset/base/335181 Log: Exit with an error if a linker hints file can't be found. Continuing with a NULL hints variable just triggers a segfault later on. The other error cases in this funct

svn commit: r335180 - in head/sys/netinet: . tcp_stacks

2018-06-14 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 14 22:25:10 2018 New Revision: 335180 URL: https://svnweb.freebsd.org/changeset/base/335180 Log: TCPOUTFLAGS no longer exists since r334843. Modified: head/sys/netinet/tcp_hpts.c head/sys/netinet/tcp_offload.c head/sys/netinet/tcp_output.c head/sys/netinet/

Re: svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-14 Thread Emmanuel Vadot
Hi Jonathan, On Wed, 13 Jun 2018 17:04:42 + (UTC) "Jonathan T. Looney" wrote: > Author: jtl > Date: Wed Jun 13 17:04:41 2018 > New Revision: 335068 > URL: https://svnweb.freebsd.org/changeset/base/335068 > > Log: > Make UMA and malloc(9) return non-executable memory in most cases. >

svn commit: r335179 - head/sys/netinet

2018-06-14 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 14 21:30:52 2018 New Revision: 335179 URL: https://svnweb.freebsd.org/changeset/base/335179 Log: Provide the ip6_plen in network byte order when calling ip6_output(). This is not strictly required by ip6_output(), since it overrides it, but it is needed for up

svn commit: r335178 - in head/sys: compat/freebsd32 i386/ibcs2 kern sys

2018-06-14 Thread Brooks Davis
Author: brooks Date: Thu Jun 14 21:29:31 2018 New Revision: 335178 URL: https://svnweb.freebsd.org/changeset/base/335178 Log: Regen after 335177 (rename sys_obreak to sys_break). Modified: head/sys/compat/freebsd32/freebsd32_sysent.c head/sys/compat/freebsd32/freebsd32_systrace_args.c hea

svn commit: r335177 - in head/sys: compat/freebsd32 compat/linux i386/ibcs2 kern vm

2018-06-14 Thread Brooks Davis
Author: brooks Date: Thu Jun 14 21:27:25 2018 New Revision: 335177 URL: https://svnweb.freebsd.org/changeset/base/335177 Log: Name the implementation of brk and sbrk sys_break(). The break() system call was renamed (several times) starting in v3 AT&T UNIX when C was invented and break was

svn commit: r335176 - head/sys/netinet

2018-06-14 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 14 21:22:14 2018 New Revision: 335176 URL: https://svnweb.freebsd.org/changeset/base/335176 Log: Whitespace changes. Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c

svn commit: r335175 - head/usr.sbin/nfsd

2018-06-14 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 14 21:12:08 2018 New Revision: 335175 URL: https://svnweb.freebsd.org/changeset/base/335175 Log: Add a new man page that briefly describes the pNFS variant of the NFSv4.1 protocol. This is a content change. Added: head/usr.sbin/nfsd/pnfs.4 (contents, pr

svn commit: r335174 - head/usr.sbin/nfsd

2018-06-14 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 14 20:55:33 2018 New Revision: 335174 URL: https://svnweb.freebsd.org/changeset/base/335174 Log: Document the "-p" and "-m" options added to nfsd.c by r335172. This is a content change. Modified: head/usr.sbin/nfsd/nfsd.8 Modified: head/usr.sbin/nfsd/nfsd.

svn commit: r335173 - head/sys/dev/extres/regulator

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 20:37:25 2018 New Revision: 335173 URL: https://svnweb.freebsd.org/changeset/base/335173 Log: extres/regulator: Properly refcount gpio regulators regnode::enable_cnt is generally used to refcount regulator nodes. For GPIOs, the refcount was done on the gpio

svn commit: r335172 - head/usr.sbin/nfsd

2018-06-14 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 14 20:36:55 2018 New Revision: 335172 URL: https://svnweb.freebsd.org/changeset/base/335172 Log: Add the "-p" and "-m" options to nfsd.c for the pNFS service. The "-p" option specifies that the nfsd should run a pNFS service instead of a regular NFS service.

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

2018-06-14 Thread Konstantin Belousov
On Thu, Jun 14, 2018 at 07:41:02PM +, Konstantin Belousov wrote: > Author: kib > Date: Thu Jun 14 19:41:02 2018 > New Revision: 335171 > URL: https://svnweb.freebsd.org/changeset/base/335171 > > Log: > Handle the race between fork/vm_object_split() and faults. > > If fault started befor

svn commit: r335171 - head/sys/vm

2018-06-14 Thread Konstantin Belousov
Author: kib Date: Thu Jun 14 19:41:02 2018 New Revision: 335171 URL: https://svnweb.freebsd.org/changeset/base/335171 Log: Handle the race between fork/vm_object_split() and faults. If fault started before vmspace_fork() locked the map, and then during fork, vm_map_copy_entry()->vm_object

Re: svn commit: r335159 - head/sys/dev/flash

2018-06-14 Thread Emmanuel Vadot
On Thu, 14 Jun 2018 20:40:14 +0200 "O. Hartmann" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Am Thu, 14 Jun 2018 17:21:09 + (UTC) > Emmanuel Vadot schrieb: > > > Author: manu > > Date: Thu Jun 14 17:21:09 2018 > > New Revision: 335159 > > URL: https://svnweb.freebsd.org/

svn commit: r335170 - head/sys/dev/flash

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 19:01:40 2018 New Revision: 335170 URL: https://svnweb.freebsd.org/changeset/base/335170 Log: mx25l: compat_data is only defined when FDT is Reported by: O. Hartmann Modified: head/sys/dev/flash/mx25l.c Modified: head/sys/dev/flash/mx25l.c ===

Re: svn commit: r335159 - head/sys/dev/flash

2018-06-14 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Thu, 14 Jun 2018 17:21:09 + (UTC) Emmanuel Vadot schrieb: > Author: manu > Date: Thu Jun 14 17:21:09 2018 > New Revision: 335159 > URL: https://svnweb.freebsd.org/changeset/base/335159 > > Log: > mx25l: Add pnp info > > Modified: > hea

svn commit: r335168 - head/sys/arm/allwinner

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 18:34:02 2018 New Revision: 335168 URL: https://svnweb.freebsd.org/changeset/base/335168 Log: a10_ahci: Correct clock indices for new bindings r329104 imported 4.15 DTS which brought CCU to a10/a20. In the process, they swapped the ordering of 'clocks' for

svn commit: r335165 - in head/sys/arm/allwinner: a10 a20 clkng

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 17:50:29 2018 New Revision: 335165 URL: https://svnweb.freebsd.org/changeset/base/335165 Log: aw_ccung: Add a10/a20 support Note: At this time, this has only been tested on a single board from one of the supported SoCs. This is enough to boot the board from

svn commit: r335162 - head/sys/arm/allwinner/clkng

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 17:36:02 2018 New Revision: 335162 URL: https://svnweb.freebsd.org/changeset/base/335162 Log: aw_ccung: Support clock factors where factor=0, factor is effectively 1 This happens in two cases for a20 clocks: pll_core for 'n' factor: factor=0, val=1 f

Re: svn commit: r335156 - head/sys/arm/arm

2018-06-14 Thread Emmanuel Vadot
On Thu, 14 Jun 2018 12:26:38 -0500 Kyle Evans wrote: > On Thu, Jun 14, 2018 at 12:18 PM, Emmanuel Vadot wrote: > > Author: manu > > Date: Thu Jun 14 17:18:15 2018 > > New Revision: 335156 > > URL: https://svnweb.freebsd.org/changeset/base/335156 > > > > Log: > > arm timer: Add workaround for A

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

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:32:23 2018 New Revision: 335161 URL: https://svnweb.freebsd.org/changeset/base/335161 Log: arm timer: Use the default get_cntxct by default Reported by: kevans Modified: head/sys/arm/arm/generic_timer.c Modified: head/sys/arm/arm/generic_timer.c ===

Re: svn commit: r335156 - head/sys/arm/arm

2018-06-14 Thread Kyle Evans
On Thu, Jun 14, 2018 at 12:18 PM, Emmanuel Vadot wrote: > Author: manu > Date: Thu Jun 14 17:18:15 2018 > New Revision: 335156 > URL: https://svnweb.freebsd.org/changeset/base/335156 > > Log: > arm timer: Add workaround for Allwinner A64 timer > > The timer present in allwinner A64 SoC is unst

svn commit: r335160 - in head/sys: conf powerpc/aim powerpc/include

2018-06-14 Thread Justin Hibbits
Author: jhibbits Date: Thu Jun 14 17:23:51 2018 New Revision: 335160 URL: https://svnweb.freebsd.org/changeset/base/335160 Log: Split the PowerISA 3.0 HPT implementation from historic PowerISA 3.0 makes several changes to not only the format of the HPT but also the behavior surrounding it

svn commit: r335159 - head/sys/dev/flash

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:21:09 2018 New Revision: 335159 URL: https://svnweb.freebsd.org/changeset/base/335159 Log: mx25l: Add pnp info Modified: head/sys/dev/flash/mx25l.c Modified: head/sys/dev/flash/mx25l.c ==

svn commit: r335158 - head/sys/dev/spibus

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:20:47 2018 New Revision: 335158 URL: https://svnweb.freebsd.org/changeset/base/335158 Log: spi: Add SPIBUS_PNP_INFO macro The PNP info string is the same as the SIMPLEBUS one but driver should depend on spibus and not simplebus Modified: head/sys/dev/sp

svn commit: r335157 - head/sys/arm/allwinner

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:19:44 2018 New Revision: 335157 URL: https://svnweb.freebsd.org/changeset/base/335157 Log: aw_spi: Add pnp info Modified: head/sys/arm/allwinner/aw_spi.c Modified: head/sys/arm/allwinner/aw_spi.c ===

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

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:18:15 2018 New Revision: 335156 URL: https://svnweb.freebsd.org/changeset/base/335156 Log: arm timer: Add workaround for Allwinner A64 timer The timer present in allwinner A64 SoC is unstable, value can jump backward or forward. It was found that when bi

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-14 Thread John Baldwin
On 6/13/18 10:21 PM, Warner Losh wrote: > > > On Wed, Jun 13, 2018 at 10:57 PM, Rodney W. Grimes > mailto:free...@pdx.rh.cn85.dnsmgr.net>> > wrote: > > [ Charset UTF-8 unsupported, converting... ] > > Actually, that file (nvmecontrol_ext.h) is completely new. I'm not sure > why >

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

2018-06-14 Thread Kenneth D. Merry
Author: ken Date: Thu Jun 14 17:08:44 2018 New Revision: 335154 URL: https://svnweb.freebsd.org/changeset/base/335154 Log: Fix da(4) locking when probing SMR drives. Probing host aware and host managed SMR drives got broken in revision 330796. The added cam_periph_lock() calls were i

svn commit: r335148 - head/stand/libsa

2018-06-14 Thread Toomas Soome
Author: tsoome Date: Thu Jun 14 16:11:50 2018 New Revision: 335148 URL: https://svnweb.freebsd.org/changeset/base/335148 Log: libsa: open() should use NULL instead of typecasted 0 Modified: head/stand/libsa/open.c Modified: head/stand/libsa/open.c

svn commit: r335147 - in head/etc: devd rc.d

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 16:09:29 2018 New Revision: 335147 URL: https://svnweb.freebsd.org/changeset/base/335147 Log: devmatch: Address some rc nits - devmatch_enable in rc.conf(5) was not gating the start of devmatch - Use quietstart in devd/devmatch to suppress dozens of 'Can

svn commit: r335146 - head/sys/powerpc/aim

2018-06-14 Thread Justin Hibbits
Author: jhibbits Date: Thu Jun 14 16:01:11 2018 New Revision: 335146 URL: https://svnweb.freebsd.org/changeset/base/335146 Log: Fix CTR formatting for moea64_native bootstrap On very large memory systems 'size' can become 2GB or larger, resulting in a negative value being formatted. Also

svn commit: r335145 - head/tests/sys/audit

2018-06-14 Thread Alan Somers
Author: asomers Date: Thu Jun 14 15:04:49 2018 New Revision: 335145 URL: https://svnweb.freebsd.org/changeset/base/335145 Log: audit(4): add tests for fhopen, fhstat, and fhstatfs Submitted by: aniketp MFC after:2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision:

svn commit: r335144 - head/sys/net

2018-06-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 14 15:04:30 2018 New Revision: 335144 URL: https://svnweb.freebsd.org/changeset/base/335144 Log: Add missing BPF_MTAP2() for outbound packets. Modified: head/sys/net/if_me.c Modified: head/sys/net/if_me.c ==

svn commit: r335141 - head/sys/net

2018-06-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 14 14:53:24 2018 New Revision: 335141 URL: https://svnweb.freebsd.org/changeset/base/335141 Log: Convert if_me(4) driver to use encap_lookup_t method and be lockless on data path. Modified: head/sys/net/if_me.c Modified: head/sys/net/if_me.c ===

svn commit: r335140 - head/tests/sys/audit

2018-06-14 Thread Alan Somers
Author: asomers Date: Thu Jun 14 14:53:01 2018 New Revision: 335140 URL: https://svnweb.freebsd.org/changeset/base/335140 Log: audit(4): fix typo from r335136 Typo in Makefile accidentally disabled some older tests MFC after:2 weeks X-MFC-With: 335136 Modified: head/tests/sy

Re: svn commit: r335042 - head/usr.bin/top

2018-06-14 Thread Warner Losh
On Thu, Jun 14, 2018 at 6:10 AM, Eitan Adler wrote: > > I do see some people adding their Copyright on some commits but overall > > we haven't done that as a project and I am curious if we should change > > in that regard. > > The rule of them is about 25% of the file, right? > The law that moti

svn commit: r335136 - head/tests/sys/audit

2018-06-14 Thread Alan Somers
Author: asomers Date: Thu Jun 14 13:42:58 2018 New Revision: 335136 URL: https://svnweb.freebsd.org/changeset/base/335136 Log: audit(4): add tests for flock, fcntl, and fsync Submitted by: aniketp MFC after:2 weeks Sponsored by: Google, Inc (GSoC 2018) Differential Revision:

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Hans Petter Selasky
On 06/14/18 14:21, Bruce Evans wrote: Eventually the leak breaks uniqueness of hard-coded Linux major numbers. Like already said, the major and minor numbers are internal to the LinuxKPI and devfs is not aware about them, and nor anything in user-space. --HPS

Re: svn commit: r333945 - head/usr.bin/top

2018-06-14 Thread Bruce Evans
On Thu, 14 Jun 2018, Eitan Adler wrote: On 10 June 2018 at 09:26, Alexey Dokuchaev wrote: On Sun, Jun 10, 2018 at 08:56:24AM -0700, Eitan Adler wrote: On 10 June 2018 at 05:28, Alexey Dokuchaev wrote: I've just tried the latest top(1). Now it's even worse: ... Also, it is COMMA now. Can w

Re: svn commit: r333945 - head/usr.bin/top

2018-06-14 Thread Alexey Dokuchaev
On Thu, Jun 14, 2018 at 05:12:09AM -0700, Eitan Adler wrote: > On 10 June 2018 at 09:26, Alexey Dokuchaev wrote: > > On Sun, Jun 10, 2018 at 08:56:24AM -0700, Eitan Adler wrote: > >> On 10 June 2018 at 05:28, Alexey Dokuchaev wrote: > >> > I've just tried the latest top(1). Now it's even worse:

svn commit: r335135 - head/sys/amd64/linux

2018-06-14 Thread Konstantin Belousov
Author: kib Date: Thu Jun 14 12:35:57 2018 New Revision: 335135 URL: https://svnweb.freebsd.org/changeset/base/335135 Log: linuxolator/amd64: Don't mangle %r10 on return from syscall for EJUSTRETURN. This fixes the %r10 content for rt_sigreturn. Submitted by: Yanko Yankulov MFC afte

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Bruce Evans
On Thu, 14 Jun 2018, Hans Petter Selasky wrote: On 06/14/18 10:46, Bruce Evans wrote: Are these macros for conversion of host (FreeBSD) dev_t's or target (Linux) ones??? If for the host, then I don't see any reason not to use the host APIs. If for the target, then they shouldn't be used with t

svn commit: r335134 - head/usr.bin/top

2018-06-14 Thread Eitan Adler
Author: eadler Date: Thu Jun 14 12:14:51 2018 New Revision: 335134 URL: https://svnweb.freebsd.org/changeset/base/335134 Log: top(1): remove myself from top.1 I wrote some, but not enough for the man page. Modified: head/usr.bin/top/top.1 Modified: head/usr.bin/top/top.1 ===

Re: svn commit: r333945 - head/usr.bin/top

2018-06-14 Thread Eitan Adler
On 10 June 2018 at 09:26, Alexey Dokuchaev wrote: > On Sun, Jun 10, 2018 at 08:56:24AM -0700, Eitan Adler wrote: >> On 10 June 2018 at 05:28, Alexey Dokuchaev wrote: >> > I've just tried the latest top(1). Now it's even worse: >> > ... >> > Also, it is COMMA now. Can we please do something abou

Re: svn commit: r335042 - head/usr.bin/top

2018-06-14 Thread Eitan Adler
On 13 June 2018 at 17:01, Bryan Drewery wrote: > On 6/13/2018 1:52 AM, Eitan Adler wrote: >> Author: eadler >> Date: Wed Jun 13 08:52:19 2018 >> New Revision: 335042 >> URL: https://svnweb.freebsd.org/changeset/base/335042 >> >> Log: >> top(1): add myself to authors >> >> At this point I've mu

Re: svn commit: r334869 - head/usr.bin/top

2018-06-14 Thread Eitan Adler
On 14 June 2018 at 02:27, Tijl Coosemans wrote: ... > > You need to replace PID with %s here as well. Thanks. I also need to change it in io_header and roll this into my header rewrite. -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams

svn commit: r335133 - head/sys/netinet/libalias

2018-06-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 14 11:15:39 2018 New Revision: 335133 URL: https://svnweb.freebsd.org/changeset/base/335133 Log: In m_megapullup() use m_getjcl() to allocate 9k or 16k mbuf when requested. It is better to try allocate a big mbuf, than just silently drop a big packet. A better sol

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

2018-06-14 Thread Konstantin Belousov
Author: kib Date: Thu Jun 14 11:09:51 2018 New Revision: 335132 URL: https://svnweb.freebsd.org/changeset/base/335132 Log: Reorganize code flow in fpudna()/npxdna() to highlight the critical section scope. Sprinkle __predict_false() for conditions known to never occur or occur only on rare

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Hans Petter Selasky
On 06/14/18 10:46, Bruce Evans wrote: Are these macros for conversion of host (FreeBSD) dev_t's or target (Linux) ones?  If for the host, then I don't see any reason not to use the host APIs. If for the target, then they shouldn't be used with the host dev_t.  If for a mixture, then the transla

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

2018-06-14 Thread Konstantin Belousov
Author: kib Date: Thu Jun 14 10:33:26 2018 New Revision: 335131 URL: https://svnweb.freebsd.org/changeset/base/335131 Log: Remove printf() in #NM handler. Give up and remove the almost useless informational message reporting that device not available exception occured while our state trac

svn commit: r335130 - in head/sys/fs: nfs nfsclient

2018-06-14 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 14 10:00:19 2018 New Revision: 335130 URL: https://svnweb.freebsd.org/changeset/base/335130 Log: Move four functions in nfscl.ko to nfscommon.ko. Four functions nfscl_reqstart(), nfscl_fillsattr(), nfsm_stateidtom() and nfsmnt_mdssession() are now called fro

svn commit: r335129 - head/sys/netinet6

2018-06-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 14 09:36:25 2018 New Revision: 335129 URL: https://svnweb.freebsd.org/changeset/base/335129 Log: Add NULL check like the rest of code has. It is possible that ifma_protospec becomes NULL in this function for some entry, but it is still referenced and thus it will

Re: svn commit: r334869 - head/usr.bin/top

2018-06-14 Thread Tijl Coosemans
On Sat, 9 Jun 2018 02:47:02 + (UTC) Eitan Adler wrote: > Author: eadler > Date: Sat Jun 9 02:47:02 2018 > New Revision: 334869 > URL: https://svnweb.freebsd.org/changeset/base/334869 > > Log: > top(1): correct header, align it. > > THR is always 6 digits or longer. Now that the PID/TH

svn commit: r335128 - head/sys/netinet6

2018-06-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 14 09:29:39 2018 New Revision: 335128 URL: https://svnweb.freebsd.org/changeset/base/335128 Log: Remove stale comment. in6_ifdetach() can be called from places where addresses are not removed yet. Modified: head/sys/netinet6/in6_ifattach.c Modified: head/sys/netin

svn commit: r335127 - head/stand/libsa

2018-06-14 Thread Toomas Soome
Author: tsoome Date: Thu Jun 14 09:10:34 2018 New Revision: 335127 URL: https://svnweb.freebsd.org/changeset/base/335127 Log: libsa: remobe unneeded check before free() free() is checking for NULL, remove duplicate check. Modified: head/stand/libsa/close.c Modified: head/stand/libsa/clo

svn commit: r335126 - head/stand/libsa

2018-06-14 Thread Toomas Soome
Author: tsoome Date: Thu Jun 14 09:06:53 2018 New Revision: 335126 URL: https://svnweb.freebsd.org/changeset/base/335126 Log: libsa: f_rabuf could be NULL It is possible that we will not get RA buffer from open(), therefore we must validate RA. Modified: head/stand/libsa/read.c Modifi

svn commit: r335125 - head/stand/libsa

2018-06-14 Thread Toomas Soome
Author: tsoome Date: Thu Jun 14 08:58:10 2018 New Revision: 335125 URL: https://svnweb.freebsd.org/changeset/base/335125 Log: libsa: cstyle cleanup for open/close/read/write sources Modified: head/stand/libsa/close.c head/stand/libsa/open.c head/stand/libsa/read.c head/stand/libsa/write

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Bruce Evans
On Thu, 14 Jun 2018, Hans Petter Selasky wrote: On 06/14/18 02:03, Matthew Macy wrote: On Wed, Jun 13, 2018 at 4:47 PM, Ryan Libby wrote: On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: Author: mmacy Date: Wed Jun 13 23:30:54 2018 New Revision: 335094 URL: https://svnweb.freebsd.org/chang

Re: svn commit: r335053 - in head/sys: compat/freebsd32 compat/linux fs/nfsclient kern sys

2018-06-14 Thread Bruce Evans
On Thu, 14 Jun 2018, Hans Petter Selasky wrote: On 06/13/18 14:22, Bruce Evans wrote: [... inlines for makedev(), etc.] Can you use all macros here? This breaks OFED, because __makedev() is used to initialize variables. See another reply. I will change them to macros and fear breaking the

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Bruce Evans
On Wed, 13 Jun 2018, Matthew Macy wrote: On Wed, Jun 13, 2018 at 4:47 PM, Ryan Libby wrote: On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: Author: mmacy Date: Wed Jun 13 23:30:54 2018 New Revision: 335094 URL: https://svnweb.freebsd.org/changeset/base/335094 Log: fix OFED build after r

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

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 07:59:47 2018 New Revision: 335124 URL: https://svnweb.freebsd.org/changeset/base/335124 Log: rk_i2c: Add manpage for this driver Added: head/share/man/man4/rk_i2c.4 (contents, props changed) Modified: head/share/man/man4/Makefile Modified: head/share/man/ma

Re: svn commit: r335053 - in head/sys: compat/freebsd32 compat/linux fs/nfsclient kern sys

2018-06-14 Thread Hans Petter Selasky
On 06/14/18 09:29, Hans Petter Selasky wrote: On 06/13/18 14:22, Bruce Evans wrote: +/* + * The major and minor numbers are encoded in dev_t as MMMmmmMm (where + * letters correspond to bytes).  The encoding of the lower 4 bytes is + * constrained by compatibility with 16-bit and 32-bit dev_t's.

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Hans Petter Selasky
On 06/14/18 09:26, Hans Petter Selasky wrote: On 06/14/18 02:03, Matthew Macy wrote: On Wed, Jun 13, 2018 at 4:47 PM, Ryan Libby wrote: On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: Author: mmacy Date: Wed Jun 13 23:30:54 2018 New Revision: 335094 URL: https://svnweb.freebsd.org/changese

svn commit: r335123 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 14 07:55:10 2018 New Revision: 335123 URL: https://svnweb.freebsd.org/changeset/base/335123 Log: Revert r335094 and properly fix OFED build after r335053. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/infiniband/

Re: svn commit: r335053 - in head/sys: compat/freebsd32 compat/linux fs/nfsclient kern sys

2018-06-14 Thread Hans Petter Selasky
On 06/13/18 14:22, Bruce Evans wrote: +/* + * The major and minor numbers are encoded in dev_t as MMMmmmMm (where + * letters correspond to bytes). The encoding of the lower 4 bytes is + * constrained by compatibility with 16-bit and 32-bit dev_t's. The + * encoding of of the upper 4 bytes is t

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-14 Thread Poul-Henning Kamp
In message , Warner Losh writes: >The year of first publication of the work; Please be aware that "year of first publicaiton of the work" is a surprising tricky legal concept, because neither "first", "publication" or "the work" means what a normal or sane person would expect. >But th

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-14 Thread Hans Petter Selasky
On 06/14/18 02:03, Matthew Macy wrote: On Wed, Jun 13, 2018 at 4:47 PM, Ryan Libby wrote: On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: Author: mmacy Date: Wed Jun 13 23:30:54 2018 New Revision: 335094 URL: https://svnweb.freebsd.org/changeset/base/335094 Log: fix OFED build after r33

svn commit: r335121 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/gpio include/dt-bindings/input include/dt-bindings/media include/dt-bindings/mfd include/dt-bindings/net...

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 07:12:10 2018 New Revision: 335121 URL: https://svnweb.freebsd.org/changeset/base/335121 Log: dts: Update our copy to Linux 4.17 Added: - copied unchanged from r335118, vendor/device-tree/dist/src/arm/am335x-pdu001.dts - copied unchanged from r335118, v