aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2023-04-05maple_tree: fix a potential concurrency bug in RCU modePeng Zhang1-2/+1
2023-04-05maple_tree: fix get wrong data_end in mtree_lookup_walk()Peng Zhang1-10/+5
2023-04-05maple_tree: add RCU lock checking to rcu callback functionsLiam R. Howlett1-92/+96
2023-04-05maple_tree: add smp_rmb() to dead node detectionLiam R. Howlett1-2/+6
2023-04-05maple_tree: fix write memory barrier of nodes once dead for RCU modeLiam R. Howlett1-2/+5
2023-04-05maple_tree: remove extra smp_wmb() from mas_dead_leaves()Liam Howlett1-1/+0
2023-04-05maple_tree: fix freeing of nodes in rcu modeLiam Howlett1-11/+62
2023-04-05maple_tree: detect dead nodes in mas_start()Liam Howlett1-0/+4
2023-04-05maple_tree: be more cautious about dead nodesLiam Howlett1-9/+43
2023-03-28lib/Kconfig.debug: correct help info of LOCKDEP_STACK_TRACE_HASH_BITSTiezhu Yang1-1/+1
2023-03-28Kconfig.debug: fix SCHED_DEBUG dependencyye xingchen1-1/+1
2023-03-25Merge tag 'xfs-6.3-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds2-23/+23
2023-03-23lib: dhry: fix unstable smp_processor_id(_) usageGeert Uytterhoeven1-2/+4
2023-03-23test_maple_tree: add more testing for mas_empty_area()Liam R. Howlett1-0/+48
2023-03-23maple_tree: fix mas_skip_node() end slot detectionLiam R. Howlett1-19/+5
2023-03-19pcpcntr: remove percpu_counter_sum_all()Dave Chinner1-29/+11
2023-03-19pcpcntrs: fix dying cpu summation raceDave Chinner1-3/+12
2023-03-19cpumask: introduce for_each_cpu_orDave Chinner1-0/+9
2023-03-14Merge tag 'zstd-linus-v6.3-rc3' of https://github.com/terrelln/linuxLinus Torvalds3-5/+24
2023-03-06zstd: Fix definition of assert()Jonathan Neuschäfer1-1/+1
2023-03-06lib: zstd: Backport fix for in-place decompressionNick Terrell1-3/+22
2023-03-06lib: zstd: Fix -Wstringop-overflow warningKees Cook1-1/+1
2023-03-05cpumask: re-introduce constant-sized cpumask optimizationsLinus Torvalds1-13/+1
2023-03-04Merge tag 'mm-hotfixes-stable-2023-03-04-13-12' of git://git.kernel.org/pub/s...Linus Torvalds3-8/+19
2023-03-02lib: parser: update documentation for match_NUMBER functionsEric Biggers1-7/+7
2023-03-02kasan: treat meminstrinsic as builtins in uninstrumented filesMarco Elver1-0/+9
2023-02-27lib/zlib: DFLTCC deflate does not write all available bits for Z_NO_FLUSHMikhail Zaslonko1-1/+3
2023-02-27kunit: Fix 'hooks.o' build by recursing into kunitDavid Gow2-9/+5
2023-02-25Merge tag 'kcsan.2023.02.24a' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2023-02-25Merge tag 'cxl-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds1-3/+3
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-6/+15
2023-02-23Merge tag 'mm-nonmm-stable-2023-02-20-15-29' of git://git.kernel.org/pub/scm/...Linus Torvalds17-138/+1130
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds6-473/+492
2023-02-23Merge tag 'modules-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-6/+5
2023-02-23Merge tag 'printk-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-8/+14
2023-02-23Merge tag 'probes-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-2/+37
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-22kcsan: select CONFIG_CONSTRUCTORSArnd Bergmann1-0/+1
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-21test_kprobes: Add recursed kprobe test caseMasami Hiramatsu (Google)1-2/+37
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-16maple_tree: reduce stack usage with gcc-9 and earlierArnd Bergmann1-2/+9
2023-02-16lib/stackdepot: move documentation comments to stackdepot.hAndrey Konovalov1-87/+0
2023-02-16lib/stackdepot: various comments clean-upsAndrey Konovalov1-61/+59
2023-02-16lib/stackdepot: annotate racy pool_index accessesAndrey Konovalov1-4/+13
2023-02-16lib/stacktrace, kasan, kmsan: rework extra_bits interfaceAndrey Konovalov1-9/+33
2023-02-16lib/stackdepot: rename next_pool_inited to next_pool_requiredAndrey Konovalov1-9/+21
2023-02-16lib/stackdepot: annotate depot_init_pool and depot_alloc_stackAndrey Konovalov1-10/+24
2023-02-16lib/stacktrace: drop impossible WARN_ON for depot_init_poolAndrey Konovalov1-7/+5
2023-02-16lib/stackdepot: rename init_stack_poolAndrey Konovalov1-5/+5
2023-02-16lib/stackdepot: rename handle and pool constantsAndrey Konovalov1-29/+27
2023-02-16lib/stackdepot: rename slab to poolAndrey Konovalov1-53/+53
2023-02-16lib/stackdepot: rename hash table constants and variablesAndrey Konovalov1-21/+21
2023-02-16lib/stackdepot: reorder and annotate global variablesAndrey Konovalov1-10/+17
2023-02-16lib/stackdepot: lower the indentation in stack_depot_initAndrey Konovalov1-33/+37
2023-02-16lib/stackdepot: annotate init and early init functionsAndrey Konovalov1-6/+21
2023-02-16lib/stackdepot: rename stack_depot_disableAndrey Konovalov1-10/+10
2023-02-16lib/stackdepot, mm: rename stack_depot_want_early_initAndrey Konovalov1-5/+5
2023-02-16lib/stackdepot: use pr_fmt to define message formatAndrey Konovalov1-4/+6
2023-02-16lib/stackdepot: put functions in logical orderAndrey Konovalov1-157/+157
2023-02-15printf: fix errname.c listArnd Bergmann1-8/+14
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-10Merge branch 'for-6.3/cxl-ram-region' into cxl/nextDan Williams1-3/+3
2023-02-10kernel/range: Uplevel the cxl subsystem's range_contains() helperDan Williams1-3/+3
2023-02-10Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-19/+20
2023-02-09maple_tree: fix mas_prev() and mas_find() state handlingLiam R. Howlett1-1/+5
2023-02-09maple_tree: fix handle of invalidated state in mas_wr_store_setup()Liam R. Howlett1-0/+3
2023-02-09test_maple_tree: test modifications while iteratingLiam R. Howlett1-0/+72
2023-02-09maple_tree: reduce user error potentialLiam R. Howlett1-0/+10
2023-02-09maple_tree: fix potential rcu issueLiam R. Howlett1-1/+1
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-08kobject: make dynamic_kobj_ktype and kset_ktype constThomas Weißschuh1-2/+2
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-02lib/zlib: remove redundation assignement of avail_in dfltcc_gdht()Tom Rix1-1/+1
2023-02-02lib/Kconfig.debug: do not enable DEBUG_PREEMPT by defaultHyeonggon Yoo1-1/+4
2023-02-02lib/zlib: DFLTCC always switch to software inflate for Z_PACKET_FLUSH optionMikhail Zaslonko1-2/+4
2023-02-02lib/zlib: DFLTCC support inflate with small windowMikhail Zaslonko1-8/+0
2023-02-02lib/zlib: Split deflate and inflate states for DFLTCCMikhail Zaslonko8-76/+110
2023-02-02lib/zlib: DFLTCC not writing header bits when avail_out == 0Mikhail Zaslonko1-4/+9
2023-02-02lib/zlib: fix DFLTCC ignoring flush modes when avail_in == 0Mikhail Zaslonko1-1/+2
2023-02-02lib/zlib: fix DFLTCC not flushing EOBS when creating raw streamsMikhail Zaslonko1-6/+13
2023-02-02lib/zlib: implement switching between DFLTCC and softwareMikhail Zaslonko1-16/+22
2023-02-02lib/zlib: adjust offset calculation for dfltcc_stateMikhail Zaslonko1-1/+2
2023-02-02lib/genalloc: use try_cmpxchg in {set,clear}_bits_llUros Bizjak1-10/+8
2023-02-02lib: add Dhrystone benchmark testGeert Uytterhoeven6-0/+938
2023-02-02lib/percpu_counter: percpu_counter_add_batch() overflow/underflowManfred Spraul1-10/+15
2023-02-02error-injection: remove EI_ETYPE_NONEMasami Hiramatsu (Google)1-1/+1
2023-02-02mm: move KMEMLEAK's Kconfig items from lib to mmZhaoyang Huang1-71/+0
2023-02-02mm: discard __GFP_ATOMICNeilBrown1-4/+4
2023-02-02maple_tree: fix comment of mte_destroy_walkVernon Yang1-2/+2
2023-02-02maple_tree: remove the parameter entry of mas_preallocateVernon Yang1-2/+1
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-31Sync mm-stable with mm-hotfixes-stable to pick up dependent patchesAndrew Morton3-12/+102
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-25test_kmod: stop kernel-doc warningsRandy Dunlap1-6/+5
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-22Merge 6.2-rc5 into driver-core-nextGreg Kroah-Hartman3-12/+16
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-20test_firmware: Use kstrtobool() instead of strtobool()Christophe JAILLET1-1/+2
2023-01-20test_firmware: use kernel-doc struct notationRandy Dunlap1-1/+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-18maple_tree: remove GFP_ZERO from kmem_cache_alloc() and kmem_cache_alloc_bulk()Liam Howlett1-37/+43
2023-01-18maple_tree: refine mab_calc_split functionVernon Yang1-3/+2
2023-01-18maple_tree: refine ma_state init from mas_start()Vernon Yang1-3/+3
2023-01-18maple_tree: use macro MA_ROOT_PARENT instead of numberVernon Yang1-2/+1
2023-01-18maple_tree: use mt_node_max() instead of direct operations mt_max[]Vernon Yang1-2/+2
2023-01-18maple_tree: remove extra return statementVernon Yang1-3/+0
2023-01-18maple_tree: remove extra space and blank lineVernon Yang1-10/+4
2023-01-18lib/test_vmalloc.c: add parameter use_huge for fix_size_alloc_testQinglin Pan1-1/+7
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-11kobject: Fix slab-out-of-bounds in fill_kobj_path()Wang Hai1-2/+10
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