aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2023-02-23Merge tag 'linux-kselftest-kunit-6.3-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds9-8/+563
2023-02-23Merge tag 'nmi.2023.02.14a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-0/+13
2023-02-22Merge tag '6.3-rc-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-12/+272
2023-02-22Merge tag 'docs-6.3' of git://git.lwn.net/linuxLinus Torvalds1-2/+0
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds3-23/+47
2023-02-21Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-4/+24
2023-02-21uaccess: Add speculation barrier to copy_from_user()Dave Hansen1-0/+7
2023-02-21Merge tag 'hardening-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-8/+104
2023-02-21Merge tag 'irq-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-0/+430
2023-02-20Merge tag 'sched-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-2/+18
2023-02-20iov_iter: Add a function to extract a page list from an iteratorDavid Howells1-0/+264
2023-02-20iov_iter: Define flags to qualify page extraction.David Howells1-6/+8
2023-02-20splice: Add a func to do a splice from a buffered file without ITER_PIPEDavid Howells1-6/+0
2023-02-20Merge tag 'for-6.3/block-2023-02-16' of git://git.kernel.dk/linuxLinus Torvalds1-57/+45
2023-02-20Merge tag 'for-6.3/iter-ubuf-2023-02-16' of git://git.kernel.dk/linuxLinus Torvalds1-2/+13
2023-02-19Merge tag 'irqchip-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/...Thomas Gleixner1-1/+0
2023-02-17Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-19/+20
2023-02-13Merge tag 'mm-hotfixes-stable-2023-02-13-13-50' of git://git.kernel.org/pub/s...Linus Torvalds1-19/+20
2023-02-09lib: parser: optimize match_NUMBER apis to use local arrayLi Lingfeng1-19/+20
2023-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-12/+133
2023-02-08kunit: Add printf attribute to fail_current_test_implDavid Gow2-2/+4
2023-02-08arm64: Support Clang UBSAN trap codes for better reportingKees Cook3-2/+100
2023-02-08lib/hashtable_test.c: add test for the hashtable structureRae Moar3-0/+331
2023-02-08kunit: Expose 'static stub' API to redirect functionsDavid Gow4-0/+164
2023-02-08kunit: Add "hooks" to call into KUnit when it's built as a moduleDavid Gow5-8/+66
2023-02-07lib/cpumask: update comment for cpumask_local_spread()Yury Norov1-4/+22
2023-02-07lib/cpumask: reorganize cpumask_local_spread() logicYury Norov1-10/+6
2023-02-07cpumask: improve on cpumask_local_spread() localityYury Norov1-10/+2
2023-02-07lib/find: introduce find_nth_and_andnot_bitYury Norov1-0/+9
2023-02-05Merge tag 'perf_urgent_for_v6.2_rc7' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+31
2023-02-03Merge tag 'mm-hotfixes-stable-2023-02-02-19-24-2' of git://git.kernel.org/pub...Linus Torvalds3-12/+102
2023-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-17/+39
2023-02-02Merge tag 'linux-kselftest-kunit-fixes-6.2-rc7' of git://git.kernel.org/pub/s...Linus Torvalds2-15/+26
2023-02-02Merge branch 'for-linus/hardening' into for-next/hardeningKees Cook2-0/+11
2023-01-31Kconfig.debug: fix the help description in SCHED_DEBUGye xingchen1-1/+1
2023-01-31mm: use stack_depot_early_init for kmemleakZhaoyang Huang1-0/+1
2023-01-31maple_tree: should get pivots boundary by typeWei Yang1-2/+3
2023-01-31maple_tree: fix mas_empty_area_rev() lower bound validationLiam Howlett2-9/+97
2023-01-31perf: Fix perf_event_pmu_context serializationJames Clark1-0/+31
2023-01-31cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUGPeter Zijlstra1-1/+14
2023-01-31Merge tag 'v6.2-rc6' into sched/core, to pick up fixesIngo Molnar8-15/+35
2023-01-30kunit: fix bug in KUNIT_EXPECT_MEMEQRae Moar1-15/+25
2023-01-29sbitmap: correct wake_batch recalculation to avoid potential IO hungKemeng Shi1-4/+1
2023-01-29sbitmap: add sbitmap_find_bit to remove repeat code in __sbitmap_get/__sbitma...Kemeng Shi1-37/+33
2023-01-29sbitmap: rewrite sbitmap_find_bit_in_index to reduce repeat codeKemeng Shi1-15/+15
2023-01-29sbitmap: remove redundant check in __sbitmap_queue_get_batchKemeng Shi1-5/+3
2023-01-29sbitmap: remove unnecessary calculation of alloc_hint in __sbitmap_get_shallowKemeng Shi1-7/+4
2023-01-28Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+9
2023-01-27Merge tag 'hardening-v6.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-0/+11
2023-01-27Merge tag 'trace-v6.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds2-2/+2
2023-01-27lib/string: Use strchr() in strpbrk()Andy Shevchenko1-6/+4
2023-01-26Merge tag 'net-6.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-0/+3
2023-01-25kunit: memcpy: Split slow memcpy tests into MEMCPY_SLOW_KUNIT_TESTKees Cook2-0/+11
2023-01-24lib: Kconfig: fix spellosRandy Dunlap2-2/+2
2023-01-20netlink: prevent potential spectre v1 gadgetsEric Dumazet1-0/+3
2023-01-20Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-10/+15
2023-01-20kunit: Export kunit_running()Arnd Bergmann1-0/+1
2023-01-19x86/nmi: Print reasons why backtrace NMIs are ignoredPaul E. McKenney1-0/+2
2023-01-19x86/nmi: Accumulate NMI-progress evidence in exc_nmi()Paul E. McKenney1-0/+11
2023-01-19Documentation: Avoid duplicate Kconfig inclusionPeter Foley1-2/+0
2023-01-18Sync with v6.2-rc4Andrew Morton1-1/+0
2023-01-18genirq/affinity: Only build SMP-only helper functions on SMP kernelsIngo Molnar1-3/+4
2023-01-17genirq/affinity: Move group_cpus_evenly() into lib/Ming Lei2-0/+429
2023-01-17btf, scripts: Exclude Rust CUs with paholeMartin Rodriguez Reboredo1-0/+9
2023-01-16Merge tag 'mm-hotfixes-stable-2023-01-16-15-23' of git://git.kernel.org/pub/s...Linus Torvalds1-1/+1
2023-01-16lib/scatterlist: Fix to calculate the last_pg properlyYishai Hadas1-10/+15
2023-01-13lockref: stop doing cpu_relax in the cmpxchg loopMateusz Guzik1-1/+0
2023-01-13ubsan: Fix objtool UACCESS warnsPeter Zijlstra1-1/+4
2023-01-11lib/win_minmax: use /* notation for regular commentsRandy Dunlap1-1/+1
2023-01-08iov_iter: move iter_ubuf check inside restore WARNKeith Busch1-2/+2
2023-01-08iov: add import_ubuf()Jens Axboe1-0/+11
2023-01-07Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-1/+1
2023-01-06lib/mpi: Fix buffer overrun when SG is too longHerbert Xu1-1/+2
2023-01-05lib/scatterlist: Fix to merge contiguous pages into the last SG properlyYishai Hadas1-1/+1
2022-12-30crypto: lib/blake2s - Split up test function to halve stack usageHerbert Xu1-3/+22
2022-12-26kunit: alloc_string_stream_fragment error handling bug fixYoungJun.park1-1/+3
2022-12-21test_maple_tree: add test for mas_spanning_rebalance() on insufficient dataLiam Howlett1-0/+23
2022-12-21maple_tree: fix mas_spanning_rebalance() on insufficient dataLiam Howlett1-1/+3
2022-12-20Merge tag 'spdx-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds2-22/+2
2022-12-20Merge tag 'asm-generic-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-8/+8
2022-12-19Merge tag 'kbuild-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-2/+27
2022-12-19Merge tag 'zstd-linus-v6.2' of https://github.com/terrelln/linuxLinus Torvalds38-2443/+6689
2022-12-19Merge tag 'mm-nonmm-stable-2022-12-17-20-32' of git://git.kernel.org/pub/scm/...Linus Torvalds2-9/+14
2022-12-19Merge tag 'mm-stable-2022-12-17-2' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-1/+2
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-11/+18
2022-12-16Merge tag 'char-misc-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+3
2022-12-15fault-injection: make stacktrace filter works as expectedWei Yongjun1-3/+9
2022-12-15fault-injection: make some stack filter attrs more readableWei Yongjun1-4/+4
2022-12-15fault-injection: skip stacktrace filtering by defaultWei Yongjun1-1/+1
2022-12-15fault-injection: allow stacktrace filter for x86-64Wei Yongjun1-1/+0
2022-12-15mm: use stack_depot for recording kmemleak's backtraceZhaoyang Huang1-0/+1
2022-12-15maple_tree: fix mas_find_rev() commentLiam Howlett1-1/+1
2022-12-14Merge tag 'x86_core_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2022-12-14Merge tag 'v6.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds4-0/+1177
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds10-343/+1075
2022-12-14Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-0/+136
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds4-11/+34
2022-12-13Merge branch 'zstd-next' into zstd-linusNick Terrell38-2443/+6689
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds7-27/+18
2022-12-13Merge tag 'x86_asm_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+22
2022-12-13Merge tag 'regulator-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-11/+2
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds5-183/+79
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-22/+28
2022-12-12Merge tag 'mm-nonmm-stable-2022-12-12' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds7-9/+18
2022-12-12Merge tag 'docs-6.2' of git://git.lwn.net/linuxLinus Torvalds1-13/+2
2022-12-12Merge tag 'rust-6.2' of https://github.com/Rust-for-Linux/linuxLinus Torvalds1-0/+16
2022-12-12Merge tag 'linux-kselftest-kunit-next-6.2-rc1' of git://git.kernel.org/pub/sc...Linus Torvalds7-14/+84
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds14-41/+31
2022-12-12Merge tag 'cgroup-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+10
2022-12-12lib: packing: replace bit_reverse() with bitrev8()Uladzislau Koshchanka2-14/+3
2022-12-12Merge tag 'cxl-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds1-0/+3
2022-12-12kunit: improve KTAP compliance of KUnit test outputRae Moar3-7/+10
2022-12-12mm: slub: test: Use the kunit_get_current_test() functionDavid Gow1-0/+1
2022-12-12kunit: Provide a static key to check if KUnit is actively running testsDavid Gow1-0/+6
2022-12-12Merge tag 'core-debugobjects-2022-12-10' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-2/+2
2022-12-12Merge tag 's390-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/...Linus Torvalds1-2/+1
2022-12-12Merge tag 'slab-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-11/+48
2022-12-12Merge tag 'printk-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds2-15/+13
2022-12-12Merge tag 'unsigned-char-6.2-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds2-16/+0
2022-12-12Merge tag 'kcsan.2022.12.02a' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+3
2022-12-12Merge tag 'rcu.2022.12.02a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+2
2022-12-09rhashtable: Allow rhashtable to be used from irq-safe contextsTejun Heo1-6/+10
2022-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+8
2022-12-08Merge branch 'rework/console-list-lock' into for-linusPetr Mladek56-1959/+46497
2022-12-06s390/vx: add vx-insn.h wrapper include fileHeiko Carstens1-2/+1
2022-12-04rust: add `build_error` crateGary Guo1-0/+16
2022-12-02Merge tag 'mm-hotfixes-stable-2022-12-02' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-0/+1
2022-12-02lib: fortify_kunit: build without structleak pluginAnders Roxell1-0/+1
2022-12-02panic: Consolidate open-coded panic_on_warn checksKees Cook1-2/+1
2022-12-02Merge tag 'v6.1-rc7' into iommufd.git for-nextJason Gunthorpe8-35786/+267
2022-12-02debugobjects: Print object pointer in debug_print_object()Stephen Boyd1-2/+2
2022-12-01error-injection: Add prompt for function error injectionSteven Rostedt (Google)1-1/+7
2022-11-30cpumask: limit visibility of FORCE_NR_CPUSYury Norov1-2/+2
2022-11-30lib/radix-tree.c: fix uninitialized variable compilation warningRong Tao1-1/+1
2022-11-30lib/notifier-error-inject: fix error when writing -errno to debugfs fileAkinobu Mita1-1/+1
2022-11-30maple_tree: allow TEST_MAPLE_TREE only when DEBUG_KERNEL is setRandy Dunlap1-0/+1
2022-11-30maple_tree: mte_set_full() and mte_clear_full() clang-analyzer clean upLiam Howlett1-4/+9
2022-11-30percpu_counter: add percpu_counter_sum_all interfaceShakeel Butt1-6/+23
2022-12-01Merge branch 'slub-tiny-v1r6' into slab/for-nextVlastimil Babka1-1/+1
2022-12-01mm/slub, kunit: Add a test case for kmalloc redzone checkFeng Tang1-0/+22
2022-11-30Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton6-35759/+252
2022-11-30Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabledLee Jones1-0/+1
2022-11-30mm/slub, kunit: add SLAB_SKIP_KFENCE flag for cache creationFeng Tang1-10/+25
2022-11-30percpu-refcount: Use call_rcu_hurry() for atomic switchJoel Fernandes (Google)1-1/+2
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-6/+10
2022-11-29interval-tree: Add a utility to iterate over spans in an interval treeJason Gunthorpe2-0/+136
2022-11-27mm, slub: add CONFIG_SLUB_TINYVlastimil Babka1-1/+1
2022-11-27Merge tag 'char-misc-6.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2022-11-25Merge tag 'v6.1-rc4' into regulator-6.2Mark Brown7-79/+80
2022-11-25iov_iter: saner checks for attempt to copy to/from iteratorAl Viro1-14/+17
2022-11-25csum_and_copy_to_iter(): handle ITER_DISCARDAl Viro1-2/+6
2022-11-25get rid of unlikely() on page_copy_sane() callsAl Viro1-6/+5
2022-11-25lib/test_rhashtable: Remove set but unused variable 'insert_retries'Jiapeng Chong1-4/+2
2022-11-23lib/vdso: use "grep -E" instead of "egrep"Greg Kroah-Hartman1-1/+1
2022-11-23test_firmware: fix memory leak in test_firmware_init()Zhengchao Shao1-0/+1
2022-11-22kunit/fortify: Validate __alloc_size attribute resultsKees Cook2-0/+256
2022-11-22test_kprobes: fix implicit declaration error of test_kprobesLi Hua1-0/+1
2022-11-22mm: fix unexpected changes to {failslab|fail_page_alloc}.attrQi Zheng1-5/+8
2022-11-22lru_cache: remove unused lc_private, lc_set, lc_index_ofJoel Colledge1-44/+0
2022-11-22lru_cache: remove compiled out codeChristoph Böhmwalder1-11/+0
2022-11-22lru_cache: use atomic operations when accessing lc->flags, alwaysLars Ellenberg1-2/+2
2022-11-22kobject: make kobject_namespace take a const *Greg Kroah-Hartman1-3/+3
2022-11-22kobject: make kobject_get_ownership() take a constant kobject *Greg Kroah-Hartman1-2/+2
2022-11-22vsprintf: initialize siphash key using notifierJason A. Donenfeld1-9/+5
2022-11-21Merge tag 'v6.1-rc6' into x86/core, to resolve conflictsIngo Molnar10-35832/+321
2022-11-21math64: favor kernel-doc from header filesLiam Beguin1-13/+2
2022-11-21asm-generic/io: Add _RET_IP_ to MMIO trace for more accurate debug infoSai Prakash Ranjan1-8/+8
2022-11-21Merge 6.1-rc6 into driver-core-nextGreg Kroah-Hartman10-35832/+321
2022-11-21Merge 6.1-rc6 into char-misc-nextGreg Kroah-Hartman6-35780/+257
2022-11-21Makefile.debug: support for -gz=zstdNick Desaulniers1-2/+27
2022-11-19lib: assume char is unsignedJason A. Donenfeld2-16/+0
2022-11-18lib/fonts: fix undefined behavior in bit shift for get_default_fontGaosheng Cui1-2/+2
2022-11-18llist: avoid extra memory read in llist_add_batchUros Bizjak1-2/+2
2022-11-18lib/oid_registry.c: remove redundant assignment to variable numColin Ian King1-1/+0
2022-11-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-35754/+242
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld3-8/+8
2022-11-18treewide: use get_random_u32_{above,below}() instead of manual loopJason A. Donenfeld2-8/+2
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld11-24/+24
2022-11-16sbitmap: Try each queue to wake up at least one waiterGabriel Krisman Bertazi1-16/+12
2022-11-16sbitmap: Advance the queue index before waking up a queueGabriel Krisman Bertazi1-2/+8
2022-11-16lib/test_linear_ranges: Use LINEAR_RANGE()Matti Vaittinen1-11/+2
2022-11-15lib/debugobjects: fix stat count and optimize debug_objects_mem_initwuchi1-0/+10
2022-11-14memregion: Add cpu_cache_invalidate_memregion() interfaceDavidlohr Bueso1-0/+3
2022-11-14lib/raid6: drop RAID6_USE_EMPTY_ZERO_PAGEGiulio Benetti1-2/+0
2022-11-11net: remove skb->vlan_presentEric Dumazet1-1/+0
2022-11-11sbitmap: Use single per-bitmap counting to wake up queued tagsGabriel Krisman Bertazi1-96/+26
2022-11-11crypto: lib/aesgcm - Provide minimal library implementationArd Biesheuvel3-0/+736
2022-11-11crypto: lib/gf128mul - make gf128mul_lle time invariantArd Biesheuvel1-19/+39
2022-11-11crypto: move gf128mul library into lib/cryptoArd Biesheuvel3-0/+421
2022-11-10test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"Colin Ian King1-2/+2
2022-11-09mac_pton: Don't access memory over expected lengthAndy Shevchenko1-1/+2
2022-11-09lib/scatterlist: add check when merging zone device pagesLogan Gunthorpe1-10/+15
2022-11-09iov_iter: introduce iov_iter_get_pages_[alloc_]flags()Logan Gunthorpe1-8/+24
2022-11-08kasan: switch kunit tests to console tracepointsAndrey Konovalov1-1/+1
2022-11-08maple_tree: don't set a new maximum on the node when not reusing nodesLiam Howlett1-2/+1
2022-11-08maple_tree: fix depth tracking in maple_stateLiam Howlett1-1/+2
2022-11-08kmsan: make sure PREEMPT_RT is offAlexander Potapenko1-0/+1
2022-11-08Kconfig.debug: ensure early check for KMSAN in CONFIG_KMSAN_WARNAlexander Potapenko1-1/+1
2022-11-08maple_tree: reorganize testing to restore module testingLiam Howlett4-35741/+232
2022-11-08maple_tree: mas_anode_descend() clang-analyzer cleanupLiam Howlett1-6/+4