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

2019-05-12 Thread Enji Cooper
> On May 12, 2019, at 10:11 PM, Doug Moore wrote: > > I refer you to the discussion that began with that question from Cy > Schubert on Friday night. > > I apologize again for the brevity of my commit message. It’s quite all right. Unfortunately Cy’s mail client reads threading, so it’s

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

2019-05-12 Thread Enji Cooper
Hi Doug, > On May 10, 2019, at 7:13 PM, Doug Moore wrote: > > Author: dougm > Date: Sat May 11 02:13:52 2019 > New Revision: 347477 > URL: https://svnweb.freebsd.org/changeset/base/347477 > > Log: > Revert r347469. Why was the commit reverted? Thank you! -Enji

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

2019-05-12 Thread Enji Cooper
> On May 12, 2019, at 10:12 PM, Enji Cooper wrote: > > >> On May 12, 2019, at 10:11 PM, Doug Moore wrote: >> >> I refer you to the discussion that began with that question from Cy >> Schubert on Friday night. >> >> I apologize again for the brevity of my commit message. > > It’s quite all

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

2019-05-12 Thread Doug Moore
I refer you to the discussion that began with that question from Cy Schubert on Friday night. I apologize again for the brevity of my commit message. Doug Moore On 5/13/19 12:06 AM, Enji Cooper wrote: > Hi Doug, > >> On May 10, 2019, at 7:13 PM, Doug Moore wrote: >> >> Author: dougm >> Date:

svn commit: r347515 - head/sys/mips/conf

2019-05-12 Thread Mark Johnston
Author: markj Date: Mon May 13 01:18:17 2019 New Revision: 347515 URL: https://svnweb.freebsd.org/changeset/base/347515 Log: Catch up with r347241. MFC with: r347241 Modified: head/sys/mips/conf/std.AR_MIPS_BASE Modified: head/sys/mips/conf/std.AR_MIPS_BASE

svn commit: r347514 - in head/sys/riscv: include riscv

2019-05-12 Thread Ruslan Bukin
Author: br Date: Sun May 12 16:17:05 2019 New Revision: 347514 URL: https://svnweb.freebsd.org/changeset/base/347514 Log: Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC from SiFive, Inc. The first core on this SoC (hart 0) is a 64-bit microcontroller. o

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

2019-05-12 Thread Emmanuel Vadot
Author: manu Date: Sun May 12 15:27:01 2019 New Revision: 347512 URL: https://svnweb.freebsd.org/changeset/base/347512 Log: arm: allwinner: aw_clk_nm: Don't reparent the clock if we didn't ask When looking for the best frequency don't change the clock parent if the clock wasn't

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

2019-05-12 Thread Bruce Evans
On Sat, 11 May 2019, Doug Moore wrote: On 5/11/19 5:52 AM, Bruce Evans wrote: On Sat, 11 May 2019, Doug Moore wrote: +#ifdef HAVE_INLINE_FFS +?? case sizeof(int): +?? return (ffs(mask) - 1); +#endif This is unreachable, since sizeof(int) is 4 on all supported arches, and

svn commit: r347510 - head/sys/kern

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 07:56:01 2019 New Revision: 347510 URL: https://svnweb.freebsd.org/changeset/base/347510 Log: cache: fix a brainfart in r347505 If bumping over the counter goes over the limit we have to decrement it back. Previous code would only bump the counter after

svn commit: r347507 - head/sys/sys

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 07:13:25 2019 New Revision: 347507 URL: https://svnweb.freebsd.org/changeset/base/347507 Log: seqc: fix sed-introduced typos (seqcuence -> sequence) Sponsored by: The FreeBSD Foundation Modified: head/sys/sys/seqc.h Modified: head/sys/sys/seqc.h

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

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 07:11:44 2019 New Revision: 347506 URL: https://svnweb.freebsd.org/changeset/base/347506 Log: amd64: tidy up pagezero*/pagecopy (movq -> movl) Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/amd64/support.S Modified:

svn commit: r347505 - head/sys/kern

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 06:59:22 2019 New Revision: 347505 URL: https://svnweb.freebsd.org/changeset/base/347505 Log: cache: bump numcache on entry, while here fix lnumcache type Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/vfs_cache.c Modified:

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

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 06:42:17 2019 New Revision: 347504 URL: https://svnweb.freebsd.org/changeset/base/347504 Log: amd64: fixup MEMMOVE comment (10 -> r10) Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/amd64/support.S Modified: head/sys/amd64/amd64/support.S

svn commit: r347503 - head/sys/kern

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 06:39:30 2019 New Revision: 347503 URL: https://svnweb.freebsd.org/changeset/base/347503 Log: cache: push sdt probes in cache_zap_locked to code doing the work Avoids branching to check which probe to evaluate. Very same check was being done later to do the

svn commit: r347502 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include x86/include x86/x86

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 06:36:54 2019 New Revision: 347502 URL: https://svnweb.freebsd.org/changeset/base/347502 Log: x86: store pending bitmapped IPIs in per-cpu areas This gets rid of the global cpu_ipi_pending array. While replace cmpset with fcmpset in the delivery code and

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

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 06:34:58 2019 New Revision: 347501 URL: https://svnweb.freebsd.org/changeset/base/347501 Log: amd64: stop re-reading curpc in suword Plugs re-reads missed in r341719 Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/amd64/support.S

svn commit: r347500 - head/sys/libkern

2019-05-12 Thread Mateusz Guzik
Author: mjg Date: Sun May 12 06:32:46 2019 New Revision: 347500 URL: https://svnweb.freebsd.org/changeset/base/347500 Log: random(4): depessimize arc4random - __predict_false reseeding on entry as it is almost never true. - don't blindly atomic_cmpset as on x86 it ends up dirtying the