freebsd with flexible iflib nic queues
Go to file
Rick Macklem 82512c17ea clnt_vc.c: Replace msleep() with pause() to avoid assert panic
An msleep() in clnt_vc.c used a global "fake_wchan" wchan argument
along with the mutex in a CLIENT structure.  As such, it was
possible to use different mutexes for the same wchan and
cause a panic assert.  Since this is in a rarely executed code
path, the assert panic was only recently observed.

Since "fake_wchan" never gets a wakeup, this msleep() can
be replaced with a pause() to avoid the panic assert,
which is what this patch does.

Reviewed by:	kib, markj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D36977
2022-10-14 15:46:55 -07:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github .github: Attempt to fix and increase robustness of macOS action 2022-06-30 21:03:26 +01:00
bin sh: when loading profile, skip obvious scratch files. 2022-10-03 14:35:51 +00:00
cddl libdtrace: Fix some CPU register number definitions to match the kernel 2022-10-12 16:06:37 -04:00
contrib blacklistd: Whitespace police 2022-10-13 08:47:56 -04:00
crypto ssh: remove pre- and post-merge update steps 2022-10-12 13:54:08 -04:00
etc kinst: Add a rudimentary regression test case 2022-10-11 18:19:55 -04:00
gnu libdialog: Bump shared library version to 10. 2021-10-27 09:30:24 -07:00
include netlink: add headers installation 2022-10-01 16:31:58 +00:00
kerberos5 pkgbase: split kerberos binaries and libs 2022-08-03 11:02:28 +01:00
lib Revert "Avoid using TARGET_ARCH in llvm.build.mk" 2022-10-13 22:04:47 -05:00
libexec Put OPIE to rest. 2022-10-02 03:37:29 +02:00
release release: link from /boot/msdos to efi 2022-10-11 13:19:52 -06:00
rescue rescue: Link libzutil after libzfs. 2022-10-03 16:10:42 -07:00
sbin init: allow to start script executions with sh -o verify 2022-10-11 09:48:04 +02:00
secure openssl: install pc files 2022-09-06 09:32:02 +02:00
share refcount.9: Update refcount_acquire(9) description after a67d540832 2022-10-12 13:47:59 -04:00
stand loader: fix elf lookup_symbol type filtering 2022-10-13 22:07:52 -05:00
sys clnt_vc.c: Replace msleep() with pause() to avoid assert panic 2022-10-14 15:46:55 -07:00
targets Put OPIE to rest. 2022-10-02 03:37:29 +02:00
tests fusefs: during F_GETLK, don't change l_pid if no lock is found 2022-10-07 09:09:21 -06:00
tools Copyedit git-arc(1) 2022-10-12 21:50:42 +02:00
usr.bin renice: Force /bin/sh usage on su calls for the regression tests. 2022-10-13 17:32:47 +02:00
usr.sbin vmm: permit some IPIs to be handled by userspace 2022-10-14 12:03:05 +02:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Cirrus-CI: move QEMU pkg installation to test script 2022-09-07 13:32:12 -04:00
.clang-format clang-format: Add bitset loop macros 2021-09-21 12:08:01 -04:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore gitignore: Ignore compile_commands.events.json 2022-05-30 10:43:25 -04:00
COPYRIGHT Welcome 2022, update copyrights. 2022-01-01 09:49:49 -07:00
LOCKS
MAINTAINERS Remove myself from bhyve maintenance; ENOTIME. 2021-11-19 07:09:30 +10:00
Makefile Makefile: replace mergemaster references with etcupdate 2022-10-06 20:19:16 +02:00
Makefile.inc1 Rename MACHINE_ABI and TARGET_ABI 2022-10-05 17:27:44 +01:00
Makefile.libcompat Install working pkgconfig .pc files for compat libraries 2022-08-11 23:18:34 +01:00
Makefile.sys.inc
ObsoleteFiles.inc sort: remove NLS support 2022-10-12 16:24:29 +02:00
README.md README.md: update gnu directory description 2021-12-17 08:45:31 -05:00
RELNOTES RELNOTES: Add an entry for dtrace_kinst(4) 2022-10-11 18:19:55 -04:00
UPDATING LinuxKPI: move pm_message_t from kernel.h to pm.h 2022-06-10 14:05:12 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources.
sys/arch/conf Kernel configuration files. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries.
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.