freebsd-src/sys
Alan Cox f1d73aacdc pmap: Skip some superpage promotion attempts that will fail
Implement a simple heuristic to skip pointless promotion attempts by
pmap_enter_quick_locked() and moea64_enter().  Specifically, when
vm_fault() calls pmap_enter_quick() to map neighboring pages at the end
of a copy-on-write fault, there is no point in attempting promotion in
pmap_enter_quick_locked() and moea64_enter().  Promotion will fail
because the base pages have differing protection.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D45431
MFC after:	1 week
2024-06-04 00:38:05 -05:00
..
amd64 pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
arm arm: Convert drivers to use device_set_desc(f)() 2024-06-02 19:38:40 -04:00
arm64 pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
bsm
cam
cddl boot/zfs: Sync the definition of dsl_dataset_phys with OpenZFS 2024-06-01 11:12:12 -04:00
compat libkern: add ilog2 macro 2024-06-03 11:37:55 -05:00
conf kern: Remove leftover saf1761otg bits 2024-06-03 12:52:58 -03:00
contrib openzfs: Fix mismerge breaking macOS bootstrap 2024-05-31 22:12:18 +01:00
crypto
ddb
dev snd_hda: Add Lenovo X1 Carbon Gen11 support 2024-06-04 02:00:12 +02:00
dts
fs
gdb
geom
gnu
i386 pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
isa
kern unix: use m_freemp() when disposing unix socket buffers 2024-06-03 17:23:06 -07:00
kgssapi
libkern
modules
net
net80211
netgraph netgraph: provide separate malloc type for nodes that are missing it 2024-05-31 09:19:54 -07:00
netinet
netinet6
netipsec
netlink
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
riscv pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
rpc
security
sys mbuf: provide m_freemp() 2024-06-03 17:23:06 -07:00
teken
tests
tools
ufs
vm pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
x86 Intel DMAR: remove the 'dev' member 2024-05-31 22:10:39 +03:00
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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures