aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/slab.h
AgeCommit message (Expand)AuthorFilesLines
8 daysmm/slab: make __free(kfree) accept error pointersDan Carpenter1-2/+2
2024-03-12mm, slab: remove last vestiges of SLAB_MEM_SPREADLinus Torvalds1-3/+0
2024-02-26mm, slab: use an enum to define SLAB_ cache creation flagsVlastimil Babka1-27/+67
2024-02-26mm, slab: deprecate SLAB_MEM_SPREAD flagVlastimil Babka1-2/+3
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-2/+2
2023-12-05mm/slab: remove CONFIG_SLAB code from slab common codeVlastimil Babka1-12/+2
2023-12-05cpu/hotplug: remove CPUHP_SLAB_PREPARE hooksVlastimil Babka1-8/+0
2023-11-04Merge tag 'tsm-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw...Linus Torvalds1-0/+2
2023-10-19mm/slab: Add __free() support for kvfreeDan Williams1-0/+2
2023-09-13mm: Remove kmem_valid_obj()Zhen Lei1-2/+3
2023-07-18Randomized slab caches for kmalloc()GONG, Ruiqi1-3/+20
2023-07-04Merge tag 'core_guards_for_6.5_rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+3
2023-06-29Merge tag 'slab-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/vba...Linus Torvalds1-4/+18
2023-06-26locking: Introduce __cleanup() based infrastructurePeter Zijlstra1-0/+3
2023-06-19mm/slab: decouple ARCH_KMALLOC_MINALIGN from ARCH_DMA_MINALIGNCatalin Marinas1-4/+10
2023-06-16Merge branches 'slab/for-6.5/prandom', 'slab/for-6.5/slab_no_merge' and 'slab...Vlastimil Babka1-0/+12
2023-06-08mm/slab: break up RCU readers on SLAB_TYPESAFE_BY_RCU example codeSeongJae Park1-3/+5
2023-06-08mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example codeSeongJae Park1-1/+1
2023-06-02mm/slab: introduce kmem_cache flag SLAB_NO_MERGEJesper Dangaard Brouer1-0/+12
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+2
2023-04-05mm: move kmem_cache_init() declaration to mm/slab.hMike Rapoport (IBM)1-1/+0
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-3/+3
2023-03-29Merge branch 'slab/for-6.4/slob-removal' into slab/for-nextVlastimil Babka1-39/+0
2023-03-29mm/slab: remove CONFIG_SLOB code from slab common codeVlastimil Babka1-39/+0
2023-03-13slab: Adjust comment after refactoring of gfp.hThorsten Scherer1-1/+1
2022-12-12Merge tag 'slab-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-22/+42
2022-12-12Merge tag 'rcu.2022.12.02a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+11
2022-12-01Merge branch 'slub-tiny-v1r6' into slab/for-nextVlastimil Babka1-2/+11
2022-11-27mm, slab: ignore SLAB_RECLAIM_ACCOUNT with CONFIG_SLUB_TINYVlastimil Babka1-0/+4
2022-11-27mm, slub: don't create kmalloc-rcl caches with CONFIG_SLUB_TINYVlastimil Babka1-2/+7
2022-11-21Merge branch 'slab/for-6.2/alloc_size' into slab/for-nextVlastimil Babka1-14/+14
2022-11-21Merge branch 'slab/for-6.2/cleanups' into slab/for-nextVlastimil Babka1-6/+17
2022-11-21slab: Remove special-casing of const 0 size allocationsKees Cook1-10/+2
2022-11-21slab: Clean up SLOB vs kmalloc() definitionKees Cook1-4/+12
2022-11-21mm/slab: move and adjust kernel-doc for kmem_cache_allocVlastimil Babka1-6/+17
2022-11-04mm/slab: remove !CONFIG_TRACING variants of kmalloc_[node_]trace()Vlastimil Babka1-23/+0
2022-10-21slab: Explain why SLAB_TYPESAFE_BY_RCU reference before lockingPaul E. McKenney1-0/+11
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+7
2022-10-03kasan: only define kasan_cache_create for Generic modeAndrey Konovalov1-1/+1
2022-09-29Merge branch 'slab/for-6.1/kmalloc_size_roundup' into slab/for-nextVlastimil Babka1-6/+38
2022-09-29Merge branch 'slab/for-6.1/slub_debug_waste' into slab/for-nextVlastimil Babka1-0/+2
2022-09-29slab: Introduce kmalloc_size_roundup()Kees Cook1-0/+31
2022-09-29slab: Remove __malloc attribute from realloc functionsKees Cook1-6/+6
2022-09-23mm/slub: enable debugging memory wasting of kmallocFeng Tang1-0/+2
2022-09-11kfence: add sysfs interface to disable kfence for selected slabs.Imran Khan1-0/+6
2022-09-01mm/slab_common: move declaration of __ksize() to mm/slab.hHyeonggon Yoo1-1/+0
2022-09-01mm/sl[au]b: cleanup kmem_cache_alloc[_node]_trace()Hyeonggon Yoo1-13/+14
2022-08-24mm/slab: kmalloc: pass requests larger than order-1 page to page allocatorHyeonggon Yoo1-18/+5
2022-08-24mm/slab_common: kmalloc_node: pass large requests to page allocatorHyeonggon Yoo1-7/+19
2022-08-24mm/slub: move kmalloc_large_node() to slab_common.cHyeonggon Yoo1-0/+4
2022-08-24mm/slab_common: fold kmalloc_order_trace() into kmalloc_large()Hyeonggon Yoo1-20/+2
2022-08-24mm/slab_common: cleanup kmalloc_track_caller()Hyeonggon Yoo1-9/+8
2022-08-24mm/slab_common: remove CONFIG_NUMA ifdefs for common kmalloc functionsHyeonggon Yoo1-28/+0
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+12
2022-05-13mm: make minimum slab alignment a runtime propertyPeter Collingbourne1-0/+12
2022-05-02mm: slab: fix comment for __assume_kmalloc_alignmentAndrey Konovalov1-3/+3
2022-05-02mm: slab: fix comment for ARCH_KMALLOC_MINALIGNAndrey Konovalov1-1/+1
2022-04-06mm/slub, kunit: Make slub_kunit unaffected by user specified flagsHyeonggon Yoo1-0/+7
2022-03-23Merge tag 'slab-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/vb...Linus Torvalds1-3/+0
2022-03-22mm: introduce kmem_cache_alloc_lruMuchun Song1-0/+3
2022-03-21Merge branch 'slab/for-5.18/trivial' into slab/for-linusVlastimil Babka1-3/+0
2022-03-10mm: slab: Delete unused SLAB_DEACTIVATED flagXiongwei Song1-3/+0
2022-02-21slab: remove __alloc_size attribute from __kmalloc_track_callerGreg Kroah-Hartman1-2/+1
2022-01-19Merge tag 'kbuild-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-2/+1
2022-01-06mm: Convert check_heap_object() to use struct slabMatthew Wilcox (Oracle)1-8/+0
2021-12-02mm, slab: Remove compiler check in __kmalloc_indexNathan Chancellor1-2/+1
2021-11-06mm: remove HARDENED_USERCOPY_FALLBACKStephen Kitt1-2/+0
2021-11-06mm/kvmalloc: add __alloc_size attributes for better bounds checkingKees Cook1-8/+8
2021-11-06slab: add __alloc_size attributes for better bounds checkingKees Cook1-28/+33
2021-11-06slab: clean up function prototypesKees Cook1-34/+34
2021-11-06mm: move kvmalloc-related functions to slab.hMatthew Wilcox (Oracle)1-0/+34
2021-06-29mm: memcg/slab: create a new set of kmalloc-cg-<n> cachesWaiman Long1-9/+33
2021-06-29mm, slub: change run-time assertion in kmalloc_index() to compile-timeHyeonggon Yoo1-3/+14
2021-03-08mm: Don't build mm_dump_obj() on CONFIG_PRINTK=n kernelsPaul E. McKenney1-0/+2
2021-01-22mm: Add mem_dump_obj() to print source of memory blockPaul E. McKenney1-0/+2
2020-12-15mm: slab: provide krealloc_array()Bartosz Golaszewski1-0/+18
2020-10-25mm: remove kzfree() compatibility definitionEric Biggers1-2/+0
2020-10-13include/linux/slab.h: fix a typo error in commenttangjianqiang1-1/+1
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all allocationsRoman Gushchin1-2/+0
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all accounted allocationsRoman Gushchin1-4/+1
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long1-1/+3
2020-04-10docs: mm: slab.h: fix a broken cross-referenceMauro Carvalho Chehab1-1/+1
2020-02-04mm: remove __kreallocFlorian Westphal1-1/+0
2019-12-01mm, slab: remove unused kmalloc_size()Pengfei Li1-20/+0
2019-10-07mm, sl[aou]b: guarantee natural alignment for kmalloc(power-of-two)Vlastimil Babka1-0/+4
2019-09-24mm, slab: move memcg_cache_params structure to mm/slab.hWaiman Long1-62/+0
2019-07-12mm, memcg: add a memcg_slabinfo debugfs fileWaiman Long1-0/+4
2019-07-12mm: memcg/slab: reparent memcg kmem_caches on cgroup removalRoman Gushchin1-1/+1
2019-07-12mm: memcg/slab: rework non-root kmem_cache lifecycle managementRoman Gushchin1-1/+2
2019-07-12mm: memcg/slab: rename slab delayed deactivation functions and fieldsRoman Gushchin1-3/+3
2019-07-12mm/slab: refactor common ksize KASAN logic into slab_common.cMarco Elver1-0/+1
2019-03-29mm: add support for kmem caches in DMA32 zoneNicolas Boichat1-0/+2
2018-12-29Merge tag 'docs-5.0' of git://git.lwn.net/linuxLinus Torvalds1-28/+27
2018-12-28include/linux/slab.h: fix sparse warning in kmalloc_type()Vlastimil Babka1-12/+12
2018-12-28kasan, mm: change hooks signaturesAndrey Konovalov1-2/+2
2018-11-20Merge branch 'kmalloc' into docs-nextJonathan Corbet1-28/+27
2018-11-20docs/mm: update kmalloc kernel-doc descriptionMike Rapoport1-28/+27
2018-10-26mm, slab/slub: introduce kmalloc-reclaimable cachesVlastimil Babka1-1/+15
2018-10-26mm, slab: combine kmalloc_caches and kmalloc_dma_cachesVlastimil Babka1-11/+31
2018-08-17mm: introduce CONFIG_MEMCG_KMEM as combination of CONFIG_MEMCG && !CONFIG_SLOBKirill Tkhai1-1/+1
2018-06-15mm: fix race between kmem_cache destroy, create and deactivateShakeel Butt1-0/+1
2018-06-05mm: Use overflow helpers in kmalloc_array*()Kees Cook1-6/+11
2018-04-05headers: untangle kmemleak.h from mm.hRandy Dunlap1-1/+0
2018-04-05slab: make usercopy region 32-bitAlexey Dobriyan1-1/+1
2018-04-05slab: make kmem_cache_create() work with 32-bit sizesAlexey Dobriyan1-3/+4
2018-04-05slab: make kmalloc_size() return "unsigned int"Alexey Dobriyan1-2/+2
2018-04-05slab: make kmalloc_index() return "unsigned int"Alexey Dobriyan1-3/+3
2018-01-15usercopy: Allow strict enforcement of whitelistsKees Cook1-0/+2
2018-01-15usercopy: Prepare for usercopy whitelistingDavid Windsor1-6/+21
2018-01-15usercopy: Include offset in hardened usercopy reportKees Cook1-8/+4
2017-11-15mm: remove __GFP_COLDMel Gorman1-3/+0
2017-11-15kmemcheck: remove whats left of NOTRACK flagsLevin, Alexander (Sasha Levin)1-6/+0
2017-11-15include/linux/slab.h: add kmalloc_array_node() and kcalloc_node()Johannes Thumshirn1-0/+16
2017-11-15slab, slub, slob: convert slab_flags_t to 32-bitAlexey Dobriyan1-22/+22
2017-11-15slab, slub, slob: add slab_flags_tAlexey Dobriyan1-23/+37
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-12mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful s...Michal Hocko1-1/+2
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-2/+4
2017-02-22slab: remove synchronous synchronize_sched() from memcg cache deactivation pathTejun Heo1-0/+6
2017-02-22slab: implement slab_root_caches listTejun Heo1-0/+3
2017-02-22slab: link memcg kmem_caches on their associated memory cgroupTejun Heo1-0/+3
2017-02-22slab: reorganize memcg_cache_paramsTejun Heo1-9/+24
2017-01-10mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDERMichal Hocko1-2/+2
2016-09-06slab: Convert to hotplug state machineSebastian Andrzej Siewior1-0/+8
2016-08-08Merge tag 'usercopy-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ke...Linus Torvalds1-0/+12
2016-07-26mm: faster kmalloc_array(), kcalloc()Alexey Dobriyan1-0/+2
2016-07-26mm: Hardened usercopyKees Cook1-0/+12
2016-05-19include/linux: apply __malloc attributeRasmus Villemoes1-8/+8
2016-03-25mm, kasan: add GFP flags to KASAN APIAlexander Potapenko1-2/+2
2016-03-25mm, kasan: SLAB supportAlexander Potapenko1-0/+6
2016-03-15slub: convert SLAB_DEBUG_FREE to SLAB_CONSISTENCY_CHECKSLaura Abbott1-1/+1
2016-03-15mm: fix some spellingJesper Dangaard Brouer1-1/+1
2016-03-15mm: new API kfree_bulk() for SLAB+SLUB allocatorsJesper Dangaard Brouer1-0/+9
2016-01-20mm: memcontrol: move kmem accounting code to CONFIG_MEMCGJohannes Weiner1-1/+1
2016-01-14slab: add SLAB_ACCOUNT flagVladimir Davydov1-0/+5
2015-11-22slab/slub: adjust kmem_cache_alloc_bulk APIJesper Dangaard Brouer1-1/+1
2015-11-20slab.h: sprinkle __assume_aligned attributesRasmus Villemoes1-17/+26
2015-11-05slab: convert slab_is_available() to booleanDenis Kirjanov1-1/+1
2015-09-04slab: infrastructure for bulk object allocation and freeingChristoph Lameter1-0/+10
2015-06-29Fix kmalloc slab creation sequenceChristoph Lameter1-22/+0
2015-06-24linux/slab.h: fix three off-by-one typos in commentRasmus Villemoes1-2/+2
2015-06-24mm/slab_common: support the slub_debug boot option on specific object sizeGavin Guo1-0/+22
2015-04-14mm, slab: correct config option in commentDavid Rientjes1-1/+1
2015-02-13mm: slub: add kernel address sanitizer support for slub allocatorAndrey Ryabinin1-2/+9
2015-02-12memcg: free memcg_caches slot on css offlineVladimir Davydov1-5/+5
2015-02-12slab: link memcg caches of the same kind into a listVladimir Davydov1-0/+4
2015-02-12slab: embed memcg_cache_params to kmem_cacheVladimir Davydov1-10/+7
2015-02-10memcg: zap memcg_slab_caches and memcg_slab_mutexVladimir Davydov1-4/+2
2015-02-10memcg: zap memcg_name argument of memcg_create_kmem_cacheVladimir Davydov1-2/+1
2014-12-13memcg: fix possible use-after-free in memcg_kmem_get_cache()Vladimir Davydov1-2/+0
2014-12-10memcg: use generic slab iterators for showing slabinfoVladimir Davydov1-4/+0
2014-10-09mm/sl[ao]b: always track caller in kmalloc_(node_)track_caller()Joonsoo Kim1-22/+0
2014-10-09mm/slab_common: move kmem_cache definition to internal headerJoonsoo Kim1-41/+1
2014-06-04memcg: cleanup kmem cache creation/destruction functions namingVladimir Davydov1-1/+1
2014-06-04memcg: get rid of memcg_create_cache_nameVladimir Davydov1-1/+2
2014-06-04memcg, slab: simplify synchronization schemeVladimir Davydov1-4/+2
2014-06-04memcg, slab: do not schedule cache destruction when last page goes awayVladimir Davydov1-2/+0
2014-06-04mm: get rid of __GFP_KMEMCGVladimir Davydov1-10/+1
2014-04-13Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-0/+11
2014-04-07memcg, slab: separate memcg vs root cache creation pathsVladimir Davydov1-3/+3
2014-04-01slab: fix wrongly used macroJoonsoo Kim1-11/+11
2014-03-10mm: fix GFP_THISNODE callers and clarifyJohannes Weiner1-1/+1
2014-02-08slab: restrict the number of objects in a slabJoonsoo Kim1-0/+11
2014-02-02Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-4/+4
2014-01-31mm: sl[uo]b: fix misleading commentsDave Hansen1-4/+4
2014-01-23memcg, slab: RCU protect memcg_params for root cachesVladimir Davydov1-2/+7
2013-12-18slab.h: remove duplicate kmalloc declaration and fix kernel-doc warningsRandy Dunlap1-56/+46
2013-11-24slab.h: remove duplicate kmalloc declaration and fix kernel-doc warningsRandy Dunlap1-56/+46
2013-11-22Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-1/+8
2013-10-24slab: overloading the RCU head over the LRU for RCU freeJoonsoo Kim1-1/+8
2013-09-04slab: Use correct GFP_DMA constantChristoph Lameter1-1/+1
2013-09-04mm/sl[aou]b: Move kmallocXXX functions to common codeChristoph Lameter1-32/+124
2013-07-07slab: add kmalloc() to kernel API documentationMichael Opdenacker1-4/+14
2013-06-18slob: Rework #ifdeffery in slab.hChristoph Lameter1-11/+28
2013-02-06slab: Handle ARCH_DMA_MINALIGN correctlyChristoph Lameter1-14/+18
2013-02-01slab: Common definition for the array of kmalloc cachesChristoph Lameter1-0/+5
2013-02-01slab: Common constants for kmalloc boundariesChristoph Lameter1-10/+24
2013-02-01slab: Common kmalloc slab index determinationChristoph Lameter1-50/+122
2013-02-01slab: Move kmalloc related function defsChristoph Lameter1-9/+9
2012-12-18slab: propagate tunable valuesGlauber Costa1-1/+1
2012-12-18memcg: aggregate memcg cache values in slabinfoGlauber Costa1-0/+4
2012-12-18memcg: destroy memcg cachesGlauber Costa1-1/+9
2012-12-18slab/slub: consider a memcg parameter in kmem_create_cacheGlauber Costa1-1/+13
2012-12-18slab/slub: struct memcg_paramsGlauber Costa1-0/+24
2012-10-31mm/sl[aou]b: Move common kmem_cache_size() to slab.hEzequiel Garcia1-1/+8
2012-09-25mm, slob: Add support for kmalloc_track_caller()Ezequiel Garcia1-2/+4
2012-07-09mm, sl[aou]b: Common definition for boot state of the slab allocatorsChristoph Lameter1-4/+0
2012-07-09mm, sl[aou]b: Extract common code for kmem_cache_create()Christoph Lameter1-0/+4
2012-06-14mm, sl[aou]b: Extract common fields from struct kmem_cacheChristoph Lameter1-0/+24
2012-05-31introduce SIZE_MAXXi Wang1-1/+1
2012-03-06slab: introduce kmalloc_array()Xi Wang1-3/+14
2011-07-07slab allocators: Provide generic description of alignment definesChristoph Lameter1-0/+10
2011-06-16slab, slub, slob: Unify alignment definitionChristoph Lameter1-0/+10
2011-01-23mm: Remove support for kmem_cache_name()Christoph Lameter1-1/+0
2011-01-07kernel: kmem_ptr_validate considered harmfulNick Piggin1-2/+0
2010-07-04slab: fix caller tracking on !CONFIG_DEBUG_SLAB && CONFIG_TRACINGXiaotian Feng1-2/+4
2010-04-09slab: Generify kernel pointer validationPekka Enberg1-0/+1
2010-02-26failslab: add ability to filter slab cachesDmitry Monakhov1-0/+5
2009-06-15Merge commit 'linus/master' into HEADVegard Nossum1-0/+2