aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-06mm/slab: remove mm/slab.c and slab_def.hVlastimil Babka1-4005/+0
2023-12-05mm/slab, docs: switch mm-api docs generation from slab.c to slub.cVlastimil Babka1-21/+0
2023-07-18Randomized slab caches for kmalloc()GONG, Ruiqi1-1/+1
2023-06-29Merge tag 'slab-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/vba...Linus Torvalds1-26/+11
2023-06-19mm/slab: simplify create_kmalloc_cache() args and make it staticCatalin Marinas1-5/+1
2023-06-16Merge branches 'slab/for-6.5/prandom', 'slab/for-6.5/slab_no_merge' and 'slab...Vlastimil Babka1-20/+9
2023-05-22mm/slab: Replace invocation of weak PRNGDavid Keisar Schmidt1-20/+9
2023-05-22mm/slab: correct return values in comment for _kmem_cache_create()zhaoxinchao1-6/+2
2023-04-18mm: vmscan: refactor updating current->reclaim_stateYosry Ahmed1-2/+1
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-1/+1
2023-03-24Merge tag 'slab-fix-for-6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2023-03-22mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMPGeert Uytterhoeven1-1/+1
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-02-21Merge branch 'slab/for-6.3/fixes' into slab/for-linusVlastimil Babka1-8/+10
2023-02-21Merge branch 'slab/for-6.3/cleanups' into slab/for-linusVlastimil Babka1-11/+5
2023-02-08mm, slab/slub: Ensure kmem_cache_alloc_bulk() is available earlyThomas Gleixner1-8/+10
2023-01-18mm: introduce folio_is_pfmemallocSidhartha Kumar1-1/+1
2023-01-13mm/slab.c: cleanup is_debug_pagealloc_cache()lvqian1-6/+3
2023-01-13mm/sl{a,u}b: fix wrong usages of folio_page() for getting head pagesSeongJae Park1-2/+2
2023-01-02mm/slab: remove unused slab_early_initGou Hao1-3/+0
2023-01-02mm, slab: periodically resched in drain_freelist()David Rientjes1-0/+2
2022-11-21Merge branch 'slab/for-6.2/kmalloc_redzone' into slab/for-nextVlastimil Babka1-3/+4
2022-11-21Merge branch 'slab/for-6.2/fit_rcu_head' into slab/for-nextVlastimil Babka1-1/+5
2022-11-21Merge branch 'slab/for-6.2/locking' into slab/for-nextVlastimil Babka1-45/+45
2022-11-21mm/migrate: make isolate_movable_page() skip slab pagesVlastimil Babka1-1/+5
2022-11-21mm/slab: move and adjust kernel-doc for kmem_cache_allocVlastimil Babka1-10/+0
2022-11-10mm/slub: only zero requested size of buffer for kzalloc when debug enabledFeng Tang1-3/+4
2022-10-24mm/slab: Annotate kmem_cache_node->list_lock as rawJiri Kosina1-45/+45
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-10-15mm/slab: use kmalloc_node() for off slab freelist_idx_t array allocationHyeonggon Yoo1-18/+19
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-09-01mm/slab_common: drop kmem_alloc & avoid dereferencing fields when not usingHyeonggon Yoo1-5/+3
2022-09-01mm/slab_common: unify NUMA and UMA version of tracepointsHyeonggon Yoo1-5/+4
2022-09-01mm/sl[au]b: cleanup kmem_cache_alloc[_node]_trace()Hyeonggon Yoo1-35/+0
2022-09-01mm/sl[au]b: generalize kmalloc subsystemHyeonggon Yoo1-108/+0
2022-08-24mm/sl[au]b: introduce common alloc/free functions without tracepointHyeonggon Yoo1-7/+29
2022-08-24mm/slab: kmalloc: pass requests larger than order-1 page to page allocatorHyeonggon Yoo1-18/+42
2022-08-24mm/sl[au]b: factor out __do_kmalloc_node()Hyeonggon Yoo1-29/+1
2022-08-24mm/slab_common: cleanup kmalloc_track_caller()Hyeonggon Yoo1-6/+0
2022-08-24mm/slab_common: remove CONFIG_NUMA ifdefs for common kmalloc functionsHyeonggon Yoo1-2/+0
2022-08-24mm/slab: cleanup slab_alloc() and slab_alloc_node()Hyeonggon Yoo1-36/+13
2022-08-24mm/slab: move NUMA-related code to __do_cache_alloc()Hyeonggon Yoo1-37/+31
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-10/+0
2022-07-20mm/sl[au]b: use own bulk free function when bulk alloc failedHyeonggon Yoo1-1/+1
2022-07-04mm: slab: optimize memcg_slab_free_hook()Muchun Song1-2/+2
2022-07-04mm/tracing: add 'accounted' entry into output of allocation tracepointsVasily Averin1-5/+5
2022-07-04mm, slab: fix bad alignmentsJiapeng Chong1-2/+2
2022-06-16mm/slab: delete cache_alloc_debugcheck_before()Daniel Vetter1-10/+0
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+3
2022-05-25Merge tag 'slab-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/vb...Linus Torvalds1-21/+8
2022-05-13mm: make minimum slab alignment a runtime propertyPeter Collingbourne1-4/+3
2022-04-15mm, kfence: support kmem_dump_obj() for KFENCE objectsMarco Elver1-1/+1
2022-04-07mm/slab.c: fix commentsYixuan Cao1-6/+6
2022-04-05mm/slab: remove some unused functionsMiaohe Lin1-15/+2
2022-03-27mm: kfence: fix missing objcg housekeeping for SLABMuchun Song1-0/+1
2022-03-22mm: introduce kmem_cache_alloc_lruMuchun Song1-12/+27
2022-01-06mm/kasan: Convert to struct folio and struct slabMatthew Wilcox (Oracle)1-1/+1
2022-01-06mm: Convert struct page to struct slab in functions used by other subsystemsVlastimil Babka1-5/+5
2022-01-06mm/slab: Finish struct page to struct slab conversionVlastimil Babka1-10/+10
2022-01-06mm/slab: Convert most struct page to struct slab by spatchVlastimil Babka1-180/+180
2022-01-06mm/slab: Convert kmem_getpages() and kmem_freepages() to struct slabVlastimil Babka1-25/+28
2022-01-06mm: Convert check_heap_object() to use struct slabMatthew Wilcox (Oracle)1-7/+7
2022-01-06mm: Use struct slab in kmem_obj_info()Matthew Wilcox (Oracle)1-6/+6
2022-01-06mm: Convert [un]account_slab_page() to struct slabMatthew Wilcox (Oracle)1-2/+2
2022-01-06mm/slab: Dissolve slab_map_pages() in its callerVlastimil Babka1-13/+2
2021-11-20mm: emit the "free" trace report before freeing memory in kmem_cache_free()Yunfeng Ye1-2/+1
2021-11-06mm: remove HARDENED_USERCOPY_FALLBACKStephen Kitt1-13/+0
2021-11-06mm/slab.c: remove useless lines in enable_cpucache()Shi Lei1-3/+0
2021-10-18mm/migrate: add CPU hotplug to demotion #ifdefDave Hansen1-2/+2
2021-05-07mm: fix typos in commentsIngo Molnar1-3/+3
2021-05-07mm/slab.c: fix spelling mistake "disired" -> "desired"Colin Ian King1-1/+1
2021-04-30kasan, mm: integrate slab init_on_free with HW_TAGSAndrey Konovalov1-4/+11
2021-04-30kasan, mm: integrate slab init_on_alloc with HW_TAGSAndrey Konovalov1-15/+13
2021-04-11Merge branch 'for-mingo-rcu' of git://git.kernel.org/pub/scm/linux/kernel/git...Ingo Molnar1-0/+2
2021-03-13kfence, slab: fix cache_alloc_debugcheck_after() for bulk allocationsMarco Elver1-1/+1
2021-03-08mm: Don't build mm_dump_obj() on CONFIG_PRINTK=n kernelsPaul E. McKenney1-0/+2
2021-02-26mm, kfence: insert KFENCE hooks for SLABAlexander Potapenko1-9/+29
2021-02-24kasan: move _RET_IP_ to inline wrappersAndrey Konovalov1-1/+1
2021-02-24mm: memcg/slab: pre-allocate obj_cgroups for slab caches with SLAB_ACCOUNTRoman Gushchin1-1/+1
2021-02-24mm/slab: minor coding style tweaksZhiyuan Dai1-6/+6
2021-02-24mm/sl?b.c: remove ctor argument from kmem_cache_flagsNikolay Borisov1-2/+1
2021-02-24mm, tracing: record slab name for kmem_cache_free()Jacob Wen1-1/+1
2021-01-22mm: Add mem_dump_obj() to print source of memory blockPaul E. McKenney1-0/+20
2020-12-15mm: introduce debug_pagealloc_{map,unmap}_pages() helpersMike Rapoport1-1/+1
2020-12-15mm/slab: rerform init_on_free earlierAlexander Popov1-2/+3
2020-12-15mm, slab, slub: clear the slab_cache field when freeing pageVlastimil Babka1-1/+2
2020-10-16mm: fix some comments formattingChen Tao1-1/+1
2020-10-13mm: memcg/slab: uncharge during kmem_cache_free_bulk()Bharata B Rao1-1/+1
2020-10-13mm/slab.c: clean code by removing redundant if conditionMateusz Nosek1-2/+0
2020-09-26mm: slab: fix potential double free in ___cache_freeShakeel Butt1-2/+6
2020-08-07mm: slab: rename (un)charge_slab_page() to (un)account_slab_page()Roman Gushchin1-2/+2
2020-08-07mm: memcg/slab: remove unused argument by charge_slab_page()Roman Gushchin1-1/+1
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all allocationsRoman Gushchin1-38/+3
2020-08-07mm: memcg/slab: deprecate slab_root_cachesRoman Gushchin1-1/+0
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all accounted allocationsRoman Gushchin1-13/+3
2020-08-07mm: memcg/slab: save obj_cgroup for non-root slab objectsRoman Gushchin1-7/+11
2020-08-07mm, kcsan: instrument SLAB/SLUB free with "ASSERT_EXCLUSIVE_ACCESS"Marco Elver1-0/+5
2020-08-07mm, slab/slub: improve error reporting and overhead of cache_from_obj()Vlastimil Babka1-8/+0
2020-08-07mm, slab/slub: move and improve cache_from_obj()Vlastimil Babka1-0/+8
2020-08-07mm/slab.c: update outdated kmem_list3 in a commentXiao Yang1-1/+1
2020-08-07mm, slab: check GFP_SLAB_BUG_MASK before alloc_pages in kmalloc_orderLong Li1-7/+3
2020-08-07mm/slab: add naive detection of double freeKees Cook1-2/+12
2020-06-03mm/page_alloc: integrate classzone_idx and high_zoneidxJoonsoo Kim1-2/+2
2020-01-13mm, debug_pagealloc: don't rely on static keys too earlyVlastimil Babka1-2/+2
2019-12-01mm, slab: remove unused kmalloc_size()Pengfei Li1-2/+3
2019-12-01mm, slab: make kmalloc_info[] contain all types of namesPengfei Li1-1/+1
2019-10-14mm/slab.c: fix kernel-doc warning for __ksize()Randy Dunlap1-0/+3
2019-07-12mm: security: introduce init_on_alloc=1 and init_on_free=1 boot optionsAlexander Potapenko1-3/+13
2019-07-12mm: memcg/slab: unify SLAB and SLUB page accountingRoman Gushchin1-16/+3
2019-07-12mm: memcg/slab: generalize postponed non-root kmem_cache deactivationRoman Gushchin1-0/+4
2019-07-12mm: memcg/slab: postpone kmem_cache memcg pointer initialization to memcg_lin...Roman Gushchin1-1/+1
2019-07-12mm/slab: refactor common ksize KASAN logic into slab_common.cMarco Elver1-17/+5
2019-07-12mm/slab: sanity-check page type when looking up cacheKees Cook1-7/+9
2019-05-16slab: remove /proc/slab_allocatorsQian Cai1-225/+1
2019-05-14mm/slab.c: fix an infinite loop in leaks_show()Qian Cai1-1/+5
2019-05-14mm/slab.c: remove unneed check in cpuup_canceledLi RongQing1-4/+2
2019-05-14slab: use slab_list instead of lruTobin C. Harding1-24/+25
2019-05-06Merge branch 'x86-irq-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-42/+6
2019-04-19slab: store tagged freelist for off-slab slabmgmtQian Cai1-1/+0
2019-04-17mm/slab: Remove store_stackinfo()Qian Cai1-42/+6
2019-04-07slab: fix a crash by reading /proc/slab_allocatorsQian Cai1-1/+2
2019-03-29mm: add support for kmem caches in DMA32 zoneNicolas Boichat1-0/+2
2019-03-05docs/core-api/mm: fix return value descriptions in mm/Mike Rapoport1-0/+14
2019-03-05numa: make "nr_node_ids" unsigned intAlexey Dobriyan1-2/+1
2019-03-05mm/slab.c: kmemleak no scan alien cachesQian Cai1-8/+9
2019-02-21kasan, slab: remove redundant kasan_slab_alloc hooksAndrey Konovalov1-2/+0
2019-02-21kasan, slab: make freelist stored without tagsAndrey Konovalov1-2/+9
2019-02-21kasan, slab: fix conflicts with CONFIG_HARDENED_USERCOPYAndrey Konovalov1-0/+2
2019-01-08slab: alien caches must not be initialized if the allocation of the alien cac...Christoph Lameter1-2/+4
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-1/+1
2018-12-28kasan, mm, arm64: tag non slab memory allocated via pageallocAndrey Konovalov1-1/+1
2018-12-28mm: move obj_to_index to include/linux/slab_def.hAndrey Konovalov1-13/+0
2018-12-28kasan: preassign tags to objects with ctors or SLAB_TYPESAFE_BY_RCUAndrey Konovalov1-1/+1
2018-12-28kasan, mm: change hooks signaturesAndrey Konovalov1-6/+6
2018-11-27slab: Replace synchronize_sched() with synchronize_rcu()Paul E. McKenney1-2/+2
2018-10-26mm, slab: combine kmalloc_caches and kmalloc_dma_cachesVlastimil Babka1-2/+2
2018-10-26mm: don't warn about large allocations for slabDmitry Vyukov1-0/+4
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+2
2018-06-07slab,slub: remove rcu_head size checksMatthew Wilcox1-2/+0
2018-06-07slab: __GFP_ZERO is incompatible with a constructorMatthew Wilcox1-0/+2
2018-04-13mm, slab: reschedule cache_reap() on the same CPUVlastimil Babka1-1/+2
2018-04-05slab, slub: skip unnecessary kasan_cache_shutdown()Shakeel Butt1-0/+12
2018-04-05kasan: make kasan_cache_create() work with 32-bit slab cache sizesAlexey Dobriyan1-1/+1
2018-04-05slab: make kmem_cache_flags accept 32-bit object sizeAlexey Dobriyan1-1/+1
2018-04-05slab: make kmem_cache_create() work with 32-bit sizesAlexey Dobriyan1-1/+1
2018-03-28mm, slab: memcg_link the SLAB's kmem_cacheShakeel Butt1-0/+1
2018-02-06kasan: don't use __builtin_return_address(1)Dmitry Vyukov1-3/+3
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-9/+27
2018-01-31mm/slab.c: remove redundant assignments for slab_stateOscar Salvador1-4/+0
2018-01-15usercopy: Mark kmalloc caches as usercopy cachesDavid Windsor1-1/+2
2018-01-15usercopy: Allow strict enforcement of whitelistsKees Cook1-1/+2
2018-01-15usercopy: WARN() on slab cache usercopy region violationsKees Cook1-3/+19
2018-01-15usercopy: Prepare for usercopy whitelistingDavid Windsor1-1/+1
2018-01-15usercopy: Include offset in hardened usercopy reportKees Cook1-4/+4
2017-12-14mm/slab.c: do not hash pointers when debugging slabGeert Uytterhoeven1-13/+10
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-1/+1
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-14/+0
2017-11-15slab, slub, slob: convert slab_flags_t to 32-bitAlexey Dobriyan1-2/+2
2017-11-15slab, slub, slob: add slab_flags_tAlexey Dobriyan1-12/+11
2017-11-15mm/slab.c: only set __GFP_RECLAIMABLE onceDavid Rientjes1-2/+2
2017-11-15mm: slabinfo: remove CONFIG_SLABINFOYang Shi1-2/+0
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-06mm: memcontrol: account slab stats per lruvecJohannes Weiner1-8/+4
2017-07-06mm: vmstat: move slab statistics from zone to node countersJohannes Weiner1-4/+4
2017-07-06mm/slab.c: replace open-coded round-up code with ALIGNCanjiang Lu1-6/+2
2017-05-10Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2017-05-03slab: avoid IPIs when creating kmem cachesGreg Thelen1-1/+6
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-3/+3
2017-03-02sched/headers: Prepare to move kstack_end() from <linux/sched.h> to <linux/sc...Ingo Molnar1-0/+1
2017-02-22slab: introduce __kmemcg_cache_deactivate()Tejun Heo1-2/+9
2017-02-22Revert "slub: move synchronize_sched out of slab_mutex on shrink"Tejun Heo1-2/+2
2017-02-22mm, slab: rename kmalloc-node cache to kmalloc-<size>Vlastimil Babka1-1/+2
2017-01-10mm/slab.c: fix SLAB freelist randomization duplicate entriesJohn Sperbeck1-4/+4
2016-12-13Merge branch 'for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-6/+1
2016-12-12mm, slab: maintain total slab count instead of active countDavid Rientjes1-41/+29
2016-12-12mm, slab: faster active and free statsGreg Thelen1-70/+47
2016-12-12slub: move synchronize_sched out of slab_mutex on shrinkVladimir Davydov1-2/+2
2016-10-27mm/slab: improve performance of gathering slabinfo statsAruna Ramakrishna1-16/+27
2016-10-27mm/slab: fix kmemcg cache creation delayed issueJoonsoo Kim1-1/+1
2016-10-19Merge branch 'for-4.9' into for-4.10Tejun Heo1-6/+1
2016-09-17slab, workqueue: remove keventd_up() usageTejun Heo1-6/+1
2016-09-06slab: Convert to hotplug state machineSebastian Andrzej Siewior1-63/+51
2016-08-08Merge tag 'usercopy-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ke...Linus Torvalds1-0/+30
2016-08-02treewide: replace obsolete _refok by __refFabian Frederick1-1/+1
2016-08-02mm/kasan: get rid of ->state in struct kasan_alloc_metaAndrey Ryabinin1-1/+3
2016-07-26mm/slab: use list_move instead of list_del/list_addWei Yongjun1-2/+1
2016-07-26slab: do not panic on invalid gfp_maskMichal Hocko1-2/+4
2016-07-26slab: make GFP_SLAB_BUG_MASK information more human readableMichal Hocko1-1/+2
2016-07-26mm: reorganize SLAB freelist randomizationThomas Garnier1-60/+20
2016-07-26mm: SLAB hardened usercopy supportKees Cook1-0/+30
2016-05-20mm, kasan: don't call kasan_krealloc() from ksize().Alexander Potapenko1-1/+1
2016-05-20mm: kasan: initial memory quarantine implementationAlexander Potapenko1-2/+10
2016-05-19include/linux/nodemask.h: create next_node_in() helperAndrew Morton1-10/+3
2016-05-19mm: slab: remove ZONE_DMA_FLAGYang Shi1-22/+1
2016-05-19mm: SLAB freelist randomizationThomas Garnier1-2/+165
2016-05-19mm/slab: lockless decision to grow cacheJoonsoo Kim1-3/+18
2016-05-19mm/slab: refill cpu cache through a new slab without holding a node lockJoonsoo Kim1-32/+36
2016-05-19mm/slab: separate cache_grow() to two partsJoonsoo Kim1-22/+52
2016-05-19mm/slab: make cache_grow() handle the page allocated on arbitrary nodeJoonsoo Kim1-39/+21
2016-05-19mm/slab: racy access/modify the slab colorJoonsoo Kim1-13/+13