NextBSD/src 535af35. Makefile.libcompat, etc/rc.d Makefile

Revert "Make NextBSD build in 2019"
DeltaFile
+5-5usr.bin/migcom/Makefile
+6-0etc/rc.d/Makefile
+1-1usr.bin/Makefile
+0-1Makefile.libcompat
+12-74 files

NextBSD/src 4b335db. Makefile.libcompat, etc/rc.d Makefile

Merge pull request #50 from saper/nextbsd-2019

Revisit Makefiles and buildconfigs, to make a successful build again
DeltaFile
+5-5usr.bin/migcom/Makefile
+0-6etc/rc.d/Makefile
+1-1usr.bin/Makefile
+1-0Makefile.libcompat
+7-124 files

NextBSD/src 475df07etc/rc.d Makefile

Disconnect sendmail from rc.d distribution
DeltaFile
+0-6etc/rc.d/Makefile
+0-61 files

NextBSD/src ea5c453. Makefile.libcompat

Provide MACHINE_INCLUDES for lib32
DeltaFile
+1-0Makefile.libcompat
+1-01 files

NextBSD/src 3745f74usr.bin Makefile

Drop lint from build
DeltaFile
+1-1usr.bin/Makefile
+1-11 files

NextBSD/src e5c298busr.bin/migcom Makefile

migcom: do not include <machine/_types.h> from the build system

r329165 moved __va_list from <machine/_types.h> to <sys/_types.h>
and its definition is not present in our "${.OBJDIR}../../sys/sys/_types.h" either.

Since we improperly include <machine/_types.h> from the build machine, we
get it from neither header and the build fails:

--- parser.o ---
cc -O2 -pipe  -I/usr/home/saper/src/nextbsd/usr.bin/migcom -I/usr/home/saper/src/nextbsd/usr.bin/migcom/shims -I/usr/home/saper/src/nextbsd/usr.bin/migcom/../../include -I/usr/home/saper/src/nextbsd/usr.bin/migcom/../../sys -DYY_NO_UNPUT -g -MD  -MF.depend.parser.o -MTparser.o -std=gnu99  -Qunused-arguments  -I/build/obj/nextbsd/usr/home/saper/src/nextbsd/tmp/legacy/usr/include -c parser.c -o parser.o
--- parser.o ---
In file included from /usr/home/saper/src/nextbsd/usr.bin/migcom/parser.y:196:
/usr/home/saper/src/nextbsd/usr.bin/migcom/../../include/stdio.h:68:9: error: unknown type name '__va_list'
typedef __va_list       va_list;
        ^
/usr/home/saper/src/nextbsd/usr.bin/migcom/../../include/stdio.h:281:6: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
            __va_list);
DeltaFile
+5-5usr.bin/migcom/Makefile
+5-51 files

NextBSD/src 9fb5a19sys/kern subr_gtaskqueue.c, sys/net iflib.c

preinitialize admin task
DeltaFile
+12-11sys/net/iflib.c
+15-0sys/kern/subr_gtaskqueue.c
+27-112 files

NextBSD/src 51ec841sys/kern subr_gtaskqueue.c

remove duplicate unlock
DeltaFile
+0-2sys/kern/subr_gtaskqueue.c
+0-21 files

NextBSD/src d585ba7gnu/usr.bin/rcs/lib rcsedit.c, sys/dev/netmap if_ptnet.c

IFC
DeltaFile
+0-5,681sys/dev/urtwn/if_urtwn.c
+1,515-3,049sys/dev/rtwn/if_rtwn.c
+2,283-0sys/dev/netmap/if_ptnet.c
+0-2,183sys/dev/urtwn/if_urtwnreg.h
+57-2,040sys/dev/rtwn/if_rtwnreg.h
+0-1,958gnu/usr.bin/rcs/lib/rcsedit.c
+3,855-14,911642 files not shown
+48,472-46,057648 files

NextBSD/src d26b09fgnu/usr.bin/rcs/lib rcsedit.c, sys/dev/netmap if_ptnet.c

