Go to file
maxv e578d74917 nvmm-x86: avoid hogging behavior observed recently
When the FPU code got rewritten in NetBSD, the dependency on IPL_HIGH was
eliminated, and I took _vcpu_guest_fpu_enter() out of the VCPU loop since
there was no need to be in the splhigh window.

Later, the code was switched to use the kernel FPU API, API that works at
IPL_VM, not at IPL_NONE.

These two changes mean that the whole VCPU loop is now executing at IPL_VM,
which is not desired, because it introduces a delay in interrupt processing
on the host in certain cases.

Fix this by putting _vcpu_guest_fpu_enter() back inside the VCPU loop.
2020-09-08 17:02:03 +00:00
bin Mark up path with Pa and use Ev for environment variable. 2020-08-30 20:14:07 +00:00
common make some prototypes match the builtin properly. GCC 9 complains 2020-09-07 00:52:19 +00:00
compat
crypto move $VERSION from Makefile.inc into the single Makefile that uses it. 2020-07-23 07:53:35 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Build EFI bootloader on big endian armv7 and aarch64 targets. 2020-09-08 16:39:36 +00:00
doc Note dhcpcd update 2020-09-06 14:58:53 +00:00
etc Ooops, overlooked one MOUNTCRITLOCAL reference in the rename to 2020-09-08 16:10:53 +00:00
external ia64 works, sun3 (m68k?) works, powerpc works, note powerpc64 issue, 2020-09-07 23:47:02 +00:00
extsrc
games avoid uninit memory and use memmove vs strncpy for a will be 2020-09-07 00:31:11 +00:00
include make the 2nd argument to __memmove_chk() const 2020-09-05 13:37:59 +00:00
lib make the 2nd argument to __memmove_chk() const 2020-09-05 13:37:59 +00:00
libexec remove GCC_NO_ADDR_OF_PACKED_MEMBER for several subdir builds 2020-09-07 03:09:53 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin remove GCC_NO_ADDR_OF_PACKED_MEMBER now lfs_accessors.h works. 2020-09-07 03:19:04 +00:00
share Add IP_BINDANY, IPV6_BINDANY which can be used to bind to any address in 2020-09-08 14:12:57 +00:00
sys nvmm-x86: avoid hogging behavior observed recently 2020-09-08 17:02:03 +00:00
tests Add tests for IP_BINDANY, IPV6_BINDANY 2020-09-08 14:13:50 +00:00
tools mark GCC 9 as (so far) netbsd 20200907 version. this should fix the 2020-09-06 21:59:33 +00:00
usr.bin make(1): in CondGetString, replace repeated Buf_Add with Buf_AddStr 2020-09-08 14:51:43 +00:00
usr.sbin change cksum prototype to const void *, and check alignment via assertion. 2020-09-07 18:37:21 +00:00
build.sh make(1): remove references to the removed lst.lib 2020-07-26 09:17:24 +00:00
BUILDING
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING switch mips to binutils 2.34. 2020-09-07 10:19:02 +00:00

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git