freebsd-src/sys
Martin Matuska 718519f4ef
Some checks are pending
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, arm64, aarch64) (push) Waiting to run
zfs: merge openzfs/zfs@d0a91b9f8
Notable upstream pull request merges:
 #16643 -multiple Change rangelock handling in FreeBSD's zfs_getpages()
 #16697 46c4f2ce0 dsl_dataset: put IO-inducing frees on the pool deadlist
 #16740 -multiple BRT: Rework structures and locks to be per-vdev
 #16743 a60ed3822 L2ARC: Move different stats updates earlier
 #16758 8dc452d90 Fix some nits in zfs_getpages()
 #16759 534688948 Remove hash_elements_max accounting from DBUF and ARC
 #16766 9a81484e3 ZAP: Reduce leaf array and free chunks fragmentation
 #16773 457f8b76e BRT: More optimizations after per-vdev splitting
 #16782 0ca82c568 L2ARC: Stop rebuild before setting spa_final_txg
 #16785 d76d79fd2 zio: Avoid sleeping in the I/O path
 #16791 ae1d11882 BRT: Clear bv_entcount_dirty on destroy
 #16796 b3b0ce64d FreeBSD: Lock vnode in zfs_ioctl()
 #16797 d0a91b9f8 FreeBSD: Reduce copy_file_range() source lock to shared

Obtained from:	OpenZFS
OpenZFS commit:	d0a91b9f88
2024-11-24 10:04:51 +01:00
..
amd64 amd64 efi rt: handle #BP 2024-11-22 00:05:28 +02:00
arm device_pager: user iterators to free device pages 2024-11-21 15:49:30 -06:00
arm64 gicv3: Use the correct mask 2024-11-21 17:04:00 -07:00
bsm
cam
cddl dtrace: Add some more annotations for KMSAN 2024-11-23 02:36:08 +00:00
compat device_pager: user iterators to free device pages 2024-11-21 15:49:30 -06:00
conf netinet: default mib counter probe points off 2024-11-20 09:52:48 +01:00
contrib zfs: merge openzfs/zfs@d0a91b9f8 2024-11-24 10:04:51 +01:00
crypto
ddb
dev e1000: Style txrx 2024-11-24 00:39:43 -07:00
dts
fs
gdb
geom geom: Allow BSD type '!0' partitions 2024-11-20 22:28:57 +00:00
gnu
i386 atomic(9): Implement atomic_testand(clear|set)_ptr 2024-11-19 10:24:50 -05:00
isa
kern new-bus: Fix some shortcomings in disabling devices via hints 2024-11-23 11:39:02 -05:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@d0a91b9f8 2024-11-24 10:04:51 +01:00
net rtsock: fix panic in rtsock_msg_buffer() 2024-11-18 14:12:42 -08:00
net80211 net80211: add IEEE80211_IS_QOS_NULL() 2024-11-18 20:50:17 -08:00
netgraph ng_parse: disallow negative length for malloc 2024-11-21 15:53:04 -05:00
netinet tcp: avoid bcopy() in tcp_mss_update() 2024-11-20 16:37:24 -08:00
netinet6 inpcb: Constify address parameters to in6 pcb lookup routines 2024-11-14 19:59:04 +00:00
netipsec net: Include private header in more needed places 2024-11-13 14:30:59 -05:00
netlink netlink/route: Fix the argument list for rtnl_handle_iflink() 2024-11-22 14:03:40 +00:00
netpfil ipfw: fix order of memcpy arguments. 2024-11-23 15:52:43 +03:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc atomic(9): Implement atomic_testand(clear|set)_ptr 2024-11-19 10:24:50 -05:00
riscv atomic(9): Implement atomic_testand(clear|set)_ptr 2024-11-19 10:24:50 -05:00
rpc
security mac_bsdextended: Remove \n from sysctl descriptions 2024-11-21 10:26:40 -05:00
sys buf: Add a runningbufclaim() helper 2024-11-22 14:03:40 +00:00
teken
tests
tools
ufs buf: Add a runningbufclaim() helper 2024-11-22 14:03:40 +00:00
vm vm_page.c: remove transiently defined vm_page_free_toq_impl() prototype 2024-11-23 12:02:00 +02:00
x86
xdr
xen
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures