aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.h
AgeCommit message (Expand)AuthorFilesLines
2026-05-14slab: support for compiler-assisted type-based slab cache partitioningMarco Elver1-2/+2
2026-04-15Merge tag 'mm-stable-2026-04-13-21-45' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-6/+2
2026-04-05mm/slab: use compound_head() in page_slab()Kiryl Shutsemau1-13/+1
2026-04-05mm: rework compound_head() for power-of-2 sizeof(struct page)Kiryl Shutsemau1-4/+12
2026-04-05mm: rename the 'compound_head' field in the 'struct page' to 'compound_info'Kiryl Shutsemau1-1/+1
2026-03-19slab: decouple pointer to barn from kmem_cache_nodeVlastimil Babka (SUSE)1-1/+6
2026-03-04mm/slab: change stride type from unsigned short to unsigned intHarry Yoo1-5/+5
2026-02-26mm/slab: mark alloc tags empty for sheaves allocated with __GFP_NO_OBJ_EXTSuren Baghdasaryan1-2/+2
2026-02-10Merge branch 'slab/for-7.0/sheaves' into slab/for-nextVlastimil Babka1-40/+17
2026-02-04mm/slab: only allow SLAB_OBJ_EXT_IN_OBJ for unmergeable cachesHarry Yoo1-0/+1
2026-02-04mm/slab: move [__]ksize and slab_ksize() to mm/slub.cHarry Yoo1-27/+0
2026-02-04mm/memcontrol,alloc_tag: handle slabobj_ext access under KASAN poisonHarry Yoo1-3/+51
2026-02-04mm/slab: use stride to access slabobj_extHarry Yoo1-4/+33
2026-02-04mm/slab: abstract slabobj_ext access via new slab_obj_ext() helperHarry Yoo1-6/+37
2026-01-29slab: remove struct kmem_cache_cpuVlastimil Babka1-3/+4
2026-01-29slab: simplify kmalloc_nolock()Vlastimil Babka1-1/+0
2026-01-29slab: remove defer_deactivate_slab()Vlastimil Babka1-7/+1
2026-01-29slab: remove SLUB_CPU_PARTIALVlastimil Babka1-29/+0
2026-01-29slab: introduce percpu sheaves bootstrapVlastimil Babka1-0/+12
2026-01-27mm/slab: move and refactor __kmem_cache_alias()Vlastimil Babka1-5/+3
2025-12-07mm/slab: introduce kvfree_rcu_barrier_on_cache() for cache destructionHarry Yoo1-0/+1
2025-11-25Merge branch 'slab/for-6.19/freelist_aba_t_cleanups' into slab/for-nextVlastimil Babka1-28/+24
2025-11-25Merge branch 'slab/for-6.19/memdesc_prep' into slab/for-nextVlastimil Babka1-31/+27
2025-11-13slab: Remove references to folios from virt_to_slab()Matthew Wilcox (Oracle)1-19/+1
2025-11-13slab: Remove folio references from __ksize()Matthew Wilcox (Oracle)1-0/+10
2025-11-13slab: Reimplement page_slab()Matthew Wilcox (Oracle)1-12/+16
2025-11-10slab: turn freelist_aba_t to a struct and fully define counters thereVlastimil Babka1-28/+24
2025-11-07slub: remove CONFIG_SLUB_TINY specific code pathsVlastimil Babka1-2/+0
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+3
2025-09-29Merge series "slab: Re-entrant kmalloc_nolock()"Vlastimil Babka1-0/+7
2025-09-29Merge series "SLUB percpu sheaves"Vlastimil Babka1-0/+5
2025-09-29slab: Introduce kmalloc_nolock() and kfree_nolock().Alexei Starovoitov1-0/+6
2025-09-29slab: Make slub local_(try)lock more precise for LOCKDEPAlexei Starovoitov1-0/+1
2025-09-29slab: add sheaf support for batching kfree_rcu() operationsVlastimil Babka1-0/+3
2025-09-26slab: add opt-in caching layer of percpu sheavesVlastimil Babka1-0/+2
2025-09-16slab: prevent warnings when slab obj_exts vector allocation failsSuren Baghdasaryan1-2/+6
2025-09-13slab: use memdesc_nid()Matthew Wilcox (Oracle)1-2/+2
2025-09-13slab: use memdesc_flags_tMatthew Wilcox (Oracle)1-1/+1
2025-06-18slab: Add SL_pfmemalloc flagMatthew Wilcox (Oracle)1-24/+0
2025-06-18slab: Rename slab->__page_flags to slab->flagsMatthew Wilcox (Oracle)1-2/+2
2025-03-20Merge branch 'slab/for-6.15/kfree_rcu_tiny' into slab/for-nextVlastimil Babka1-0/+2
2025-03-04mm/slab: simplify SLAB_* flag handlingKevin Brodsky1-27/+5
2025-02-05rcu, slab: use a regular callback function for kvfree_rcuVlastimil Babka1-0/+2
2025-01-13mm/slab: fix kernel-doc func param namesRandy Dunlap1-2/+2
2024-11-16mm/slub: Avoid list corruption when removing a slab from the full listyuan.gao1-0/+5
2024-10-29mm/kasan: Don't store metadata inside kmalloc object when slub_debug_orig_siz...Feng Tang1-0/+6
2024-10-02mm, slab: suppress warnings in test_leak_destroy kunit testVlastimil Babka1-0/+6
2024-10-01mm, slab: fix use of SLAB_SUPPORTS_SYSFS in kmem_cache_release()Nilay Shroff1-1/+1
2024-09-13Merge branch 'slab/for-6.12/kmem_cache_args' into slab/for-nextVlastimil Babka1-1/+3
2024-09-10slab: remove rcu_freeptr_offset from struct kmem_cacheChristian Brauner1-2/+0
2024-09-10slab: pass struct kmem_cache_args to do_kmem_cache_create()Christian Brauner1-1/+3
2024-09-10slab: s/__kmem_cache_create/do_kmem_cache_create/gChristian Brauner1-1/+1
2024-09-10memcg: add charging of already allocated slab objectsShakeel Butt1-0/+7
2024-08-29mm: add kmem_cache_create_rcu()Christian Brauner1-0/+2
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2024-07-15Merge branch 'slab/for-6.11/buckets' into slab/for-nextVlastimil Babka1-4/+6
2024-07-15mm/memcg: alignment memcg_data define conditionAlex Shi (Tencent)1-1/+3
2024-07-10mm: remove CONFIG_MEMCG_KMEMJohannes Weiner1-1/+1
2024-07-03mm/slab: Plumb kmem_buckets into __do_kmalloc_node()Kees Cook1-2/+4
2024-05-31mm: Reduce the number of slab->folio castsMatthew Wilcox (Oracle)1-2/+2
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-25/+35
2024-05-05memcg: simple cleanup of stats update functionsShakeel Butt1-2/+0
2024-04-25mm, slab: move slab_memcg hooks to mm/memcontrol.cVlastimil Babka1-0/+13
2024-04-25mm: free up PG_slabMatthew Wilcox (Oracle)1-1/+1
2024-04-25slab: objext: introduce objext_flags as extension to page_memcg_data_flagsSuren Baghdasaryan1-4/+1
2024-04-25mm: introduce slabobj_ext to support slab object extensionsSuren Baghdasaryan1-25/+27
2024-03-25mm/slub: remove dummy slabinfo functionsXiu Jianfeng1-3/+0
2024-03-12Merge branch 'slab/for-6.9/slab-flag-cleanups' into slab/for-linusVlastimil Babka1-1/+0
2024-03-05slab: remove PARTIAL_NODE slab_stateChengming Zhou1-1/+0
2024-02-26mm, slab: deprecate SLAB_MEM_SPREAD flagVlastimil Babka1-1/+0
2024-02-21mm, slab: remove unused object_size parameter in kmem_cache_flags()Chengming Zhou1-2/+1
2024-01-30mm/slub: remove parameter 'flags' in create_kmalloc_caches()Zheng Yejian1-3/+1
2024-01-22mm/slub: unify all sl[au]b parameters with "slab_$param"Xiongwei Song1-1/+1
2023-12-06mm/slab: move kmalloc() functions from slab_common.c to slub.cVlastimil Babka1-3/+0
2023-12-06mm/slab: move kmalloc_slab() to mm/slab.hVlastimil Babka1-2/+26
2023-12-06mm/slab: move kfree() from slab_common.c to slub.cVlastimil Babka1-4/+0
2023-12-06mm/slab: move struct kmem_cache_node from slab.h to slub.cVlastimil Babka1-29/+0
2023-12-06mm/slab: move memcg related functions from slab.h to slub.cVlastimil Babka1-206/+0
2023-12-06mm/slab: move pre/post-alloc hooks from slab.h to slub.cVlastimil Babka1-72/+0
2023-12-06mm/slab: consolidate includes in the internal mm/slab.hVlastimil Babka1-14/+14
2023-12-06mm/slab: move the rest of slub_def.h to mm/slab.hVlastimil Babka1-1/+137
2023-12-05mm/slab: remove CONFIG_SLAB code from slab common codeVlastimil Babka1-64/+5
2023-10-25mm: kmem: scoped objcg protectionRoman Gushchin1-7/+8
2023-07-18Randomized slab caches for kmalloc()GONG, Ruiqi1-1/+1
2023-07-08kasan, slub: fix HW_TAGS zeroing with slub_debugAndrey Konovalov1-2/+14
2023-06-29Merge tag 'slab-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/vba...Linus Torvalds1-10/+3
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+2
2023-06-19mm/slab: simplify create_kmalloc_cache() args and make it staticCatalin Marinas1-3/+2
2023-06-16Merge branches 'slab/for-6.5/prandom', 'slab/for-6.5/slab_no_merge' and 'slab...Vlastimil Babka1-2/+3
2023-06-05slub: Replace cmpxchg_double()Peter Zijlstra1-7/+46
2023-06-02mm/slab: introduce kmem_cache flag SLAB_NO_MERGEJesper Dangaard Brouer1-2/+3
2023-05-24mm/slab: remove HAVE_HARDENED_USERCOPY_ALLOCATORVlastimil Babka1-8/+0
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+1
2023-04-05mm: move kmem_cache_init() declaration to mm/slab.hMike Rapoport (IBM)1-0/+1
2023-03-29mm/slab: remove CONFIG_SLOB code from slab common codeVlastimil Babka1-61/+0
2023-02-16mm: memcontrol: rename memcg_kmem_enabled()Roman Gushchin1-5/+5
2023-01-18mm/slab: add is_kmalloc_cache() helper functionFeng Tang1-0/+8
2022-12-01Merge branch 'slub-tiny-v1r6' into slab/for-nextVlastimil Babka1-2/+0
2022-12-01Merge branch 'slab/for-6.2/kmalloc_redzone' into slab/for-nextVlastimil Babka1-1/+3
2022-12-01mm/slub, kunit: Add a test case for kmalloc redzone checkFeng Tang1-1/+3
2022-11-27mm, slab: ignore hardened usercopy parameters when disabledVlastimil Babka1-2/+0
2022-11-21Merge branch 'slab/for-6.2/kmalloc_redzone' into slab/for-nextVlastimil Babka1-2/+20
2022-11-21Merge branch 'slab/for-6.2/fit_rcu_head' into slab/for-nextVlastimil Babka1-22/+32
2022-11-21mm/sl[au]b: rearrange struct slab fields to allow larger rcu_headVlastimil Babka1-22/+32
2022-11-11mm/slub: extend redzone check to extra allocated kmalloc space than requestedFeng Tang1-0/+4
2022-11-10mm/slub: only zero requested size of buffer for kzalloc when debug enabledFeng Tang1-2/+16
2022-10-24mm/slab: Annotate kmem_cache_node->list_lock as rawJiri Kosina1-2/+2
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+1
2022-10-03mm: kmsan: call KMSAN hooks from SLUB codeAlexander Potapenko1-0/+1
2022-09-01mm/slab_common: move declaration of __ksize() to mm/slab.hHyeonggon Yoo1-0/+2
2022-09-01mm/sl[au]b: generalize kmalloc subsystemHyeonggon Yoo1-2/+0
2022-08-24mm/sl[au]b: introduce common alloc/free functions without tracepointHyeonggon Yoo1-0/+5
2022-08-24mm/slab: kmalloc: pass requests larger than order-1 page to page allocatorHyeonggon Yoo1-0/+3
2022-08-24mm/slab_common: kmalloc_node: pass large requests to page allocatorHyeonggon Yoo1-0/+2
2022-07-20mm/slab_common: move generic bulk alloc/free functions to SLOBHyeonggon Yoo1-9/+0
2022-07-04mm: slab: optimize memcg_slab_free_hook()Muchun Song1-22/+8
2022-05-25Merge tag 'slab-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/vb...Linus Torvalds1-2/+3
2022-04-15mm, kfence: support kmem_dump_obj() for KFENCE objectsMarco Elver1-1/+1
2022-04-06mm/slub, kunit: Make slub_kunit unaffected by user specified flagsHyeonggon Yoo1-2/+3
2022-03-22mm: introduce kmem_cache_alloc_lruMuchun Song1-4/+21
2022-01-18Merge tag 'slab-for-5.17-part2' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-6/+0
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+0
2022-01-15mm: slab: make slab iterator functions staticMuchun Song1-5/+0
2022-01-06mm: Remove slab from struct pageMatthew Wilcox (Oracle)1-6/+0
2022-01-06mm/slob: Remove unnecessary page_mapcount_reset() function callHyeonggon Yoo1-2/+2
2022-01-06mm/slub: Define struct slab fields for CONFIG_SLUB_CPU_PARTIAL only when enabledVlastimil Babka1-0/+2
2022-01-06mm/slub: Simplify struct slab slabs field definitionVlastimil Babka1-4/+0
2022-01-06mm/sl*b: Differentiate struct slab fields by sl*b implementationsVlastimil Babka1-10/+38
2022-01-06mm/memcg: Convert slab objcgs from struct page to struct slabVlastimil Babka1-23/+50
2022-01-06mm: Convert struct page to struct slab in functions used by other subsystemsVlastimil Babka1-2/+2
2022-01-06mm: Convert check_heap_object() to use struct slabMatthew Wilcox (Oracle)1-0/+11
2022-01-06mm: Use struct slab in kmem_obj_info()Matthew Wilcox (Oracle)1-2/+2
2022-01-06mm: Convert virt_to_cache() to use struct slabMatthew Wilcox (Oracle)1-4/+4
2022-01-06mm: Convert [un]account_slab_page() to struct slabMatthew Wilcox (Oracle)1-9/+8
2022-01-06mm: Split slab into its own typeMatthew Wilcox (Oracle)1-0/+167
2021-11-20mm: kmemleak: slob: respect SLAB_NOLEAKTRACE flagRustam Kovhaev1-1/+1
2021-07-30mm/memcg: fix NULL pointer dereference in memcg_slab_free_hook()Wang Hai1-1/+1
2021-07-15mm: move helper to check slub_debug_enabledMarco Elver1-4/+11
2021-07-04Merge branch 'core-rcu-2021.07.04' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2021-06-29mm: memcg/slab: properly set up gfp flags for objcg pointer arrayWaiman Long1-1/+0
2021-06-29mm/memcg: move mod_objcg_state() to memcontrol.cWaiman Long1-14/+2
2021-06-29mm: slub: move sysfs slab alloc/free interfaces to debugfsFaiyaz Mohammed1-0/+6
2021-06-29mm/slub, kunit: add a KUnit test for SLUB debugging functionalityOliver Glitta1-0/+1
2021-05-10mm/slub: Add Support for free path information of an objectManinder Singh1-0/+1
2021-04-30kasan, mm: integrate slab init_on_alloc with HW_TAGSAndrey Konovalov1-4/+13
2021-04-28Merge tag 'core-rcu-2021-04-28' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+2
2021-04-08init_on_alloc: Optimize static branchesKees Cook1-2/+4
2021-03-08mm: Don't build mm_dump_obj() on CONFIG_PRINTK=n kernelsPaul E. McKenney1-0/+2
2021-02-24mm: memcg/slab: pre-allocate obj_cgroups for slab caches with SLAB_ACCOUNTRoman Gushchin1-4/+10
2021-02-24mm/sl?b.c: remove ctor argument from kmem_cache_flagsNikolay Borisov1-4/+2
2021-01-22mm: Add mem_dump_obj() to print source of memory blockPaul E. McKenney1-0/+12
2020-12-15Merge tag 'net-next-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-29/+9
2020-12-15mm: extract might_alloc() debug checkDaniel Vetter1-4/+1
2020-12-15mm: memcontrol: remove unused mod_memcg_obj_state()Muchun Song1-2/+2
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-16/+24
2020-12-06mm: memcg/slab: fix obj_cgroup_charge() return value handlingRoman Gushchin1-16/+24
2020-12-02mm: memcontrol/slab: Use helpers to access slab page's memcg_dataRoman Gushchin1-27/+8
2020-12-02mm: memcontrol: Use helpers to read page's memcg dataRoman Gushchin1-5/+4
2020-10-18mm: kmem: move memcg_kmem_bypass() calls to get_mem/obj_cgroup_from_current()Roman Gushchin1-3/+0
2020-10-16mm/slab.h: remove duplicate includeYueHaibing1-1/+0
2020-10-13mm: memcg/slab: uncharge during kmem_cache_free_bulk()Bharata B Rao1-15/+27
2020-08-07mm: slab: rename (un)charge_slab_page() to (un)account_slab_page()Roman Gushchin1-4/+4
2020-08-07mm: memcg/slab: remove unused argument by charge_slab_page()Roman Gushchin1-2/+1
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all allocationsRoman Gushchin1-152/+42
2020-08-07mm: memcg/slab: deprecate slab_root_cachesRoman Gushchin1-17/+0
2020-08-07mm: memcg/slab: remove memcg_kmem_get_cache()Roman Gushchin1-2/+9
2020-08-07mm: memcg/slab: simplify memcg cache creationRoman Gushchin1-0/+2
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all accounted allocationsRoman Gushchin1-100/+44
2020-08-07mm: memcg/slab: charge individual slab objects instead of pagesRoman Gushchin1-96/+78
2020-08-07mm: memcg/slab: save obj_cgroup for non-root slab objectsRoman Gushchin1-6/+54
2020-08-07mm: memcg/slab: allocate obj_cgroups for non-root slab pagesRoman Gushchin1-0/+52
2020-08-07mm: memcontrol: decouple reference counting from page accountingJohannes Weiner1-2/+0
2020-08-07mm: memcg: convert vmstat slab counters to bytesRoman Gushchin1-7/+8
2020-08-07mm, slab/slub: improve error reporting and overhead of cache_from_obj()Vlastimil Babka1-0/+45
2020-08-07mm, slab/slub: move and improve cache_from_obj()Vlastimil Babka1-23/+0
2020-08-07mm, slab: check GFP_SLAB_BUG_MASK before alloc_pages in kmalloc_orderLong Li1-0/+1
2020-06-26mm, slab: fix sign conversion problem in memcg_uncharge_slab()Waiman Long1-2/+2
2020-04-02mm: kmem: rename (__)memcg_kmem_(un)charge_memcg() to __memcg_kmem_(un)charge()Roman Gushchin1-2/+2
2020-04-02mm: memcg/slab: cache page number in memcg_(un)charge_slab()Roman Gushchin1-10/+12
2020-04-02mm: kmem: switch to nr_pages in (__)memcg_kmem_charge_memcg()Roman Gushchin1-1/+1
2020-04-02mm: kmem: cleanup memcg_kmem_uncharge_memcg() argumentsRoman Gushchin1-1/+1
2020-04-02mm: kmem: cleanup (__)memcg_kmem_charge_memcg() argumentsRoman Gushchin1-1/+1
2019-12-01mm: clean up and clarify lruvec lookup procedureJohannes Weiner1-2/+2
2019-12-01mm, slab: make kmalloc_info[] contain all types of namesPengfei Li1-1/+1
2019-11-06mm: slab: make page_cgroup_ino() to recognize non-compound slab pages properlyRoman Gushchin1-2/+2
2019-09-24mm, slab: move memcg_cache_params structure to mm/slab.hWaiman Long1-0/+63
2019-09-24mm, slab: extend slab/shrink to shrink all memcg cachesWaiman Long1-0/+1
2019-07-12mm: security: introduce init_on_alloc=1 and init_on_free=1 boot optionsAlexander Potapenko1-0/+20
2019-07-12mm: memcg/slab: reparent memcg kmem_caches on cgroup removalRoman Gushchin1-9/+32
2019-07-12mm: memcg/slab: stop setting page->mem_cgroup pointer for slab pagesRoman Gushchin1-13/+61
2019-07-12mm: memcg/slab: rework non-root kmem_cache lifecycle managementRoman Gushchin1-32/+12
2019-07-12mm: memcg/slab: unify SLAB and SLUB page accountingRoman Gushchin1-0/+25
2019-07-12mm: memcg/slab: generalize postponed non-root kmem_cache deactivationRoman Gushchin1-2/+1
2019-07-12mm: memcg/slab: rename slab delayed deactivation functions and fieldsRoman Gushchin1-1/+1
2019-07-12mm: memcg/slab: postpone kmem_cache memcg pointer initialization to memcg_lin...Roman Gushchin1-2/+3
2019-07-12mm/slab: sanity-check page type when looking up cacheKees Cook1-4/+13
2019-07-12mm/slab: validate cache membership under freelist hardeningKees Cook1-8/+6
2019-03-29mm: add support for kmem caches in DMA32 zoneNicolas Boichat1-1/+2
2019-03-05memcg: localize memcg_kmem_enabled() checkShakeel Butt1-4/+0
2019-02-21kmemleak: account for tagged pointers when calculating pointer rangeAndrey Konovalov1-0/+1