r354618 dougm Nov. 11, 2019, 4:59 p.m.
exploits the sparsity of allocated blocks in a range, without
issuing an "are you there?" query for every block in the range.
swap_pager_copy() is not so smart.  Modify the implementation
of swap_pager_meta_free() slightly so that swap_pager_copy()
can use that smarter implementation too.

Based on an observation of: Yoshihiro Ota (ota_j.email.ne.jp)
Reviewed by: kib,alc
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D22280
r354607 glebius Nov. 11, 2019, 6:28 a.m.
to the PCB hash.  The function doesn't modify the hash. It always
asserted write lock historically, but with epoch conversion this
fails in some special cases.

Reviewed by:	rwatson, bz
Reported-by:	syzbot+0b0488ca537e20cb2429@syzkaller.appspotmail.com
r354606 jasone Nov. 11, 2019, 5:06 a.m.
Compilation fails for non-llvm-based platforms.
r354605 jasone Nov. 11, 2019, 3:27 a.m.
r354604 mhorne Nov. 11, 2019, 1:39 a.m.
The Linux dts for the HiFive Unleashed does not contain the usual
"riscv,plic0" compat string, but our PLIC driver is compatible.

MFC after:	1 week
r354603 mhorne Nov. 11, 2019, 1:35 a.m.
The maximum number of PLIC interrupts is defined in the PLIC spec[1]
as 1024.

[1] https://github.com/riscv/riscv-plic-spec/blob/master/riscv-plic.adoc

MFC after:	1 week
r354602 cognet Nov. 11, 2019, 12:21 a.m.
When reporting a process' stats, we can't just provide the tty as an
unsigned long, as if we have no controlling tty, the tty would be NODEV, or
-1. Instaed, just special-case NODEV.

Submitted by:	Juraj Lutter <otis@sk.FreeBSD.org>
MFC after:	1 week
r354601 jhibbits Nov. 10, 2019, 10:08 p.m.
Don't depend on CPUTYPE to define powerpcspe CFLAGS, they should be set
unconditionally.  This reduces duplication.  Also, set some CFLAGS as
gcc-only, because clang's SPE support always uses the SPE ABI, it's not an
optional feature.
r354600 jhibbits Nov. 10, 2019, 8:36 p.m.
-mspe=yes/no was deprecated even before GCC 4.2.1 in favor of
-mspe/-mno-spe.  Clang only supports -mspe/-mno-spe.
r354597 mav Nov. 10, 2019, 6:07 p.m.
Submitted by:	rpokala@
MFC after:	2 weeks
r354595 delphij Nov. 10, 2019, 5 p.m.
MFC after:	3 days
r354594 tsoome Nov. 10, 2019, 3:07 p.m.
Hopefully it is a bit more clear this way.
r354593 tsoome Nov. 10, 2019, 3:03 p.m.
We need to free the allocated buffer for label.
r354592 kib Nov. 10, 2019, 10:03 a.m.
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
r354591 kib Nov. 10, 2019, 9:41 a.m.
Reviewed by:	cem, jhb
Discussed with:	alc, scottph
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D22007