Merge branch 'master' of https://github.com/freebsd/freebsd
DeltaFile
+0-5,681sys/dev/urtwn/if_urtwn.c
+1,515-3,049sys/dev/rtwn/if_rtwn.c
+2,283-0sys/dev/netmap/if_ptnet.c
+0-2,183sys/dev/urtwn/if_urtwnreg.h
+57-2,040sys/dev/rtwn/if_rtwnreg.h
+0-1,958gnu/usr.bin/rcs/lib/rcsedit.c
+3,855-14,911637 files not shown
+48,569-46,091643 files

NextBSD/src 1215a75sys/net iflib.c

don't specify irq affinity for admin task
DeltaFile
+1-0sys/net/iflib.c
+1-01 files

NextBSD/src 3dd8bfdsys/kern subr_gtaskqueue.c

don't bind threads / irqs when there is only one queue in the group
DeltaFile
+3-0sys/kern/subr_gtaskqueue.c
+3-01 files

NextBSD/src 1245cf0share/mk src.opts.mk

Force MK_GDB to no if MK_BINUTILS == no

This is currently encoded in conditional blocks in gnu/lib/Makefile and
gnu/usr.bin/Makefile. Set it via src.opts.mk to make GDB's dependency
on binutils more clear.
DeltaFile
+4-0share/mk/src.opts.mk
+4-01 files

NextBSD/src 742dabasys/vm vnode_pager.c

Fix incorrect assertion that could miss overflows.

Reviewed by:    kib
DeltaFile
+1-1sys/vm/vnode_pager.c
+1-11 files

NextBSD/src 8f6db70sys/kern kern_mib.c kern_exec.c, sys/x86/x86 identcpu.c

Mark a bunch of mpsafe sysctls as such.

This gives me a sysctl Giant-free buildworld.
DeltaFile
+6-5sys/kern/kern_mib.c
+5-5sys/x86/x86/identcpu.c
+4-4sys/kern/kern_exec.c
+15-143 files

NextBSD/src 329b6e1gnu/lib Makefile

Switch gnu/lib/Makefile to SUBDIR.${MK_*} optional subdir style

Compound conditions are left unchanged
DeltaFile
+3-12gnu/lib/Makefile
+3-121 files

NextBSD/src 9810356sys/dev/sound/usb uaudio.c

Add support for adjusting the hardware buffering delay for USB audio.

Requested by:   Goran Mekic <meka at tilda.center>
MFC after:      1 week
DeltaFile
+30-5sys/dev/sound/usb/uaudio.c
+30-51 files

NextBSD/src 689aef6sys/kern vfs_cache.c

cache: split negative entry LRU into multiple lists

This splits the ncneg_mtx lock while preserving the hit ratio at least
during buildworld.

Create N dedicated lists for new negative entries.

Entries with at least one hit get promoted to the hot list, where they
get requeued every M hits.

Shrinking demotes one hot entry and performs a round-robin shrinking of
regular lists.

Reviewed by:    kib
DeltaFile
+245-64sys/kern/vfs_cache.c
+245-641 files

NextBSD/src c3f5e53sys/dev/e1000 if_lem.c

Partial workaround for Intel PCI adapters reading past the end of the
host-programmed DMA regions.  This change seemingly fixes the
descriptor fetches, but the packet memory accesses are left
problematic.

Reviewed by:    emaste, erj, sbruno
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D8282
DeltaFile
+15-4sys/dev/e1000/if_lem.c
+15-41 files

NextBSD/src d568e6b. Makefile.inc1

Fix MK_SHAREDOCS test from r306864

Groff is needed only if MK_GROFF and MK_SHAREDOCS are both true.
DeltaFile
+1-1Makefile.inc1
+1-11 files

NextBSD/src f19da3c. UPDATING

After deeper software archaeology, reports that 10.3R was affected
turned out to be mistaken. Adjust the entry and fix a few typos.
DeltaFile
+10-9UPDATING
+10-91 files

NextBSD/src de409e3usr.bin/printenv printenv.c

Chase a cornercase in printenv and sync its behaviour with builtin's

The cornercase is when printenv is passed a parameter in the form VAR=val,
where VAR=val exists in the environment. In this case, printenv would print a
spurious newline and returns 0.

Approved by:            cognet
MFC after:                      1 week
DeltaFile
+2-2usr.bin/printenv/printenv.c
+2-21 files

NextBSD/src 0394d4fsys/arm/nvidia/tegra124 tegra124_cpufreq.c

