aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.h
AgeCommit message (Expand)AuthorFilesLines
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-101/+45
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
2019-02-21kasan, kmemleak: pass tagged pointers to kmemleakAndrey Konovalov1-4/+2
2018-12-28kasan, mm: change hooks signaturesAndrey Konovalov1-1/+1
2018-08-17mm: introduce CONFIG_MEMCG_KMEM as combination of CONFIG_MEMCG && !CONFIG_SLOBKirill Tkhai1-3/+3
2018-04-05slab, slub: skip unnecessary kasan_cache_shutdown()Shakeel Butt1-0/+1
2018-04-05slab: make usercopy region 32-bitAlexey Dobriyan1-2/+2
2018-04-05slab: make kmem_cache_flags accept 32-bit object sizeAlexey Dobriyan1-2/+2
2018-04-05slab: make kmem_cache_create() work with 32-bit sizesAlexey Dobriyan1-3/+3
2018-04-05slab: make create_boot_cache() work with 32-bit sizesAlexey Dobriyan1-2/+2
2018-04-05slab: make create_kmalloc_cache() work with 32-bit sizesAlexey Dobriyan1-4/+4
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+6
2018-01-31mm/slab_common.c: make calculate_alignment() staticByongho Lee1-3/+0
2018-01-15usercopy: Mark kmalloc caches as usercopy cachesDavid Windsor1-1/+2
2018-01-15usercopy: Prepare for usercopy whitelistingDavid Windsor1-1/+4
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-3/+2
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-2/+0
2017-11-15slab, slub, slob: add slab_flags_tAlexey Dobriyan1-13/+13
2017-11-15mm: oom: show unreclaimable slab info when unreclaimable slabs > user memoryYang Shi1-0/+8
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-24locking/barriers: Convert users of lockless_dereference() to READ_ONCE()Will Deacon1-1/+1
2017-08-10locking/lockdep: Rework FS_RECLAIM annotationPeter Zijlstra1-1/+5
2017-07-06mm: memcontrol: account slab stats per lruvecJohannes Weiner1-17/+1
2017-07-06mm: memcontrol: use generic mod_memcg_page_state for kmem pagesJohannes Weiner1-8/+8
2017-07-06mm: memcontrol: use the node-native slab memory countersJohannes Weiner1-2/+2
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-2/+2
2017-02-22slab: remove synchronous synchronize_sched() from memcg cache deactivation pathTejun Heo1-0/+2
2017-02-22slab: introduce __kmemcg_cache_deactivate()Tejun Heo1-1/+2
2017-02-22slab: implement slab_root_caches listTejun Heo1-0/+15
2017-02-22slab: link memcg kmem_caches on their associated memory cgroupTejun Heo1-0/+3
2017-02-22slab: reorganize memcg_cache_paramsTejun Heo1-3/+3
2017-02-22Revert "slub: move synchronize_sched out of slab_mutex on shrink"Tejun Heo1-1/+1
2017-02-22mm, slab: rename kmalloc-node cache to kmalloc-<size>Vlastimil Babka1-0/+6
2016-12-12mm, slab: maintain total slab count instead of active countDavid Rientjes1-2/+2
2016-12-12mm, slab: faster active and free statsGreg Thelen1-1/+2
2016-12-12mm/slab_common.c: check kmem_create_cache flags are commonThomas Garnier1-0/+15
2016-12-12slub: move synchronize_sched out of slab_mutex on shrinkVladimir Davydov1-1/+1
2016-10-27mm/slab: improve performance of gathering slabinfo statsAruna Ramakrishna1-0/+1
2016-07-28mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUBAlexander Potapenko1-0/+2
2016-07-26mm: memcontrol: cleanup kmem charge functionsVladimir Davydov1-4/+12
2016-07-26mm: reorganize SLAB freelist randomizationThomas Garnier1-0/+14
2016-05-20mm: kasan: initial memory quarantine implementationAlexander Potapenko1-0/+2
2016-03-25mm, kasan: add GFP flags to KASAN APIAlexander Potapenko1-1/+1
2016-03-17mm: memcontrol: report slab usage in cgroup2 memory.statVladimir Davydov1-2/+28
2016-03-15slub: convert SLAB_DEBUG_FREE to SLAB_CONSISTENCY_CHECKSLaura Abbott1-2/+3
2016-03-15mm: fix some spellingJesper Dangaard Brouer1-1/+1
2016-03-15mm: fault-inject take over bootstrap kmem_cache checkJesper Dangaard Brouer1-1/+1
2016-03-15mm/slab: move SLUB alloc hooks to common mm/slab.hJesper Dangaard Brouer1-0/+62
2016-02-18mm: slab: free kmem_cache_node after destroy sysfs fileDmitry Safonov1-0/+1
2016-01-20mm: memcontrol: move kmem accounting code to CONFIG_MEMCGJohannes Weiner1-3/+3
2016-01-14slab: add SLAB_ACCOUNT flagVladimir Davydov1-2/+3
2015-11-22slab/slub: adjust kmem_cache_alloc_bulk APIJesper Dangaard Brouer1-1/+1
2015-11-05memcg: unify slab and other kmem pages chargingVladimir Davydov1-17/+7
2015-11-05mm/slab_common.c: clear pointers to per memcg caches on destroyVladimir Davydov1-6/+0
2015-09-04mm/slab.h: fix argument order in cache_from_obj's error messageDaniel Borkmann1-1/+1
2015-09-04slab: infrastructure for bulk object allocation and freeingChristoph Lameter1-0/+9
2015-06-24slab: correct size_index table before replacing the bootstrap kmem_cache_nodeDaniel Sanders1-0/+1
2015-02-12slub: make dead caches discard free slabs immediatelyVladimir Davydov1-1/+1
2015-02-12slab: link memcg caches of the same kind into a listVladimir Davydov1-0/+17
2015-02-12slab: embed memcg_cache_params to kmem_cacheVladimir Davydov1-25/+23
2015-02-10memcg: zap __memcg_{charge,uncharge}_slabVladimir Davydov1-2/+2
2014-12-10memcg: use generic slab iterators for showing slabinfoVladimir Davydov1-0/+1
2014-12-10slab: replace smp_read_barrier_depends() with lockless_dereference()Pranith Kumar1-3/+3
2014-12-10slab: print slabinfo header in seq showVladimir Davydov1-0/+1
2014-10-09mm/slab: use percpu allocator for cpu cacheJoonsoo Kim1-1/+0
2014-10-09mm/slab: support slab mergeJoonsoo Kim1-1/+1
2014-10-09mm/slab_common: commonize slab merge logicJoonsoo Kim1-0/+15
2014-10-09slab: fix for_each_kmem_cache_node()Mikulas Patocka1-2/+2
2014-10-09mm/slab_common: move kmem_cache definition to internal headerJoonsoo Kim1-0/+35
2014-08-06slab: convert last use of __FUNCTION__ to __func__Joe Perches1-1/+1
2014-08-06slab: introduce alien_cacheJoonsoo Kim1-1/+1
2014-08-06mm: slab.h: wrap the whole file with guarding macroAndrey Ryabinin1-1/+2
2014-08-06slab common: add functions for kmem_cache_node accessChristoph Lameter1-1/+16
2014-06-04memcg, slab: merge memcg_{bind,release}_pages to memcg_{un}charge_slabVladimir Davydov1-23/+2
2014-06-04memcg, slab: do not schedule cache destruction when last page goes awayVladimir Davydov1-5/+2
2014-06-04slab: get_online_mems for kmem_cache_{create,destroy,shrink}Vladimir Davydov1-0/+1
2014-06-04sl[au]b: charge slabs to kmemcg explicitlyVladimir Davydov1-0/+29
2014-05-06slub: use sysfs'es release mechanism for kmem_cacheChristoph Lameter1-0/+1
2014-04-07memcg, slab: never try to merge memcg cachesVladimir Davydov1-17/+4
2014-01-23memcg, slab: RCU protect memcg_params for root cachesVladimir Davydov1-1/+15
2014-01-23memcg, slab: fix barrier usage when accessing memcg_cachesVladimir Davydov1-1/+11
2013-11-13memcg, kmem: rename cache_from_memcg to cache_from_memcg_idxQiang Huang1-2/+4
2013-08-28memcg: check that kmem_cache has memcg_params before accessing itAndrey Vagin1-0/+2
2013-07-08mm/slab: Give s_next and s_stop slab-specific namesWanpeng Li1-2/+2
2013-07-07mm/slab: Sharing s_next and s_stop between slab and slubWanpeng Li1-0/+3
2013-02-01slab: Common definition for kmem_cache_nodeChristoph Lameter1-0/+32
2013-02-01slab: Rename list3/l3 to nodeChristoph Lameter1-1/+1
2013-02-01slab: Common Kmalloc cache determinationChristoph Lameter1-0/+3
2013-02-01slab: Common function to create the kmalloc arrayChristoph Lameter1-0/+6
2012-12-18slab: propagate tunable valuesGlauber Costa1-0/+12
2012-12-18memcg: aggregate memcg cache values in slabinfoGlauber Costa1-0/+27
2012-12-18memcg: destroy memcg cachesGlauber Costa1-0/+23
2012-12-18sl[au]b: always get the cache from its page in kmem_cache_free()Glauber Costa1-0/+39
2012-12-18slab/slub: consider a memcg parameter in kmem_create_cacheGlauber Costa1-4/+19
2012-12-18slab/slub: struct memcg_paramsGlauber Costa1-0/+13
2012-12-11mm/sl[aou]b: Common alignment codeChristoph Lameter1-0/+3
2012-12-11mm, sl[au]b: create common functions for boot slab creationChristoph Lameter1-0/+5
2012-10-31slab: Ignore internal flags in cache creationGlauber Costa1-0/+25
2012-10-24sl[au]b: Process slabinfo_show in common codeGlauber Costa1-1/+15
2012-10-24mm/sl[au]b: Move print_slabinfo_header to slab_common.cGlauber Costa1-2/+0
2012-10-24mm/sl[au]b: Move slabinfo processing to slab_common.cGlauber Costa1-0/+8
2012-09-05Revert "mm/sl[aou]b: Move sysfs_slab_add to common"Pekka Enberg1-3/+0
2012-09-05mm/sl[aou]b: Shrink __kmem_cache_create() parameter listsChristoph Lameter1-2/+1
2012-09-05mm/sl[aou]b: Move kmem_cache allocations into common codeChristoph Lameter1-2/+2
2012-09-05mm/sl[aou]b: Move sysfs_slab_add to commonChristoph Lameter1-0/+3
2012-09-05mm/sl[aou]b: Do slab aliasing call from common codeChristoph Lameter1-0/+10
2012-09-05mm/sl[aou]b: Get rid of __kmem_cache_destroyChristoph Lameter1-1/+0
2012-09-05mm/sl[aou]b: Use "kmem_cache" name for slab cache with kmem_cache structChristoph Lameter1-0/+6
2012-09-05mm/sl[aou]b: Extract a common function for kmem_cache_destroyChristoph Lameter1-0/+3
2012-07-09mm, sl[aou]b: Use a common mutex definitionChristoph Lameter1-0/+4
2012-07-09mm, sl[aou]b: Common definition for boot state of the slab allocatorsChristoph Lameter1-0/+29