There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Linus Torvalds e6ebf01172 11 hotfixes. 8 are cc:stable and the remaining 3 (nice ratio!) address 7 days ago
..
842
crypto crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init 4 months ago
dim linux/dim: Do nothing if no time delta between samples 1 year ago
fonts fbdev fixes and cleanups for 6.9-rc1: 1 month ago
kunit kunit: test: Log the correct filter string in executor_test 2 months ago
lz4 lib: make LZ4_decompress_safe_forceExtDict() static 2 years ago
lzo lib/lzo/lzo1x_compress.c: replace ternary operator with min() and min_t() 2 years ago
math mul_u64_u64_div_u64: increase precision by conditionally swapping a and b 2 months ago
pldmfw lib: remove MODULE_LICENSE in non-modules 1 year ago
raid6 - Kuan-Wei Chiu has developed the well-named series "lib min_heap: Min 2 months ago
reed_solomon treewide: use get_random_u32_below() instead of deprecated function 1 year ago
test_fortify string: Remove strlcpy() 3 months ago
vdso vdso: Improve cmd_vdso_check to check all dynamic relocations 1 year ago
xz arch: Remove Itanium (IA-64) architecture 8 months ago
zlib_deflate lib/zlib: DFLTCC deflate does not write all available bits for Z_NO_FLUSH 1 year ago
zlib_dfltcc lib/zlib: remove redundation assignement of avail_in dfltcc_gdht() 1 year ago
zlib_inflate lib/zlib: Split deflate and inflate states for DFLTCC 1 year ago
zstd zstd: Fix array-index-out-of-bounds UBSAN warning 6 months ago
.gitignore bootconfig: Support embedding a bootconfig file in kernel 2 years ago
Kconfig PCI: Move pci_iomap.c to drivers/pci/ 3 months ago
Kconfig.debug hardening fixes for v6.9-rc1 1 month ago
Kconfig.kasan treewide: update LLVM Bugzilla links 2 months ago
Kconfig.kcsan Kernel concurrency sanitizer (KCSAN) updates for v6.3 1 year ago
Kconfig.kfence mm/slab: remove CONFIG_SLAB from all Kconfig and Makefile 5 months ago
Kconfig.kgdb vt: remove superfluous CONFIG_HW_CONSOLE 3 months ago
Kconfig.kmsan mm/slab: remove CONFIG_SLAB from all Kconfig and Makefile 5 months ago
Kconfig.ubsan ubsan: Disable signed integer overflow sanitizer on GCC < 8 2 months ago
Makefile pci-v6.9-changes 2 months ago
argv_split.c argv_split: fix kernel-doc warnings 8 months ago
ashldi3.c
ashrdi3.c
asn1_decoder.c
asn1_encoder.c lib: remove redundant assignment to variable ret 2 years ago
assoc_array.c assoc_array: fix the return value in assoc_array_insert_mid_shortcut() 2 months ago
atomic64.c locking/atomic: atomic64: Remove unusable atomic ops 2 years ago
atomic64_test.c
audit.c audit: add support for the openat2 syscall 3 years ago
base64.c lib/base64: RFC4648-compliant base64 encoding 2 years ago
bcd.c
bch.c lib/bch.c: use bitrev instead of internal logic 9 months ago
bitfield_kunit.c
bitmap-str.c lib/bitmap: split-out string-related operations to a separate files 7 months ago
bitmap.c cpumask: add cpumask_weight_andnot() 3 months ago
bitrev.c
bootconfig-data.S bootconfig: Support embedding a bootconfig file in kernel 2 years ago
bootconfig.c bootconfig: Fix the kerneldoc of _xbc_exit() 2 weeks ago
bsearch.c
btree.c btree: remove MODULE_LICENSE in non-modules 1 year ago
bucket_locks.c
bug.c cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG 1 year ago
build_OID_registry
buildid.c - Kuan-Wei Chiu has developed the well-named series "lib min_heap: Min 2 months ago
bust_spinlocks.c kernel/panic: Drop unblank_screen call 2 years ago
check_signature.c
checksum.c
checksum_kunit.c lib: checksum: hide unused expected_csum_ipv6_magic[] 4 weeks ago
closure.c closures: CLOSURE_CALLBACK() to fix type punning 5 months ago
clz_ctz.c lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels 8 months ago
clz_tab.c
cmdline.c lib/cmdline: avoid page fault in next_arg 2 years ago
cmdline_kunit.c lib/cmdline: Fix an invalid format specifier in an assertion msg 2 months ago
cmpdi2.c
compat_audit.c audit: add support for the openat2 syscall 3 years ago
cpu_rmap.c lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release() 11 months ago
cpumask.c bitmap patches for v6.7 6 months ago
cpumask_kunit.c cpumask: re-introduce constant-sized cpumask optimizations 1 year ago
crc-ccitt.c lib: crc_ccitt_false() is identical to crc_itu_t() 4 months ago
crc-itu-t.c crc-itu-t: fix typo in CRC ITU-T polynomial comment 2 years ago
crc-t10dif.c
crc4.c
crc7.c lib/crc7: fix a kernel-doc markup 3 years ago
crc8.c lib: crc8: pointer to data block should be const 3 years ago
crc16.c
crc32.c lib/crc32: Make crc32_be weak for arch override 2 years ago
crc32defs.h
crc32test.c lib/crc32test: correct printed bytes count 2 years ago
crc64-rocksoft.c crypto: add rocksoft 64b crc guard tag framework 2 years ago
crc64.c lib: add rocksoft model crc64 2 years ago
ctype.c
debug_info.c isystem: ship and use stdarg.h 3 years ago
debug_locks.c locking/lockdep: Improve noinstr vs errors 3 years ago
debugobjects.c debugobjects: Stop accessing objects after releasing hash bucket lock 5 months ago
dec_and_lock.c perf: Fix perf_event_pmu_context serialization 1 year ago
decompress.c
decompress_bunzip2.c lib/decompressors: fix spelling mistakes 3 years ago
decompress_inflate.c decompressor: provide missing prototypes 11 months ago
decompress_unlz4.c lib/decompress_unlz4.c: correctly handle zero-padding around initrds. 3 years ago
decompress_unlzma.c lib: fix inconsistent indenting in process_bit1() 3 years ago
decompress_unlzo.c lib/decompressors: remove set but not used variabled 'level' 3 years ago
decompress_unxz.c arch: Remove Itanium (IA-64) architecture 8 months ago
decompress_unzstd.c decompressor: provide missing prototypes 11 months ago
devmem_is_allowed.c lib: devmem_is_allowed: include linux/io.h 11 months ago
devres.c PCI: Move PCI-specific devres code to drivers/pci/ 3 months ago
dhry.h lib: add Dhrystone benchmark test 1 year ago
dhry_1.c lib: dhry: use ktime_ms_delta() helper 2 months ago
dhry_2.c lib: add Dhrystone benchmark test 1 year ago
dhry_run.c lib: dhry: remove unneeded <linux/mutex.h> 2 months ago
digsig.c
dump_stack.c dump_stack: Do not get cpu_sync for panic CPU 3 months ago
dynamic_debug.c dyndbg: replace kstrdup() + strchr() with kstrdup_and_replace() 2 months ago
dynamic_queue_limits.c net: dqs: add NIC stall detector based on BQL 2 months ago
earlycpio.c lib: move from strlcpy with unused retval to strscpy 2 years ago
errname.c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes 5 months ago
error-inject.c lib: error-inject: remove error checking for debugfs_create_dir() 9 months ago
errseq.c kernel.h: split out mathematical helpers 3 years ago
extable.c sparc32: switch to generic extables 3 years ago
fault-inject-usercopy.c
fault-inject.c fault-inject: allow configuration via configfs 1 year ago
fdt.c
fdt_addresses.c
fdt_empty_tree.c
fdt_ro.c
fdt_rw.c
fdt_strerror.c
fdt_sw.c
fdt_wip.c
find_bit.c cpumask: introduce for_each_cpu_or 1 year ago
find_bit_benchmark.c treewide: use get_random_u32_below() instead of deprecated function 1 year ago
flex_proportions.c flex_proportions: remove unused fprop_local_single 2 months ago
fortify_kunit.c fortify: Improve buffer overflow reporting 2 months ago
fw_table.c lib/firmware_table: Provide buffer length argument to cdat_table_parse() 2 months ago
gen_crc32table.c
gen_crc64table.c lib: add rocksoft model crc64 2 years ago
genalloc.c Devicetree include cleanups for v6.6: 8 months ago
generic-radix-tree.c lib/generic-radix-tree.c: Make nodes more reasonably sized 2 months ago
glob.c lib: remove back_str initialization 2 years ago
globtest.c
group_cpus.c lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenly 5 months ago
hashtable_test.c lib/hashtable_test.c: add test for the hashtable structure 1 year ago
hexdump.c hex2bin: fix access beyond string end 2 years ago
hweight.c
idr.c ida: Fix crash in ida_free when the bitmap is empty 4 months ago
inflate.c
interval_tree.c interval-tree: Add a utility to iterate over spans in an interval tree 1 year ago
interval_tree_test.c
iomap.c kmsan: add iomap support 2 years ago
iomap_copy.c
iommu-helper.c
iov_iter.c vfs-6.9.misc 2 months ago
irq_poll.c lib/irq_poll: Prevent softirq pending leak in irq_poll_cpu_dead() 2 years ago
irq_regs.c
is_signed_type_kunit.c lib: assume char is unsigned 1 year ago
is_single_threaded.c
kasprintf.c isystem: ship and use stdarg.h 3 years ago
kfifo.c lib: fix spelling mistakes 3 years ago
klist.c
kobject.c Revert "kobject: Remove redundant checks for whether ktype is NULL" 3 months ago
kobject_uevent.c kobject: reduce uevent_sock_mutex scope 3 months ago
kstrtox.c kstrtox: consistently use _tolower() 9 months ago
kstrtox.h lib: vsprintf: Fix handling of number field widths in vsscanf 3 years ago
kunit_iov_iter.c iov_iter: Kunit tests for page extraction 8 months ago
libcrc32c.c libcrc32c: remove crc32c_impl 1 year ago
linear_ranges.c lib: add linear range get selector within 3 years ago
list-test.c list: test: Test the klist structure 1 year ago
list_debug.c list: Introduce CONFIG_LIST_HARDENED 9 months ago
list_sort.c lib: fix spelling mistakes 3 years ago
llist.c llist: add llist_del_first_this() 7 months ago
locking-selftest-hardirq.h
locking-selftest-mutex.h
locking-selftest-rlock-hardirq.h
locking-selftest-rlock-softirq.h
locking-selftest-rlock.h
locking-selftest-rsem.h
locking-selftest-rtmutex.h
locking-selftest-softirq.h
locking-selftest-spin-hardirq.h
locking-selftest-spin-softirq.h
locking-selftest-spin.h
locking-selftest-wlock-hardirq.h
locking-selftest-wlock-softirq.h
locking-selftest-wlock.h
locking-selftest-wsem.h
locking-selftest.c lockdep/selftests: Use SBRM APIs for wait context tests 9 months ago
lockref.c lockref: stop doing cpu_relax in the cmpxchg loop 1 year ago
logic_iomem.c lib/logic_iomem: correct fallback config references 2 years ago
logic_pio.c minmax: add in_range() macro 8 months ago
lru_cache.c lru_cache: remove unused lc_private, lc_set, lc_index_of 1 year ago
lshrdi3.c
lwq.c lib: add light-weight queuing mechanism. 7 months ago
maple_tree.c - Sumanth Korikkar has taught s390 to allocate hotplug-time page frames 2 months ago
memcat_p.c
memcpy_kunit.c Revert "kunit: memcpy: Split slow memcpy tests into MEMCPY_SLOW_KUNIT_TEST" 2 months ago
memory-notifier-error-inject.c
memregion.c
memweight.c
muldi3.c
net_utils.c mac_pton: Clean up the header inclusions 11 months ago
netdev-notifier-error-inject.c
nlattr.c netlink: add nla be16/32 types to minlen array 2 months ago
nmi_backtrace.c nmi_backtrace: allow excluding an arbitrary CPU 9 months ago
notifier-error-inject.c lib: remove error checking for debugfs_create_dir() 9 months ago
notifier-error-inject.h
objagg.c lib: objagg: Use the bitmap API when applicable 2 years ago
objpool.c lib: objpool: fix head overrun on RK3588 SBC 5 months ago
of-reconfig-notifier-error-inject.c
oid_registry.c lib/oid_registry.c: remove redundant assignment to variable num 1 year ago
once.c once: rename _SLOW to _SLEEPABLE 2 years ago
overflow_kunit.c overflow: Change DEFINE_FLEX to take __counted_by member 1 month ago
packing.c lib: packing: remove MODULE_LICENSE in non-modules 1 year ago
parman.c lib: remove "expecting prototype" kernel-doc warnings 3 years ago
parser.c lib: parser: update documentation for match_NUMBER functions 1 year ago
percpu-refcount.c percpu-refcount: Use call_rcu_hurry() for atomic switch 1 year ago
percpu_counter.c percpu_counter: extend _limited_add() to negative amounts 7 months ago
percpu_test.c
plist.c
pm-notifier-error-inject.c
polynomial.c lib: add generic polynomial calculation 2 years ago
radix-tree.c radix tree: remove unused variable 9 months ago
radix-tree.h radix-tree: move declarations to header 11 months ago
random32.c treewide: use get_random_bytes() when possible 2 years ago
ratelimit.c ratelimit: Fix data-races in ___ratelimit(). 2 years ago
rbtree.c lib/rbtree: use '+' instead of '|' for setting color. 1 year ago
rbtree_test.c
rcuref.c locking/atomics: Use atomic_try_cmpxchg_release() to micro-optimize rcuref_put_slowpath() 7 months ago
ref_tracker.c lib/ref_tracker: remove warnings in case of allocation failure 11 months ago
refcount.c lib: fix spelling mistakes 3 years ago
rhashtable.c rhashtable: Allow rhashtable to be used from irq-safe contexts 1 year ago
sbitmap.c sbitmap: remove stale comment in sbq_calc_wake_batch 4 months ago
scatterlist.c scatterlist: add missing function params to kernel-doc 8 months ago
seq_buf.c seq_buf: Fix kernel documentation 3 months ago
sg_pool.c lib/sg_pool: change module_init(sg_pool_init) to subsys_initcall 2 years ago
sg_split.c
siphash.c SPDX changes for 5.19-rc1 2 years ago
siphash_kunit.c siphash: Convert selftest to KUnit 2 years ago
slub_kunit.c linux-kselftest-kunit-next-6.2-rc1 1 year ago
smp_processor_id.c lib/smp_processor_id: fix imbalanced instrumentation_end() call 2 years ago
sort.c lib/sort: optimize heapsort with double-pop variation 2 months ago
stackdepot.c stackdepot: respect __GFP_NOLOCKDEP allocation flag 1 week ago
stackinit_kunit.c - Kuan-Wei Chiu has developed the well-named series "lib min_heap: Min 2 months ago
stmp_device.c
strcat_kunit.c string: Add Kunit tests for strcat() family 12 months ago
string.c string: Allow 2-argument strscpy() 2 months ago
string_helpers.c lib/string_helpers: Add flags param to string_get_size() 2 months ago
string_helpers_kunit.c string: Convert helpers selftest to KUnit 2 months ago
string_kunit.c string: Convert selftest to KUnit 2 months ago
strncpy_from_user.c lib/strn*,objtool: Enforce user_access_begin() rules 2 years ago
strnlen_user.c lib/strn*,objtool: Enforce user_access_begin() rules 2 years ago
strscpy_kunit.c fortify: Short-circuit known-safe calls to strscpy() 2 years ago
syscall.c sched: Change task_struct::state 3 years ago
test-kstrtox.c
test_bitmap.c lib/bitmap: Introduce bitmap_scatter() and bitmap_gather() helpers 2 months ago
test_bitops.c lib/test: fix spelling mistakes 3 years ago
test_bits.c
test_blackhole_dev.c net: blackhole_dev: fix build warning for ethh set but not used 3 months ago
test_bpf.c test_bpf: Rename second ALU64_SMOD_X to ALU64_SMOD_K 5 months ago
test_debug_virtual.c
test_dynamic_debug.c dyndbg: test DECLARE_DYNDBG_CLASSMAP, sysfs nodes 2 years ago
test_firmware.c firmware_loader: Expand Firmware upload error codes with firmware invalid error 5 months ago
test_fprobe.c fprobe: Pass return address to the handlers 11 months ago
test_fpu.c selftests/fpu: Fix debugfs_simple_attr.cocci warning 3 years ago
test_free_pages.c lib/test_free_pages.c: pass a pointer to virt_to_page() 2 years ago
test_hash.c test_hash.c: refactor into kunit 2 years ago
test_hexdump.c treewide: use get_random_u32_inclusive() when possible 1 year ago
test_hmm.c lib: replace kmap() with kmap_local_page() 9 months ago
test_hmm_uapi.h hmm-tests: add test for migrate_device_range() 2 years ago
test_ida.c Quite a lot of kexec work this time around. Many singleton patches in 4 months ago
test_kmod.c lib/test_kmod: fix kernel-doc warnings 3 months ago
test_kprobes.c test_kprobes: Add recursed kprobe test case 1 year ago
test_linear_ranges.c lib/test_linear_ranges: Use LINEAR_RANGE() 1 year ago
test_list_sort.c treewide: use get_random_u32_below() instead of deprecated function 1 year ago
test_lockup.c lib/test_lockup: fix kernel pointer check for separate address spaces 2 years ago
test_maple_tree.c test_maple_tree: testing the cyclic allocation 2 months ago
test_memcat_p.c
test_meminit.c mm, treewide: introduce NR_PAGE_ORDERS 4 months ago
test_min_heap.c treewide: use get_random_u32() when possible 2 years ago
test_module.c
test_objagg.c treewide: use get_random_bytes() when possible 2 years ago
test_objpool.c lib: test_objpool: make global variables static 6 months ago
test_parman.c
test_printf.c lib/vsprintf: declare no_hash_pointers in sprintf.h 9 months ago
test_ref_tracker.c lib/ref_tracker: improve printing stats 11 months ago
test_rhashtable.c Kill sched.h dependency on rcupdate.h 4 months ago
test_scanf.c lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix() 9 months ago
test_sort.c lib/test: convert test_sort.c to use KUnit 3 years ago
test_static_key_base.c
test_static_keys.c
test_sysctl.c sysctl: Remove the now superfluous sentinel elements from ctl_table array 4 months ago
test_ubsan.c ubsan: fix unused variable warning in test module 4 weeks ago
test_user_copy.c
test_uuid.c
test_vmalloc.c lib/test_vmalloc.c: use unsigned long constant 2 months ago
test_xarray.c XArray: add cmpxchg order test 2 months ago
textsearch.c
timerqueue.c rbtree, timerqueue: Use rb_add_cached() 3 years ago
trace_readwrite.c lib/trace_readwrite.c:: replace asm-generic/io with linux/io 4 months ago
ts_bm.c lib/ts_bm: add helper to reduce indentation and improve readability 9 months ago
ts_fsm.c
ts_kmp.c
ubsan.c ubsan: Add awareness of signed integer overflow traps 2 weeks ago
ubsan.h ubsan: Reintroduce signed overflow sanitizer 2 months ago
ucmpdi2.c
ucs2_string.c lib/ucs2_string: Add UCS-2 strscpy function 8 months ago
usercopy.c uaccess: Add speculation barrier to copy_from_user() 1 year ago
uuid.c treewide: use get_random_bytes() when possible 2 years ago
vsprintf.c lib/vsprintf: Fix %pfwf when current node refcount == 0 5 months ago
win_minmax.c lib/win_minmax: use /* notation for regular comments 1 year ago
xarray.c xarray: Document necessary flag in alloc functions 8 months ago
xxhash.c