HardenedBSD src tree
Go to file
Alexander Motin 7bbac6419d Schedule fast taskqueue callouts on right CPU.
With fast taskqueues using direct callouts we can reduce number of
CPU wakeups by scheduling callout on current CPU if taskqueue calls
taskqueue_enqueue_timeout() on itself.  The trick won't work for
regular taskqueues, since the callout thread will occupy the CPU.
It also may not work in case of multiple threads since we do not
know which thread will pick the task, and we do not want excessive
callout migrations.  So we optimize only the other cases we can.

In practice this allows iichid(4) taskqueue to stay on CPU where
underlying ig4(4) interrupts are routed and to not kick CPU 0 with
timer interrupts on each sampling period (every 2nd/3rd sleep).

MFC after:	1 month
2023-12-26 22:55:24 -05:00
.cirrus-ci
.github
bin cat: Use present tense 2023-12-26 16:53:40 -07:00
cddl libicp(_rescue)?: use asm versions for all 32-bit arm flavors 2023-12-13 20:00:35 +01:00
contrib atf-sh: fix comment typo 2023-12-26 16:24:42 -07:00
crypto Implement "strict key exchange" in ssh and sshd. 2023-12-18 08:22:22 -08:00
etc Proactively remove libc++ __tuple header file that became a directory 2023-12-13 19:53:17 +01:00
gnu misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
include dmu: Allow buffer fills to fail 2023-12-15 09:51:41 -08:00
kerberos5 sccs: Manual changes 2023-11-26 22:23:58 -07:00
lib lib/libc/amd64/string: add memrchr() scalar, baseline implementation 2023-12-25 15:00:05 +01:00
libexec libexec/rc/rc.initdiskless: make tar's path flexible 2023-12-15 03:46:44 -05:00
release release/Makefile.vm: Add cloudware overrides 2023-12-15 10:08:50 -08:00
rescue misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
sbin gvinum(8): Fix a typo 2023-12-26 09:12:27 -07:00
secure ossl: Move arm_arch.h to a common subdirectory 2023-12-04 12:29:11 -05:00
share share/man/man7/simd.7: document SIMD-enhanced memrchr implementation 2023-12-25 15:00:08 +01:00
stand Add kenv .Xr in kldload(8) and loader.conf(5) 2023-12-20 21:17:38 -07:00
sys Schedule fast taskqueue callouts on right CPU. 2023-12-26 22:55:24 -05:00
targets Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
tests Silence VLA extension warnings in fusefs tests 2023-12-21 23:45:52 +01:00
tools devd: Don't install autofs.conf with WITHOUT_AUTOFS 2023-12-22 15:27:50 +01:00
usr.bin ncal(1): print the correct option name when -B is specified twice 2023-12-26 16:45:26 -07:00
usr.sbin bluetooth: fix comment in bluetooth.device.conf 2023-12-26 10:24:19 -07:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: stop forcibly installing pkg 2023-12-12 19:50:19 -05:00
.clang-format
.git-blame-ignore-revs git-blame-ignore-revs: OptionalObsoleteFiles.inc sorting commits 2023-11-15 17:47:02 +00:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore
.mailmap
CONTRIBUTING.md
COPYRIGHT misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS Update MAINTAINERS for Git 2023-12-26 10:28:25 -07:00
Makefile Import tzdata 2023d 2023-12-23 09:34:58 +08:00
Makefile.inc1 Make kldxref a bootstrap tool and use unconditionally 2023-12-13 21:43:10 +00:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc ObsoleteFiles.inc: remove old libufs.so.7 after bump 2023-12-08 22:23:00 +01:00
README.md
RELNOTES RELNOTES: Add an entry for commit 1a87880700 2023-12-26 15:01:42 -08:00
UPDATING UPDATING: Add unset hint.acpi.0.disabled as workaround for no ACPI 2023-11-22 21:12:28 -07: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.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

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 (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
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.