aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
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-06Merge tag 'linux-kselftest-kunit-6.1-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds5-2/+41
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-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-03once: add DO_ONCE_SLOW() for sleepable contextsEric Dumazet1-0/+30
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-28Kbuild: add Rust supportMiguel Ojeda1-0/+34
2022-09-28vsprintf: add new `%pA` format specifierGary Guo1-0/+13
2022-09-24Makefile.debug: re-enable debug info for .S filesNick Desaulniers1-1/+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-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-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-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-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
2022-08-04Merge tag 'for-5.20/block-2022-08-04' of git://git.kernel.dk/linux-blockLinus Torvalds2-1/+104
2022-08-04Merge tag 'driver-core-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-08-03Merge tag 'net-next-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+2
2022-08-03Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-4/+11
2022-08-03Merge tag 'pull-work.iov_iter-base' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-231/+52
2022-08-02Merge tag 'linux-kselftest-kunit-5.20-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds3-200/+127
2022-08-02Merge tag 'docs-6.0' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2022-08-02Merge tag 'v5.20-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds8-9/+83
2022-08-02lib/base64: RFC4648-compliant base64 encodingHannes Reinecke2-1/+104
2022-08-02Merge tag 'hardening-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-0/+16
2022-08-02Merge tag 'for-5.20/block-2022-07-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+92
2022-08-01lib/nodemask: inline next_node_in() and node_random()Yury Norov2-9/+1
2022-07-29lib/mpi: fix typo 'the the' in commentSlark Xiao1-1/+1
2022-07-29lib/lzo/lzo1x_compress.c: replace ternary operator with min() and min_t()Jiangshan Yi1-4/+2
2022-07-28kobject: fix Kconfig.debug "its" grammarRandy Dunlap1-1/+1
2022-07-28lib/test_printf.c: fix clang -Wformat warningsJustin Stitt1-3/+11
2022-07-27kasan: test: Silence GCC 12 warningsKees Cook1-0/+10
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2022-07-20crypto: lib - add module license to libsha1Eric Biggers1-0/+3
2022-07-17lib: devres: use numa aware allocationMark-PK Tsai1-5/+10
2022-07-17lib/smp_processor_id: fix imbalanced instrumentation_end() callTetsuo Handa1-1/+1
2022-07-17lib/test: introduce cpumask KUnit test suiteSander Vanheule3-0/+148
2022-07-17cpumask: Fix invalid uniprocessor mask assumptionSander Vanheule2-2/+3
2022-07-17lib/ts_bm.c: remove redundant store to variable consumed after additionColin Ian King1-1/+1
2022-07-17lib/scatterlist: use matched parameter type when calling __sg_free_table()wuchi1-2/+2
2022-07-17lib: make LZ4_decompress_safe_forceExtDict() staticTiezhu Yang1-3/+3
2022-07-17lib/radix-tree: remove unused argument of insert_entrieswuchi1-2/+2
2022-07-17lib/error-inject: traverse list with mutexwuchi1-3/+9
2022-07-17lib/stackdepot: replace CONFIG_STACK_HASH_ORDER with automatic sizingVlastimil Babka2-19/+49
2022-07-17lib/lru_cache: fix error free handing in lc_createwuchi1-2/+2
2022-07-17lib/test_free_pages.c: pass a pointer to virt_to_page()Linus Walleij1-1/+1
2022-07-17lib: add support for device coherent type in test_hmmAlex Sierra2-61/+196
2022-07-17lib: test_hmm add module param for zone device typeAlex Sierra2-21/+53
2022-07-17lib: test_hmm add ioctl to get zone device typeAlex Sierra2-6/+19
2022-07-15lib/cpumask: move some one-line wrappers to header fileYury Norov1-28/+0
2022-07-15lib/cpumask: move trivial wrappers around find_bit to the headerYury Norov1-55/+0
2022-07-15lib/cpumask: change return types to unsigned where appropriateYury Norov1-9/+9
2022-07-15lib/bitmap: change type of bitmap_weight to unsigned longYury Norov1-3/+2
2022-07-15crypto: lib - make the sha1 library optionalEric Biggers2-1/+5
2022-07-15crypto: lib - move lib/sha1.c into lib/crypto/Eric Biggers3-1/+3
2022-07-14ubsan: disable UBSAN_DIV_ZERO for clangNick Desaulniers1-0/+3
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2022-07-14lib/bitmap: change return types to bool where appropriateYury Norov1-2/+2
2022-07-14kunit: executor: Fix a memory leak on failure in kunit_filter_testsDavid Gow1-1/+3
2022-07-12lib/test_bitmap: test the tail after bitmap_to_arr64()Alexander Lobakin1-0/+6
2022-07-12lib/bitmap: fix off-by-one in bitmap_to_arr64()Alexander Lobakin1-1/+1
2022-07-11kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov3-202/+75
2022-07-11kunit: unify module and builtin suite definitionsJeremy Kerr1-1/+51
2022-07-11lib/test_printf.c: split write-beyond-buffer check in twoRasmus Villemoes1-1/+6
2022-07-10ida: don't use BUG_ON() for debuggingLinus Torvalds1-1/+2
2022-07-09Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-2/+2
2022-07-07kunit: use kmemdup in kunit_filter_tests(), take suite as constDaniel Latypov1-4/+2
2022-07-07objtool: update objtool.txt referencesMauro Carvalho Chehab1-1/+1
2022-07-06first_iovec_segment(): just return addressAl Viro1-7/+8
2022-07-06iov_iter: massage calling conventions for first_{iovec,bvec}_segment()Al Viro1-24/+18
2022-07-06iov_iter: first_{iovec,bvec}_segment() - simplify a bitAl Viro1-16/+16
2022-07-06iov_iter: lift dealing with maxpages out of first_{iovec,bvec}_segment()Al Viro1-10/+10
2022-07-06iov_iter_get_pages{,_alloc}(): cap the maxsize with MAX_RW_COUNTAl Viro1-0/+4
2022-07-06iov_iter_bvec_advance(): don't bother with bvec_iterAl Viro1-9/+14
2022-07-03lib/test_vmalloc: switch to prandom_u32()Uladzislau Rezki (Sony)1-7/+8
2022-07-03mm: shrinkers: introduce debugfs interface for memory shrinkersRoman Gushchin1-0/+9
2022-07-03lockref: remove unused 'lockref_get_or_lock()' functionLinus Torvalds1-25/+0
2022-07-01lib: overflow: Do not define 64-bit tests on 32-bitKees Cook1-0/+6
2022-07-01kunit: Taint the kernel when KUnit tests are runDavid Gow1-0/+4
2022-07-01Merge tag 'block-5.19-2022-07-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+4
2022-06-30lib: test_bitmap: add compile-time optimization/evaluations assertionsAlexander Lobakin1-0/+62
2022-06-30crypto: lib/blake2s - reduce stack frame usage in self testJason A. Donenfeld1-3/+3
2022-06-28fix short copy handling in copy_mc_pipe_to_iter()Al Viro1-4/+11
2022-06-28copy_page_{to,from}_iter(): switch iovec variants to genericAl Viro1-187/+4
2022-06-27Merge branch 'master' into mm-nonmm-stableakpm5-1/+182
2022-06-27Merge branch 'master' into mm-stableakpm5-1/+182
2022-06-27iov: introduce iov_iter_alignedKeith Busch1-0/+92
2022-06-25lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()wuchi1-1/+4
2022-06-24crypto: rsa - implement Chinese Remainder Theorem for faster private key oper...Ignat Korchagin2-1/+2
2022-06-22test_bpf: fix incorrect netdev featuresJian Shen1-2/+2
2022-06-19Merge tag 'objtool-urgent-2022-06-19' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2022-06-17Merge tag 'v5.19-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds4-0/+181
2022-06-16lib/error-inject: convert to DEFINE_SEQ_ATTRIBUTEwuchi1-13/+3
2022-06-16lib/btree: simplify btree_{lookup|update}wuchi1-17/+13
2022-06-16lib/flex_proportions.c: remove local_irq_ops in fprop_new_period()wuchi1-8/+2
2022-06-16lib/list_debug.c: Detect uninitialized listsGuenter Roeck1-2/+10
2022-06-16lib/test_hmm: avoid accessing uninitialized pagesMiaohe Lin1-2/+8
2022-06-15lib: Add register read/write tracing supportPrasad Sodagudi3-0/+56
2022-06-15selftests/livepatch: better synchronize test_klp_callbacks_busyJoe Lawrence1-0/+8
2022-06-12Merge tag 'random-5.19-rc2-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds2-3/+2
2022-06-12crypto: memneq - move into lib/Jason A. Donenfeld4-0/+181
2022-06-11iov_iter: fix build issue due to possible type mis-matchLinus Torvalds1-2/+2
2022-06-10Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-16/+4
2022-06-10iov_iter: Fix iter_xarray_get_pages{,_alloc}()David Howells1-16/+4
2022-06-10random: remove rng_has_arch_random()Jason A. Donenfeld1-2/+1
2022-06-10crypto: blake2s - remove shash moduleJason A. Donenfeld2-7/+71
2022-06-10crypto: memneq - move into lib/Jason A. Donenfeld4-0/+181
2022-06-09mm/huge_memory: Fix xarray node memory leakMatthew Wilcox (Oracle)1-2/+3
2022-06-07crc-itu-t: fix typo in CRC ITU-T polynomial commentRoger Knecht1-1/+1
2022-06-06objtool: Fix obsolete reference to CONFIG_X86_SMAPJosh Poimboeuf1-1/+1
2022-06-04Merge tag 'bitmap-for-5.19-rc1' of https://github.com/norov/linuxLinus Torvalds3-30/+116
2022-06-03Merge tag 'driver-core-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+381
2022-06-03Merge tag 'spdx-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gr...Linus Torvalds2-7/+5
2022-06-03nodemask: Fix return values to be unsignedKees Cook1-2/+2
2022-06-03bitmap: Fix return values to be unsignedKees Cook1-15/+15
2022-06-03lib/bitmap: add test for bitmap_{from,to}_arr64Yury Norov1-0/+25
2022-06-03lib: add bitmap_{from,to}_arr64Yury Norov1-0/+54
2022-06-03lib/bitmap.c make bitmap_print_bitmask_to_buf parseableMauro Carvalho Chehab1-13/+20
2022-06-01assoc_array: Fix BUG_ON during garbage collectStephen Brennan1-0/+8