aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2022-12-02Merge tag 'mm-hotfixes-stable-2022-12-02' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-0/+1
2022-12-01error-injection: Add prompt for function error injectionSteven Rostedt (Google)1-1/+7
2022-11-30Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabledLee Jones1-0/+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-23lib/vdso: use "grep -E" instead of "egrep"Greg Kroah-Hartman1-1/+1
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-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
2022-11-08maple_tree: remove pointer to pointer use in mas_alloc_nodes()Liam Howlett1-3/+1
2022-11-03Merge tag 'net-6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-26/+15
2022-11-01netlink: introduce bigendian integer typesFlorian Westphal1-26/+15
2022-10-29Merge tag 'mm-hotfixes-stable-2022-10-28' of git://git.kernel.org/pub/scm/lin...Linus Torvalds2-3/+4
2022-10-28lib: maple_tree: remove unneeded initialization in mtree_range_walk()Lukas Bulwahn1-2/+2
2022-10-28Kconfig.debug: disable CONFIG_FRAME_WARN for KMSAN by defaultAlexander Potapenko1-1/+2
2022-10-27Merge tag 'net-6.1-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-36/+22
2022-10-27Merge tag 'hardening-v6.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-11/+36
2022-10-26rhashtable: make test actually randomRolf Eike Beer1-36/+22
2022-10-25overflow: Refactor test skips for Clang-specific issuesKees Cook1-17/+35
2022-10-25overflow: disable failing tests for older clang versionsNick Desaulniers1-1/+8
2022-10-18kunit: update NULL vs IS_ERR() testsDan Carpenter2-3/+3
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds17-47/+38
2022-10-16Merge tag 'kbuild-fixes-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+8
2022-10-17lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5Nathan Chancellor1-2/+7
2022-10-14Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-25/+126
2022-10-14Merge tag 'parisc-for-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2022-10-12hmm-tests: add test for migrate_device_range()Alistair Popple2-21/+100
2022-10-12mm: free device private pages have zero refcountAlistair Popple1-1/+1
2022-10-12mm/memory.c: fix race when faulting a device private pageAlistair Popple1-3/+4
2022-10-12lib/test_meminit: add checks for the allocation functionsXiaoke Wang1-0/+21
2022-10-12Merge tag 'linux-kselftest-kunit-6.1-rc1-2' of git://git.kernel.org/pub/scm/l...Linus Torvalds4-95/+43
2022-10-12Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-10/+6
2022-10-13Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULTMasahiro Yamada1-0/+1
2022-10-13Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5Masahiro Yamada1-2/+2
2022-10-11treewide: use get_random_bytes() when possibleJason A. Donenfeld3-3/+3
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld6-12/+12
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 2Jason A. Donenfeld1-1/+1
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 1Jason A. Donenfeld1-2/+2
2022-10-11treewide: use prandom_u32_max() when possible, part 2Jason A. Donenfeld2-14/+5
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld8-15/+15
2022-10-11parisc: Convert PDC console to an early consoleHelge Deller1-1/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds15-1600/+45612
2022-10-10Merge tag 'dma-mapping-6.1-2022-10-10' of git://git.infradead.org/users/hch/d...Linus Torvalds1-14/+2
2022-10-10Merge tag 'v6.1-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds6-11/+98
2022-10-10Merge tag 'bitmap-6.1-rc1' of https://github.com/norov/linuxLinus Torvalds7-142/+536
2022-10-10Merge tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds4-12/+27
2022-10-10Merge tag 'printk-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-23/+28
2022-10-10Merge tag 'sched-rt-2022-10-05' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-0/+5
2022-10-10Merge tag 'perf-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+10
2022-10-07Merge tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds5-86/+555
2022-10-07Merge tag 'tty-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-3/+0
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-39/+70
2022-10-07kunit: remove format func from struct kunit_assert, get it to 0 bytesDaniel Latypov1-3/+4
2022-10-07kunit: make kunit_kfree(NULL) a no-op to match kfree()Daniel Latypov1-0/+3
2022-10-07kunit: make kunit_kfree() not segfault on invalid inputsDaniel Latypov1-12/+2
2022-10-07kunit: make kunit_kfree() only work on pointers from kunit_malloc() and friendsDaniel Latypov2-2/+15
2022-10-07kunit: drop test pointer in string_stream_fragmentDaniel Latypov2-6/+5
2022-10-07kunit: string-stream: Simplify resource useDavid Gow3-76/+18
2022-10-06Merge tag 'linux-kselftest-kunit-6.1-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds5-2/+41
2022-10-06lib/test_cpumask: Add for_each_cpu_and(not) testsValentin Schneider1-0/+19
2022-10-06lib/find_bit: Introduce find_next_andnot_bit()Valentin Schneider1-0/+9
2022-10-05Merge tag 'sound-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-0/+44
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-4/+57
2022-10-04Merge branch 'for-6.1-hash-pointer-init' into for-linusPetr Mladek1-21/+26
2022-10-03once: rename _SLOW to _SLEEPABLEJason A. Donenfeld1-5/+5
2022-10-03Merge tag 'hardening-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds6-59/+329
2022-10-03kmsan: disable strscpy() optimization under KMSANAlexander Potapenko1-0/+8
2022-10-03kmsan: add tests for KMSANAlexander Potapenko1-0/+12
2022-10-03kmsan: add iomap supportAlexander Potapenko1-0/+44
2022-10-03kmsan: disable instrumentation of unsupported common kernel codeAlexander Potapenko1-0/+3
2022-10-03kmsan: add KMSAN runtime coreAlexander Potapenko2-0/+51
2022-10-03instrumented.h: allow instrumenting both sides of copy_from_user()Alexander Potapenko2-4/+8
2022-10-03stackdepot: reserve 5 extra bits in depot_stack_handle_tAlexander Potapenko1-5/+24
2022-10-03mm/hmm/test: use char dev with struct device to get device nodeMika Penttilä1-3/+10
2022-10-03kasan: move tests to mm/kasan/Andrey Konovalov3-1596/+0
2022-10-03kasan: add another use-after-free testAndrey Konovalov1-0/+24
2022-10-03kasan: drop CONFIG_KASAN_TAGS_IDENTIFYAndrey Konovalov1-8/+0
2022-10-03once: add DO_ONCE_SLOW() for sleepable contextsEric Dumazet1-0/+30
2022-10-03zstd: Fixing mixed module-builtin objectsAlexey Kardashevskiy4-12/+27
2022-10-01lib/bitmap: add tests for for_each() loopsYury Norov1-1/+243
2022-10-01lib/find_bit: add find_next{,_and}_bit_wrapYury Norov1-9/+3
2022-09-30lib: stackinit: update reference to kunit-toolTales Aparecida1-1/+1
2022-09-30lib: overflow: update reference to kunit-toolTales Aparecida1-1/+1
2022-09-30kunit: add kunit.enable to enable/disable KUnit testJoe Fradley3-0/+39
2022-09-29sbitmap: fix lockup while swappingHugh Dickins1-1/+1
2022-09-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2022-09-29lib/vsprintf: Initialize vsprintf's pointer hash once the random core is ready.Sebastian Andrzej Siewior1-19/+27
2022-09-29lib/vsprintf: Remove static_branch_likely() from __ptr_to_hashval().Sebastian Andrzej Siewior1-11/+8
2022-09-29Merge branch 'v6.0-rc7'Peter Zijlstra5-29/+49
2022-09-28Kbuild: add Rust supportMiguel Ojeda1-0/+34
2022-09-28vsprintf: add new `%pA` format specifierGary Guo1-0/+13
2022-09-26mm: reduce noise in show_mem for lowmem allocationsMichal Hocko1-2/+2
2022-09-26mm: remove vmacacheLiam R. Howlett1-8/+0
2022-09-26lib/test_maple_tree: add testing for maple treeLiam R. Howlett1-0/+38307
2022-09-26Maple Tree: add new data structureLiam R. Howlett3-1/+7146
2022-09-26cpumask: add cpumask_nth_{,and,andnot}Yury Norov1-15/+13
2022-09-26lib/bitmap: remove bitmap_ord_to_posYury Norov1-33/+3
2022-09-26lib/bitmap: add tests for find_nth_bit()Yury Norov2-2/+63
2022-09-26lib: add find_nth{,_and,_andnot}_bit()Yury Norov1-0/+44
2022-09-26lib/bitmap: add bitmap_weight_and()Yury Norov1-9/+21
2022-09-26lib/bitmap: don't call __bitmap_weight() in kernel codeYury Norov1-1/+1
2022-09-24Makefile.debug: re-enable debug info for .S filesNick Desaulniers1-1/+3
2022-09-23lib/sg_pool: change module_init(sg_pool_init) to subsys_initcallMasahiro Yamada1-14/+2
2022-09-21lib/find_bit: optimize find_next_bit() functionsYury Norov1-49/+70
2022-09-21lib/find_bit: create find_first_zero_bit_le()Yury Norov1-0/+16
2022-09-21lib/find_bit: introduce FIND_FIRST_BIT() macroYury Norov1-25/+24
2022-09-20lib/cpumask: add FORCE_NR_CPUS config optionYury Norov1-0/+9
2022-09-19flex_proportions: Disable preemption entering the write section.Sebastian Andrzej Siewior1-0/+2
2022-09-19mm/debug: Provide VM_WARN_ON_IRQS_ENABLED()Thomas Gleixner1-0/+3
2022-09-14fortify: Adjust KUnit test for modular buildKees Cook1-2/+1
2022-09-13ASoC: Merge tag 'v6.0-rc4' into asoc-6.1Mark Brown6-31/+48
2022-09-12Merge 6.0-rc5 into driver-core-nextGreg Kroah-Hartman5-28/+46
2022-09-12sbitmap: fix batched wait_cnt accountingKeith Busch1-14/+23
2022-09-11lib: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-09-11llist: use try_cmpxchg in llist_add_batch and llist_del_firstUros Bizjak1-8/+4
2022-09-11lib/cmdline: avoid page fault in next_argNeel Natu1-1/+1
2022-09-08sbitmap: Use atomic_long_try_cmpxchg in __sbitmap_queue_get_batchUros Bizjak1-5/+5
2022-09-08sbitmap: Avoid leaving waitqueue in invalid state in __sbq_wake_up()Jan Kara1-3/+15
2022-09-07kunit/memcpy: Avoid pathological compile-time string sizeKees Cook1-1/+1
2022-09-07lib: Improve the is_signed_type() kunit testBart Van Assche1-1/+6
2022-09-07fortify: Add KUnit test for FORTIFY_SOURCE internalsKees Cook3-0/+87
2022-09-07string: Introduce strtomem() and strtomem_pad()Kees Cook1-4/+55
2022-09-07overflow: Split up kunit tests for smaller stack framesKees Cook1-27/+51
2022-09-07overflow: Allow mixed type argumentsKees Cook1-29/+72
2022-09-07dyndbg: test DECLARE_DYNDBG_CLASSMAP, sysfs nodesJim Cromie1-15/+110
2022-09-07dyndbg: add drm.debug style (drm/parameters/debug) bitmap supportJim Cromie1-0/+212
2022-09-07dyndbg: validate class FOO by checking with moduleJim Cromie1-8/+68
2022-09-07dyndbg: add ddebug_attach_module_classesJim Cromie1-1/+31
2022-09-07kernel/module: add __dyndbg_classes sectionJim Cromie1-0/+7
2022-09-07dyndbg: gather __dyndbg[] state into struct _ddebug_infoJim Cromie1-9/+31
2022-09-07dyndbg: cleanup auto vars in dynamic_debug_initJim Cromie1-16/+17
2022-09-07dyndbg: drop EXPORTed dynamic_debug_exec_queriesJim Cromie1-29/+0
2022-09-07dyndbg: add test_dynamic_debug moduleJim Cromie3-0/+81
2022-09-07dyndbg: let query-modname override actual module nameJim Cromie1-4/+7
2022-09-07dyndbg: use ESCAPE_SPACE for cat controlJim Cromie1-1/+1
2022-09-07dyndbg: reverse module.callsite walk in cat controlJim Cromie1-6/+6
2022-09-07dyndbg: reverse module walk in cat controlJim Cromie1-1/+1
2022-09-07dyndbg: show both old and new in change-infoJim Cromie1-5/+6
2022-09-07dyndbg: fix static_branch manipulationJim Cromie1-2/+3
2022-09-07netlink: introduce NLA_POLICY_MAX_BEFlorian Westphal1-4/+27
2022-09-05lib/string_helpers: Introduce parse_int_array_user()Cezary Rojewski1-0/+44
2022-09-05Merge 6.0-rc4 into tty-nextGreg Kroah-Hartman6-31/+48
2022-09-04Revert "sbitmap: fix batched wait_cnt accounting"Jens Axboe1-17/+14
2022-09-01sbitmap: fix batched wait_cnt accountingKeith Busch1-14/+17
2022-09-01devres: remove devm_ioremap_npChristoph Hellwig1-15/+0
2022-09-01kernel/panic: Drop unblank_screen callDaniel Vetter1-3/+0
2022-08-31testing/selftests: Add tests for the is_signed_type() macroBart Van Assche3-0/+61
2022-08-31Merge tag 'v6.0-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-1/+0
2022-08-30perf/hw_breakpoint: Add KUnit test for constraints accountingMarco Elver1-0/+10
2022-08-28Merge tag 'bitmap-6.0-rc3' of github.com:/norov/linuxLinus Torvalds3-24/+37
2022-08-26sbitmap: remove unnecessary code in __sbitmap_queue_get_batchLiu Song1-3/+2
2022-08-26crypto: lib - remove unneeded selection of XOR_BLOCKSEric Biggers1-1/+0
2022-08-25Merge tag 'net-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-3/+9
2022-08-25lib/vnsprintf: add const modifier for param 'bitmap'Jian Shen1-2/+2
2022-08-24lib/cpumask_kunit: log mask contentsSander Vanheule1-20/+31
2022-08-24lib/test_cpumask: follow KUnit style guidelinesSander Vanheule3-3/+6
2022-08-24lib/test_cpumask: fix cpu_possible_mask last testSander Vanheule1-1/+1
2022-08-24lib/test_cpumask: drop cpu_possible_mask full testSander Vanheule1-1/+0
2022-08-24ratelimit: Fix data-races in ___ratelimit().Kuniyuki Iwashima1-3/+9
2022-08-23sbitmap: fix possible io hung due to lost wakeupYu Kuai1-22/+33
2022-08-19crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQEric Biggers1-4/+0
2022-08-19crypto: lib - move __crypto_xor into utilsEric Biggers4-5/+90
2022-08-19crypto: lib - create utils module and move __crypto_memneq into itEric Biggers5-6/+11
2022-08-15lib/cpumask: drop always-true preprocessor guardSander Vanheule1-2/+0
2022-08-15lib/cpumask: add inline cpumask_next_wrap() for UPSander Vanheule1-1/+2
2022-08-12lib: remove lib/nodemask.cYury Norov1-23/+0
2022-08-08Merge tag 'pull-work.iov_iter-rebased' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-455/+371
2022-08-08fix copy_page_from_iter() for compound destinationsAl Viro1-4/+18
2022-08-08copy_page_to_iter(): don't split high-order page in case of ITER_PIPEAl Viro1-15/+6
2022-08-08expand those iov_iter_advance()...Al Viro1-2/+9
2022-08-08pipe_get_pages(): switch to append_pipe()Al Viro1-29/+6
2022-08-08get rid of non-advancing variantsAl Viro1-9/+18
2022-08-08iov_iter: saner helper for page array allocationAl Viro1-45/+32
2022-08-08fold __pipe_get_pages() into pipe_get_pages()Al Viro1-37/+38
2022-08-08ITER_XARRAY: don't open-code DIV_ROUND_UP()Al Viro1-9/+1
2022-08-08unify the rest of iov_iter_get_pages()/iov_iter_get_pages_alloc() gutsAl Viro1-59/+27
2022-08-08unify xarray_get_pages() and xarray_get_pages_alloc()Al Viro1-39/+10
2022-08-08unify pipe_get_pages() and pipe_get_pages_alloc()Al Viro1-32/+17
2022-08-08iov_iter_get_pages(): sanity-check argumentsAl Viro1-7/+2
2022-08-08iov_iter_get_pages_alloc(): lift freeing pages array on failure exits into wr...Al Viro1-16/+22
2022-08-08ITER_PIPE: fold data_start() and pipe_space_for_user() togetherAl Viro1-25/+19
2022-08-08ITER_PIPE: cache the type of last bufferAl Viro1-39/+38
2022-08-08ITER_PIPE: clean iov_iter_revert()Al Viro1-46/+14
2022-08-08ITER_PIPE: clean pipe_advance() upAl Viro1-17/+17
2022-08-08ITER_PIPE: lose iter_head argument of __pipe_get_pages()Al Viro1-4/+3
2022-08-08ITER_PIPE: fold push_pipe() into __pipe_get_pages()Al Viro1-55/+25
2022-08-08ITER_PIPE: allocate buffers as we go in copy-to-pipe primitivesAl Viro1-73/+98
2022-08-08ITER_PIPE: helpers for adding pipe buffersAl Viro1-42/+46
2022-08-08ITER_PIPE: helper for getting pipe buffer by indexAl Viro1-6/+9
2022-08-08new iov_iter flavour - ITER_UBUFAl Viro1-18/+69
2022-08-07Merge tag 'bitmap-6.0-rc1' of https://github.com/norov/linuxLinus Torvalds5-105/+81
2022-08-07Merge tag 'mm-nonmm-stable-2022-08-06-2' of git://git.kernel.org/pub/scm/linu...Linus Torvalds19-85/+261
2022-08-06Merge tag 'livepatching-for-5.20' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+8
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds5-98/+293
2022-08-05Merge tag 'asm-generic-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-0/+56
2022-08-05Merge tag 'printk-for-5.20-sane' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+17