aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2019-05-16slab: remove /proc/slab_allocatorsQian Cai1-4/+0
2019-05-16Merge tag 'asm-generic-nommu' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+4
2019-05-16Merge branch 'linus' into x86/urgent, to pick up dependent changesIngo Molnar45-746/+1793
2019-05-14tools/testing/selftests/sysctl/sysctl.sh: add proc_do_large_bitmap() test caseEric Sandeen1-1/+17
2019-05-14init: introduce DEBUG_MISC optionSinan Kaya1-0/+9
2019-05-14lib/test_vmalloc.c:test_func(): eliminate local `ret'Andrew Morton1-5/+3
2019-05-14lib/test_bitmap: add tests for bitmap_parselist_user()Yury Norov1-10/+36
2019-05-14lib/test_bitmap: add testcases for bitmap_parselist()Yury Norov1-1/+17
2019-05-14lib/test_bitmap: switch test_bitmap_parselist to ktime_get()Yury Norov1-5/+4
2019-05-14lib: rework bitmap_parselistYury Norov1-113/+142
2019-05-14lib: make bitmap_parselist_user() a wrapper on bitmap_parselist()Yury Norov1-8/+11
2019-05-14lib/math: move int_pow() from pwm_bl.c for wider useAndy Shevchenko2-1/+33
2019-05-14lib: Move mathematic helpers to separate folderAndy Shevchenko12-22/+25
2019-05-14lib/list_sort: optimize number of calls to comparison functionGeorge Spelvin1-22/+91
2019-05-14lib/list_sort: simplify and remove MAX_LIST_LENGTH_BITSGeorge Spelvin1-62/+103
2019-05-14lib/sort: avoid indirect calls to built-in swapGeorge Spelvin1-15/+36
2019-05-14lib/sort: use more efficient bottom-up heapsort variantGeorge Spelvin1-31/+81
2019-05-14lib/sort: make swap functions more genericGeorge Spelvin1-24/+99
2019-05-14lib/plist: rename DEBUG_PI_LIST to DEBUG_PLISTDavidlohr Bueso2-3/+3
2019-05-14lib/bitmap.c: guard exotic bitmap functions by CONFIG_NUMARasmus Villemoes1-0/+2
2019-05-14lib/bitmap.c: remove unused EXPORT_SYMBOLsRasmus Villemoes1-4/+0
2019-05-14compiler: allow all arches to enable CONFIG_OPTIMIZE_INLININGMasahiro Yamada1-0/+14
2019-05-14mm/gup: change GUP fast to use flags rather than a write 'bool'Ira Weiny1-2/+5
2019-05-13x86/kconfig: Disable CONFIG_GENERIC_HWEIGHT and remove __HAVE_ARCH_SW_HWEIGHTMasahiro Yamada1-4/+0
2019-05-10Merge tag 'printk-for-5.2-fixes' of ssh://gitolite.kernel.org/pub/scm/linux/k...Linus Torvalds1-7/+4
2019-05-10vsprintf: Do not break early boot with probing addressesPetr Mladek1-7/+4
2019-05-09Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-0/+37
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds7-193/+458
2019-05-07Merge tag 'for-5.2/block-20190507' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2019-05-07Merge tag 'char-misc-5.2-rc1-part2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-18/+18
2019-05-07Merge tag 'driver-core-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-36/+68
2019-05-07Merge tag 'Wimplicit-fallthrough-5.2-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds6-1/+21
2019-05-07Merge tag 'printk-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds4-168/+298
2019-05-06Merge tag 'linux-kselftest-5.2-rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds6-35/+203
2019-05-06Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds3-3/+0
2019-05-06Merge branch 'core-stacktrace-for-linus' of git://git.kernel.org/pub/scm/linu...Linus Torvalds3-30/+40
2019-05-06Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds4-4/+10
2019-05-06ubsan: Remove vla bound checks.Andrey Ryabinin2-23/+0
2019-05-06ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warningsAndrey Ryabinin1-26/+23
2019-05-06Merge branch 'for-5.2-pf-removal' into for-linusPetr Mladek2-3/+3
2019-05-06Merge branch 'for-5.2-vsprintf-hardening' into for-linusPetr Mladek2-163/+293
2019-05-05Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+11
2019-05-04netlink: add validation of NLA_F_NESTED flagMichal Kubecek1-0/+15
2019-05-04netlink: set bad attribute also on maxtype checkMichal Kubecek1-1/+2
2019-05-03lib: Add support for generic packing operationsVladimir Oltean3-0/+231
2019-05-03kobject: clean up the kobject add documentation a bit moreGreg Kroah-Hartman1-2/+6
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-3/+4
2019-05-02kobject: Fix kernel-doc comment first lineTobin C. Harding1-21/+22
2019-05-02kobject: Remove docstring reference to ksetTobin C. Harding1-3/+2
2019-05-01RDMA/core: Introduce RDMA subsystem ibdev_* print functionsGal Pressman1-0/+37
2019-05-01kobject: fix dereference before null check on kobjColin Ian King1-1/+2
2019-04-30x86/mm/mem_encrypt: Disable all instrumentation for early SME setupGary Hook1-0/+11
2019-04-29lib/vsprintf: Make function pointer_string staticYueHaibing1-2/+3
2019-04-29stacktrace: Provide common infrastructureThomas Gleixner1-0/+4
2019-04-29lib/stackdepot: Remove obsolete functionsThomas Gleixner1-20/+0
2019-04-29fault-inject: Simplify stacktrace retrievalThomas Gleixner1-9/+3
2019-04-29lib/stackdepot: Provide functions which operate on plain storage arraysThomas Gleixner1-19/+51
2019-04-28kobject: Improve doc clarity kobject_init_and_add()Tobin C. Harding1-3/+6
2019-04-28kobject: Improve docs for kobject_add/delTobin C. Harding1-5/+12
2019-04-27netlink: add strict parsing for future attributesJohannes Berg1-0/+4
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-83/+88
2019-04-27netlink: add NLA_MIN_LENJohannes Berg1-1/+8
2019-04-26lib/test_vmalloc.c: do not create cpumask_t variable on stackUladzislau Rezki (Sony)1-3/+3
2019-04-26lib/Kconfig.debug: fix build error without CONFIG_BLOCKYueHaibing1-0/+1
2019-04-26vsprintf: Limit the length of inlined error messagesPetr Mladek1-12/+27
2019-04-26vsprintf: Avoid confusion between invalid address and valuePetr Mladek1-1/+1
2019-04-26vsprintf: Prevent crash when dereferencing invalid pointersPetr Mladek2-36/+122
2019-04-26vsprintf: Consolidate handling of unknown pointer specifiersPetr Mladek2-13/+18
2019-04-26vsprintf: Factor out %pO handler as kobject_string()Petr Mladek1-5/+12
2019-04-26vsprintf: Factor out %pV handler as va_format()Petr Mladek1-9/+12
2019-04-26vsprintf: Factor out %p[iI] handler as ip_addr_string()Petr Mladek1-22/+30
2019-04-26vsprintf: Do not check address of well-known stringsPetr Mladek1-37/+44
2019-04-26vsprintf: Consistent %pK handling for kptr_restrict == 0Petr Mladek1-4/+2
2019-04-26vsprintf: Shuffle restricted_pointer()Petr Mladek1-49/+49
2019-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+3
2019-04-25kobject: Add support for default attribute groups to kobj_typeKimberly Brown1-0/+14
2019-04-25lib/siphash.c: mark expected switch fall-throughsStephen Rothwell1-18/+18
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers3-3/+0
2019-04-24mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on older GCC versionsPeter Zijlstra2-4/+5
2019-04-23asm-generic: provide entirely generic nommu uaccessChristoph Hellwig1-0/+4
2019-04-22Merge tag 'v5.1-rc6' into for-5.2/blockJens Axboe6-41/+59
2019-04-19kcov: improve CONFIG_ARCH_HAS_KCOV help textMark Rutland1-3/+3
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2019-04-12rhashtable: use BIT(0) for locking.NeilBrown1-1/+1
2019-04-12rhashtable: replace rht_ptr_locked() with rht_assign_locked()NeilBrown1-3/+3
2019-04-12rhashtable: move dereference inside rht_ptr()NeilBrown2-7/+7
2019-04-12rhashtable: fix some __rcu annotation errorsNeilBrown1-2/+2
2019-04-12rhashtable: use struct_size() in kvzalloc()Gustavo A. R. Silva1-2/+1
2019-04-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+8
2019-04-09Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-0/+4
2019-04-09treewide: Switch printk users from %pf and %pF to %ps and %pS, respectivelySakari Ailus2-3/+3
2019-04-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-38/+52
2019-04-08ASN.1: mark expected switch fall-throughGustavo A. R. Silva1-0/+4
2019-04-08lib/cmdline.c: mark expected switch fall-throughsGustavo A. R. Silva1-0/+5
2019-04-08lib: zstd: Mark expected switch fall-throughsGustavo A. R. Silva4-1/+12
2019-04-08lib: Add test module for strscpy_padTobin C. Harding3-0/+154
2019-04-08lib/string: Add strscpy_pad() functionTobin C. Harding1-7/+40
2019-04-08lib: Use new kselftest headerTobin C. Harding2-34/+9
2019-04-08lib/test_printf: Add empty module_exit functionTobin C. Harding1-0/+6
2019-04-07rhashtable: add lockdep tracking to bucket bit-spin-locks.NeilBrown1-6/+9
2019-04-07rhashtable: use bit_spin_locks to protect hash bucket.NeilBrown2-72/+71
2019-04-07rhashtable: allow rht_bucket_var to return NULL.NeilBrown1-9/+20
2019-04-07rhashtable: use cmpxchg() in nested_table_alloc()NeilBrown1-3/+5
2019-04-06block: remove CONFIG_LBDAFChristoph Hellwig1-1/+0
2019-04-05Merge branch 'akpm' (patches from Andrew)Linus Torvalds3-6/+27
2019-04-05lib/lzo: fix bugs for very short or empty inputDave Rodgman2-6/+7
2019-04-05lib/string.c: implement a basic bcmpNick Desaulniers1-0/+20
2019-04-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+11
2019-04-05syscalls: Remove start and number from syscall_get_arguments() argsSteven Rostedt (Red Hat)1-1/+1
2019-04-04ptrace: Remove maxargs from task_current_syscall()Steven Rostedt (Red Hat)1-32/+25
2019-04-03iov_iter: Fix build error without CONFIG_CRYPTOYueHaibing1-0/+4
2019-04-03x86/uaccess, ubsan: Fix UBSAN vs. SMAPPeter Zijlstra2-0/+5
2019-04-03kbuild: add ability to generate BTF type info for vmlinuxAndrii Nakryiko1-0/+8
2019-04-01kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.Tetsuo Handa1-4/+7
2019-03-29Merge tag 'for-linus-20190329' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+11
2019-03-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-4/+8
2019-03-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-2/+6
2019-03-25sbitmap: order READ/WRITE freed instance and setting clear bitMing Lei1-0/+11
2019-03-21rhashtable: rename rht_for_each*continue as *from.NeilBrown1-1/+1
2019-03-21rhashtable: don't hold lock on first table throughout insertion.NeilBrown1-36/+16
2019-03-21rhashtable: Still do rehash when we get EEXISTHerbert Xu1-2/+6
2019-03-20lib/test_printf: Switch to bitmap_zalloc()Andy Shevchenko1-2/+2
2019-03-17Merge tag 'kbuild-v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds1-1/+1
2019-03-15Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-armLinus Torvalds1-1/+1
2019-03-14libfdt: prefix header search paths with $(srctree)/Masahiro Yamada1-1/+1
2019-03-12Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+15
2019-03-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds4-400/+223
2019-03-12Drop flex_arraysKent Overstreet2-399/+1
2019-03-12generic radix treesKent Overstreet2-1/+219
2019-03-12treewide: add checks for the return value of memblock_alloc*()Mike Rapoport1-0/+3
2019-03-11Merge tag 'xarray-5.1-rc1' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds2-127/+324
2019-03-10Merge tag 'kbuild-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-0/+2
2019-03-10Merge tag 'dma-mapping-5.1' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-36/+0
2019-03-10Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds2-14/+10
2019-03-09Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds2-1/+27
2019-03-09Merge tag 'printk-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds2-1/+17
2019-03-09Merge tag 'gcc-plugins-v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-0/+389
2019-03-08Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv...Linus Torvalds10-1/+686
2019-03-07lib/lzo: separate lzo-rle from lzoDave Rodgman2-10/+35
2019-03-07lib/lzo: implement run-length encodingDave Rodgman3-35/+152
2019-03-07lib/lzo: fast 8-byte copy on arm64Matt Sealey1-1/+1
2019-03-07lib/lzo: 64-bit CTZ on arm64Matt Sealey1-1/+1
2019-03-07lib/lzo: tidy-up ifdefsDave Rodgman1-4/+4
2019-03-07lib/ubsan: default UBSAN_ALIGNMENT to not setAnders Roxell1-5/+9
2019-03-07lib/test_firmware.c: remove some dead codeDan Carpenter1-9/+0
2019-03-07lib/assoc_array.c: mark expected switch fall-throughGustavo A. R. Silva1-0/+1
2019-03-07lib/test_ubsan.c: VLA no longer used in kernelOlof Johansson1-10/+1
2019-03-07lib/div64.c: off by one in shiftStanislaw Gruszka1-2/+2
2019-03-07dynamic_debug: move pr_err from module.c to ddebug_add_moduleRasmus Villemoes1-1/+3
2019-03-07dynamic_debug: remove unused EXPORT_SYMBOLsRasmus Villemoes1-2/+0
2019-03-07dynamic_debug: use pointer comparison in ddebug_remove_moduleRasmus Villemoes1-1/+2
2019-03-07dynamic_debug: don't duplicate modname in ddebug_add_moduleRasmus Villemoes1-8/+7
2019-03-07lib/vsprintf.c: move sizeof(struct printf_spec) next to its definitionRasmus Villemoes1-2/+3
2019-03-06Merge tag 'driver-core-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-9/+6
2019-03-06Merge tag 'char-misc-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-5/+136
2019-03-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds6-53/+567
2019-03-06Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-2/+7
2019-03-06Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds2-5/+15
2019-03-05mm/page_owner: move config option to mm/Kconfig.debugChangbin Du1-17/+0
2019-03-05vmalloc: add test driver to analyse vmalloc allocatorUladzislau Rezki (Sony)3-0/+565
2019-03-05mm: replace all open encodings for NUMA_NO_NODEAnshuman Khandual1-1/+2
2019-03-05kasan: remove use after scope bugs detection.Andrey Ryabinin3-35/+0
2019-03-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+22
2019-03-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+2
2019-03-04lib: Introduce test_stackinit moduleKees Cook3-0/+389
2019-03-01kasan: turn off asan-stack for clang-8 and earlierArnd Bergmann1-0/+22
2019-02-28lib/raid6: arm: optimize away a mask operation in NEON recovery routineArd Biesheuvel1-6/+6
2019-02-28lib/raid6: use vdupq_n_u8 to avoid endianness warningsndesaulniers@google.com2-8/+4
2019-02-28kbuild: move -gsplit-dwarf, -gdwarf-4 option tests to KconfigMasahiro Yamada1-0/+2
2019-02-28lib/vsprintf: Remove %pCr remnant in commentGeert Uytterhoeven1-1/+0
2019-02-28Merge branch 'linus' into perf/core, to pick up fixesIngo Molnar3-13/+22
2019-02-28locking/lockdep: Make it easy to detect whether or not inside a selftestBart Van Assche1-0/+2
2019-02-28Merge branch 'linus' into locking/core, to pick up fixesIngo Molnar3-13/+22
2019-02-26iov_iter: optimize page_copy_sane()Eric Dumazet1-2/+15
2019-02-25bpf: test_bpf: turn off preemption in function __run_onceAnders Roxell1-0/+2
2019-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+5
2019-02-22rhashtable: Remove obsolete rhashtable_walk_init functionHerbert Xu2-8/+3
2019-02-21XArray: Fix xa_reserve for 2-byte aligned entriesMatthew Wilcox2-3/+15
2019-02-21XArray: Fix xa_erase of 2-byte aligned entriesMatthew Wilcox2-2/+16
2019-02-21lib/test_rhashtable: fix spelling mistake "existant" -> "existent"Colin Ian King1-2/+2
2019-02-20XArray: Use xa_cmpxchg to implement xa_reserveMatthew Wilcox1-36/+0
2019-02-20XArray: Fix xa_release in allocating arraysMatthew Wilcox2-9/+25
2019-02-20Merge branch 'fixes-v5.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+5
2019-02-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2019-02-19lib/irq_poll: Support schedules in non-interrupt contextsSteve Wise1-1/+1
2019-02-16Merge tag 'compiler-attributes-for-linus-v5.0-rc7' of git://github.com/ojeda/...Linus Torvalds1-2/+2
2019-02-15assoc_array: Fix shortcut creationDavid Howells1-3/+5
2019-02-15lib/crc32.c: mark crc32_le_base/__crc32c_le_base aliases as __pureMiguel Ojeda1-2/+2
2019-02-14lib: objagg: fix handling of object with 0 users when assembling hintsJiri Pirko1-3/+5
2019-02-13test_objagg: Uninitialized variable in error handlingDan Carpenter1-2/+3
2019-02-13test_objagg: Test the correct variableDan Carpenter1-2/+2
2019-02-13lib: objagg: Fix an error code in objagg_hints_get()Dan Carpenter1-1/+3
2019-02-13dma-mapping: move debug configuration options to kernel/dmaAndy Shevchenko1-36/+0
2019-02-13kprobes: Prohibit probing on bsearch()Andrea Righi1-0/+2
2019-02-13kprobes: Prohibit probing on preemption checking debug functionsMasami Hiramatsu1-2/+5
2019-02-12ARM: 8833/1: Ensure that NEON code always compiles with ClangNathan Chancellor1-1/+1
2019-02-11lib/scatterlist: Provide a DMA page iteratorJason Gunthorpe1-0/+26
2019-02-11Merge 5.0-rc6 into driver-core-nextGreg Kroah-Hartman6-70/+119
2019-02-11Merge 5.0-rc6 into char-misc-nextGreg Kroah-Hartman2-9/+16
2019-02-09XArray: Mark xa_insert and xa_reserve as must_checkMatthew Wilcox1-5/+5