TEGRA: Raise minimum voltage for CPU, original 0.9 V was too optimistic.
While I'm in, remove duplicated line from CPU frequency table.

MFC after: 2 weeks
DeltaFile
+1-2sys/arm/nvidia/tegra124/tegra124_cpufreq.c
+1-21 files

NextBSD/src a2159d1. UPDATING

Document the unique requirements for upgrading more
prominently. Unlike in the past (dating back to the 4.x branch point),
you cannot upgrade from any point on the past couple of stable
branches to -current. Due to a bug in clang that existed before
r286035 in stable/9 or r286033 in stable/10, we cannot compile llvm
that's in 11.x or -current. Unfortunately, these revisions are after
9.3R and 10.3R on their respective branches. stable/11 and 11.0R are
not affected.

This also affects the upgrade path to 11 (including 11.0R) from
stable/9 and stable/10 (which would otherwise work, were it not for
this bug).

We also need to amend the 11.0R release notes.

MFC After: 3 days
DeltaFile
+26-6UPDATING
+26-61 files

NextBSD/src d7d4326bin/pkill/tests pkill-j_test.sh pgrep-j_test.sh

Increase timeouts so tests have more chances to succeed
on MIPS64EB in QEMU.

Sponsored by:   DARPA, AFRL
Sponsored by:   HEIF5
DeltaFile
+4-4bin/pkill/tests/pkill-j_test.sh
+3-3bin/pkill/tests/pgrep-j_test.sh
+7-72 files

NextBSD/src ca21fbasys/netpfil/ipfw ip_fw_table.c

Fix `ipfw table lookup` handler to return entry value, but not its index.

Submitted by:   loos
MFC after:      1 week
DeltaFile
+5-1sys/netpfil/ipfw/ip_fw_table.c
+5-11 files

NextBSD/src 23dcf48sys/ufs/ffs ffs_vnops.c

Add FFS pager, which uses buffer cache read operation to validate pages.
See the comments for more detailed description of the algorithm.

The pager is used unconditionally when the block size of the
underlying device is larger than the machine page size, since local
vnode pager cannot handle the configuration [1].  Otherwise, the
vfs.ffs.use_buf_pager sysctl allows to switch to the local pager.

Measurements demonstrated no regression in the ever-important
buildworld benchmark, and small (~5%) throughput improvements in the
special microbenchmark configuration for dbench over swap-backed
md(4).

Code can be generalized and reused for other filesystems which use
buffer cache.

Reported by:    Anton Yuzhaninov <citrin at citrin.ru> [1]
Tested by:      pho
Benchmarked by: mjg, pho

    [4 lines not shown]
DeltaFile
+168-4sys/ufs/ffs/ffs_vnops.c
+168-41 files

NextBSD/src 5579c41tests/sys/geom/class/uzip test-1.img.uzip.uue 1_endian_little.img.uzip.uue

Add big-endian uzip file system and choose right file system
to proceed tests with.

Reviewed by:    jmmv, ngie
Sponsored by:   DARPA, AFRL
Sponsored by:   HEIF5
Differential Revision:  https://reviews.freebsd.org/D8073
DeltaFile
+0-110tests/sys/geom/class/uzip/test-1.img.uzip.uue
+110-0tests/sys/geom/class/uzip/1_endian_little.img.uzip.uue
+87-0tests/sys/geom/class/uzip/1_endian_big.img.uzip.uue
+13-1tests/sys/geom/class/uzip/1_test.sh
+2-2tests/sys/geom/class/uzip/Makefile
+212-1135 files

NextBSD/src b4afcf1sys/dev/hyperv/include vmbus.h, sys/dev/hyperv/vmbus vmbus_chan.c

hyperv/vmbus: Expose channel management taskqueue for driver to use.

MFC after:      3 days
Sponsored by:   Microsoft
DeltaFile
+7-0sys/dev/hyperv/vmbus/vmbus_chan.c
+3-0sys/dev/hyperv/include/vmbus.h
+10-02 files

NextBSD/src 38255c1tools/tools/nanobsd/embedded rpi3.cfg

RPI3 is retired in preference to GENERIC-UP. Use that instead.
DeltaFile
+1-1tools/tools/nanobsd/embedded/rpi3.cfg
+1-11 files