aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
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-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-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
2022-05-29Merge tag 'trace-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds4-1/+33
2022-05-28Revert "crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZE"Jason A. Donenfeld1-1/+0
2022-05-27Merge tag 'cxl-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds1-23/+0
2022-05-27Merge tag 'v5.19-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds4-434/+0
2022-05-27Merge tag 'mm-stable-2022-05-27' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-35/+0
2022-05-27Merge tag 'mm-nonmm-stable-2022-05-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds6-43/+53
2022-05-27crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZEJason A. Donenfeld1-0/+1
2022-05-27mm: Kconfig: reorganize misplaced mm optionsVlastimil Babka1-34/+0
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-87/+90
2022-05-26locking/lockref: Use try_cmpxchg64 in CMPXCHG_LOOP macroUros Bizjak1-5/+4
2022-05-25Merge tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds2-4/+343
2022-05-25Merge tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds11-138/+592
2022-05-25Merge tag 'printk-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-4/+4
2022-05-25Merge tag 'slab-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/vb...Linus Torvalds3-27/+51
2022-05-24Merge tag 'hwmon-for-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-0/+113
2022-05-24Merge tag 'random-5.19-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds4-409/+40
2022-05-24Merge tag 'objtool-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-12/+16
2022-05-23Merge tag 'x86_core_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-8/+7
2022-05-23Merge tag 'core-debugobjects-2022-05-23' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-4/+1
2022-05-23Merge tag 'core-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+6
2022-05-23Merge branches 'slab/for-5.19/stackdepot' and 'slab/for-5.19/refactor' into s...Vlastimil Babka2-22/+46
2022-05-22lib: add generic polynomial calculationMichael Walle3-0/+113
2022-05-19bug: Use normal relative pointers in 'struct bug_entry'Josh Poimboeuf1-8/+7
2022-05-19mm: fix missing handler for __GFP_NOWARNQi Zheng1-0/+3
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-05-19test_firmware: fix end of loop test in upload_read_show()Dan Carpenter1-4/+7
2022-05-19siphash: add SPDX tags as sole licensing authorityJason A. Donenfeld2-7/+5
2022-05-19random: remove mostly unused async readiness notifierJason A. Donenfeld1-44/+22
2022-05-19random: remove get_random_bytes_arch() and add rng_has_arch_random()Jason A. Donenfeld1-4/+3
2022-05-18Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-0/+1
2022-05-18random: remove ratelimiting for in-kernel unseeded randomnessJason A. Donenfeld1-2/+1
2022-05-18random32: use real rng for non-deterministic randomnessJason A. Donenfeld1-340/+7
2022-05-18siphash: use one source of truth for siphash permutationsJason A. Donenfeld1-22/+10
2022-05-18percpu_ref_init(): clean ->percpu_count_ref on failureAl Viro1-0/+1
2022-05-17kunit: fix executor OOM error handling logic on non-UMLDaniel Latypov1-4/+5
2022-05-16kunit: take `kunit_assert` as `const`Miguel Ojeda1-2/+2
2022-05-13kasan: clean-up kconfig options descriptionsAndrey Konovalov1-86/+82
2022-05-13lib/kstrtox.c: add "false"/"true" support to kstrtobool()Jagdish Gediya1-1/+5
2022-05-13debugobjects: Convert to SPDX license identifierThomas Gleixner1-4/+1
2022-05-12lib/string_helpers: fix not adding strarray to device's resource listPuyou Lu1-0/+3
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-22/+22
2022-05-12kunit: bail out of test filtering logic quicker if OOMDaniel Latypov2-6/+25
2022-05-12lib/Kconfig.debug: change KUnit tests to default to KUNIT_ALL_TESTSDaniel Latypov1-5/+10
2022-05-12kunit: Rework kunit_resource allocation policyDavid Gow1-57/+7
2022-05-09dim: initialize all struct fieldsJesse Brandeburg1-22/+22
2022-05-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+2
2022-05-03selftests/sysctl: add sysctl macro testTonghao Zhang1-0/+32
2022-05-02kunit: fix debugfs code to use enum kunit_status, not boolDaniel Latypov1-1/+1
2022-05-02kunit: add ability to specify suite-level init and exit functionsDaniel Latypov2-0/+31
2022-05-02kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite)Daniel Latypov1-4/+4
2022-05-02Merge 5.18-rc5 into driver-core-nextGreg Kroah-Hartman4-12/+35
2022-05-01Merge tag 'x86_urgent_for_v5.18_rc5' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2-2/+2
2022-04-29lib: remove back_str initializationTom Rix1-1/+1
2022-04-29lib/string.c: simplify str[c]spnRasmus Villemoes1-19/+6