aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab_common.c
AgeCommit message (Expand)AuthorFilesLines
2021-11-06mm: remove HARDENED_USERCOPY_FALLBACKStephen Kitt1-8/+0
2021-09-04mm: slub: move flush_cpu_slab() invocations __free_slab() invocations out of ...Sebastian Andrzej Siewior1-0/+2
2021-07-04Merge branch 'core-rcu-2021.07.04' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+11
2021-06-29mm: memcg/slab: disable cache merging for KMALLOC_NORMAL cachesWaiman Long1-0/+7
2021-06-29mm: memcg/slab: create a new set of kmalloc-cg-<n> cachesWaiman Long1-9/+23
2021-06-29mm: slub: move sysfs slab alloc/free interfaces to debugfsFaiyaz Mohammed1-0/+2
2021-06-29mm, slub: change run-time assertion in kmalloc_index() to compile-timeHyeonggon Yoo1-4/+3
2021-06-29slab: use __func__ to trace function namegumingtao1-6/+6
2021-06-16mm/slub: fix redzoning for small allocationsKees Cook1-2/+1
2021-05-14mm, slub: move slub_debug static key enabling outside slab_mutexVlastimil Babka1-0/+10
2021-05-10mm/slub: Add Support for free path information of an objectManinder Singh1-1/+11
2021-04-30mm/slab_common: provide "slab_merge" option for !IS_ENABLED(CONFIG_SLAB_MERGE...Rafael Aquini1-0/+8
2021-03-08rcutorture: Add crude tests for mem_dump_obj()Paul E. McKenney1-0/+2
2021-03-08mm: Don't build mm_dump_obj() on CONFIG_PRINTK=n kernelsPaul E. McKenney1-0/+2
2021-02-26kasan, mm: optimize krealloc poisoningAndrey Konovalov1-6/+14
2021-02-26kasan, mm: fail krealloc on freed objectsAndrey Konovalov1-0/+3
2021-02-26kasan, mm: don't save alloc stacks twiceAndrey Konovalov1-0/+1
2021-02-26mm, kfence: insert KFENCE hooks for SLABAlexander Potapenko1-1/+4
2021-02-24kasan: fix bug detection via ksize for HW_TAGS modeAndrey Konovalov1-7/+9
2021-02-24mm: memcontrol: fix slub memory accountingMuchun Song1-2/+2
2021-02-24mm, slab, slub: stop taking cpu hotplug lockVlastimil Babka1-10/+0
2021-02-24mm, slab, slub: stop taking memory hotplug lockVlastimil Babka1-6/+2
2021-02-24mm/sl?b.c: remove ctor argument from kmem_cache_flagsNikolay Borisov1-1/+1
2021-01-22mm: Add mem_dump_obj() to print source of memory blockPaul E. McKenney1-0/+75
2020-12-22kasan, mm: allow cache merging with no metadataAndrey Konovalov1-1/+2
2020-12-22kasan: rename (un)poison_shadow to (un)poison_rangeAndrey Konovalov1-1/+1
2020-12-15mm: slab: clarify krealloc()'s behavior with __GFP_ZEROBartosz Golaszewski1-3/+3
2020-12-15mm/slab_common.c: use list_for_each_entry in dump_unreclaimable_slab()Hui Su1-2/+2
2020-08-12mm/slab_common.c: delete duplicated wordRandy Dunlap1-1/+1
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all allocationsRoman Gushchin1-225/+5
2020-08-07mm: memcg/slab: remove redundant check in memcg_accumulate_slabinfo()Roman Gushchin1-3/+0
2020-08-07mm: memcg/slab: deprecate slab_root_cachesRoman Gushchin1-29/+8
2020-08-07mm: memcg/slab: remove memcg_kmem_get_cache()Roman Gushchin1-1/+1
2020-08-07mm: memcg/slab: simplify memcg cache creationRoman Gushchin1-10/+12
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all accounted allocationsRoman Gushchin1-412/+47
2020-08-07mm: memcg/slab: deprecate memory.kmem.slabinfoRoman Gushchin1-27/+4
2020-08-07mm: memcg: convert vmstat slab counters to bytesRoman Gushchin1-2/+2
2020-08-07mm, slab: check GFP_SLAB_BUG_MASK before alloc_pages in kmalloc_orderLong Li1-0/+17
2020-08-07mm: ksize() should silently accept a NULL pointerWilliam Kucharski1-9/+5
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long1-4/+4
2020-07-24mm: memcg/slab: fix memory leak at non-root kmem_cache destroyMuchun Song1-7/+28
2020-06-26mm/slab: use memzero_explicit() in kzfree()Waiman Long1-1/+1
2020-06-02usercopy: mark dma-kmalloc caches as usercopy cachesVlastimil Babka1-1/+2
2020-04-10mm, slab_common: fix a typo in comment "eariler"->"earlier"Qiujun Huang1-1/+1
2020-04-07proc: faster open/read/close with "permanent" filesAlexey Dobriyan1-0/+1
2020-04-02mm, memcg: fix build error around the usage of kmem_cachesYafang Shao1-1/+1
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-8/+7
2020-02-04mm: remove __kreallocFlorian Westphal1-22/+0
2020-01-13mm: memcg/slab: call flush_memcg_workqueue() only if memcg workqueue is validAdrian Huang1-1/+2
2019-12-04mm: memcg/slab: wait for !root kmem_cache refcnt killing on root kmem_cache d...Roman Gushchin1-0/+12
2019-12-01mm, slab_common: use enum kmalloc_cache_type to iterate over kmalloc cachesPengfei Li1-2/+3
2019-12-01mm, slab: remove unused kmalloc_size()Pengfei Li1-3/+2
2019-12-01mm, slab: make kmalloc_info[] contain all types of namesPengfei Li1-42/+49
2019-10-19mm: memcg/slab: fix panic in __free_slab() caused by premature memcg pointer ...Roman Gushchin1-4/+5
2019-10-07mm, sl[aou]b: guarantee natural alignment for kmalloc(power-of-two)Vlastimil Babka1-1/+10
2019-10-07mm, sl[ou]b: improve memory accountingVlastimil Babka1-2/+6
2019-09-24mm, slab: extend slab/shrink to shrink all memcg cachesWaiman Long1-0/+37
2019-07-16mm/slab_common.c: work around clang bug #42570Arnd Bergmann1-1/+2
2019-07-12mm, memcg: add a memcg_slabinfo debugfs fileWaiman Long1-0/+60
2019-07-12mm: memcg/slab: reparent memcg kmem_caches on cgroup removalRoman Gushchin1-2/+17
2019-07-12mm: memcg/slab: rework non-root kmem_cache lifecycle managementRoman Gushchin1-34/+44
2019-07-12mm: memcg/slab: synchronize access to kmem_cache dying flag using a spinlockRoman Gushchin1-3/+12
2019-07-12mm: memcg/slab: don't check the dying flag on kmem_cache creationRoman Gushchin1-1/+1
2019-07-12mm: memcg/slab: generalize postponed non-root kmem_cache deactivationRoman Gushchin1-19/+8
2019-07-12mm: memcg/slab: rename slab delayed deactivation functions and fieldsRoman Gushchin1-15/+15
2019-07-12mm: memcg/slab: postpone kmem_cache memcg pointer initialization to memcg_lin...Roman Gushchin1-7/+7
2019-07-12mm/kasan: add object validation in ksize()Marco Elver1-1/+21
2019-07-12mm/slab: refactor common ksize KASAN logic into slab_common.cMarco Elver1-0/+26
2019-03-29mm: add support for kmem caches in DMA32 zoneNicolas Boichat1-1/+1
2019-03-05docs/core-api/mm: fix return value descriptions in mm/Mike Rapoport1-0/+6
2019-03-05mm, memcg: create mem_cgroup_from_seqChris Down1-3/+3
2019-02-21kmemleak: account for tagged pointers when calculating pointer rangeAndrey Konovalov1-0/+1
2019-02-21kasan, kmemleak: pass tagged pointers to kmemleakAndrey Konovalov1-1/+1
2018-12-29Merge tag 'docs-5.0' of git://git.lwn.net/linuxLinus Torvalds1-4/+31
2018-12-28mm, slab: remove unnecessary unlikely()Yangtao Li1-3/+1
2018-12-28kasan, mm: perform untagged pointers comparison in kreallocAndrey Konovalov1-1/+1
2018-12-28kasan, mm: change hooks signaturesAndrey Konovalov1-2/+2
2018-12-20slab: make kmem_cache_create{_usercopy} description proper kernel-docMike Rapoport1-4/+31
2018-11-27slab: Replace synchronize_sched() with synchronize_rcu()Paul E. McKenney1-3/+3
2018-10-26mm, slab: shorten kmalloc cache names for large sizesVlastimil Babka1-12/+26
2018-10-26mm, slab/slub: introduce kmalloc-reclaimable cachesVlastimil Babka1-17/+31
2018-10-26mm, slab: combine kmalloc_caches and kmalloc_dma_cachesVlastimil Babka1-19/+12
2018-10-26mm: don't warn about large allocations for slabDmitry Vyukov1-6/+6
2018-08-17mm: introduce CONFIG_MEMCG_KMEM as combination of CONFIG_MEMCG && !CONFIG_SLOBKirill Tkhai1-4/+4
2018-06-28slub: fix failure when we delete and create a slab cacheMikulas Patocka1-0/+4
2018-06-15mm: use octal not symbolic permissionsJoe Perches1-2/+2
2018-06-15mm: fix race between kmem_cache destroy, create and deactivateShakeel Butt1-1/+32
2018-04-05mm: make should_failslab always available for fault injectionHoward McLauchlan1-0/+8
2018-04-05mm/slab_common.c: remove test if cache name is accessibleMikulas Patocka1-19/+0
2018-04-05slab, slub: remove size disparity on debug kernelShakeel Butt1-5/+4
2018-04-05slab: use 32-bit arithmetic in freelist_randomize()Alexey Dobriyan1-2/+2
2018-04-05slab: make usercopy region 32-bitAlexey Dobriyan1-3/+4
2018-04-05slub: make ->object_size unsigned intAlexey Dobriyan1-1/+1
2018-04-05slab: make size_index_elem() unsigned intAlexey Dobriyan1-3/+3
2018-04-05slab: make size_index[] array u8Alexey Dobriyan1-2/+2
2018-04-05slab: make kmem_cache_create() work with 32-bit sizesAlexey Dobriyan1-9/+10
2018-04-05slab: make create_boot_cache() work with 32-bit sizesAlexey Dobriyan1-3/+4
2018-04-05slab: make create_kmalloc_cache() work with 32-bit sizesAlexey Dobriyan1-3/+3
2018-04-05slab: make kmalloc_size() return "unsigned int"Alexey Dobriyan1-2/+2
2018-04-05slab: fixup calculate_alignment() argument typeAlexey Dobriyan1-1/+1
2018-04-05mm/slab_common.c: mark kmalloc machinery as __ro_after_initAlexey Dobriyan1-3/+4
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-11/+51
2018-01-31mm/slab_common.c: make calculate_alignment() staticByongho Lee1-27/+29
2018-01-15usercopy: Restrict non-usercopy caches to size 0Kees Cook1-1/+1
2018-01-15usercopy: Mark kmalloc caches as usercopy cachesDavid Windsor1-4/+6
2018-01-15usercopy: Allow strict enforcement of whitelistsKees Cook1-0/+8
2018-01-15usercopy: Prepare for usercopy whitelistingDavid Windsor1-8/+38
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-1/+1
2017-11-15slab, slub, slob: add slab_flags_tAlexey Dobriyan1-8/+8
2017-11-15mm: oom: show unreclaimable slab info when unreclaimable slabs > user memoryYang Shi1-0/+34
2017-11-15mm: slabinfo: remove CONFIG_SLABINFOYang Shi1-4/+3
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-03mm: memcontrol: use vmalloc fallback for large kmem memcg arraysJohannes Weiner1-7/+15
2017-07-06mm: allow slab_nomerge to be set at build timeKees Cook1-3/+2
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-3/+3
2017-02-24kasan: drain quarantine of memcg slab objectsGreg Thelen1-1/+3
2017-02-22slab: use memcg_kmem_cache_wq for slab destruction operationsTejun Heo1-1/+1
2017-02-22slab: remove synchronous synchronize_sched() from memcg cache deactivation pathTejun Heo1-0/+60
2017-02-22slab: introduce __kmemcg_cache_deactivate()Tejun Heo1-2/+2
2017-02-22slab: implement slab_root_caches listTejun Heo1-25/+34
2017-02-22slab: link memcg kmem_caches on their associated memory cgroupTejun Heo1-7/+29
2017-02-22slab: reorganize memcg_cache_paramsTejun Heo1-12/+13
2017-02-22slab: remove synchronous rcu_barrier() call in memcg cache release pathTejun Heo1-42/+60
2017-02-22slub: separate out sysfs_slab_release() from sysfs_slab_remove()Tejun Heo1-1/+1
2017-02-22Revert "slub: move synchronize_sched out of slab_mutex on shrink"Tejun Heo1-25/+2
2017-02-22mm, slab: rename kmalloc-node cache to kmalloc-<size>Vlastimil Babka1-4/+1
2017-02-22slub: do not merge cache if slub_debug contains a never-merge flagGrygorii Maistrenko1-1/+4
2016-12-12mm/slab_common.c: check kmem_create_cache flags are commonThomas Garnier1-0/+6
2016-12-12slub: move synchronize_sched out of slab_mutex on shrinkVladimir Davydov1-2/+25
2016-11-11memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLABGreg Thelen1-2/+2
2016-07-26mm: charge/uncharge kmemcg from generic page allocator pathsVladimir Davydov1-1/+1
2016-07-26mm: reorganize SLAB freelist randomizationThomas Garnier1-0/+47
2016-07-23mm: memcontrol: fix cgroup creation failure after many small jobsJohannes Weiner1-2/+2
2016-05-20mm: kasan: initial memory quarantine implementationAlexander Potapenko1-0/+2
2016-03-25mm, kasan: add GFP flags to KASAN APIAlexander Potapenko1-2/+2
2016-03-25mm, kasan: SLAB supportAlexander Potapenko1-1/+1
2016-03-17mm: convert printk(KERN_<LEVEL> to pr_<level>Joe Perches1-1/+1
2016-03-17mm: coalesce split stringsJoe Perches1-6/+4
2016-03-17mm: memcontrol: zap memcg_kmem_online helperVladimir Davydov1-1/+1
2016-03-15mm: new API kfree_bulk() for SLAB+SLUB allocatorsJesper Dangaard Brouer1-2/+6
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-5/+5
2016-01-20mm: memcontrol: give the kmem states more descriptive namesJohannes Weiner1-2/+2
2016-01-14slab: add SLAB_ACCOUNT flagVladimir Davydov1-1/+2
2015-11-22slab/slub: adjust kmem_cache_alloc_bulk APIJesper Dangaard Brouer1-3/+3
2015-11-05mm/slab_common.c: initialize kmem_cache pointer to NULLAlexandru Moise1-2/+1
2015-11-05mm/slab_common.c: do not warn that cache is busy on destroy more than onceVladimir Davydov1-6/+7
2015-11-05mm/slab_common.c: clear pointers to per memcg caches on destroyVladimir Davydov1-15/+78
2015-11-05mm/slab_common.c: rename cache create/destroy helpersVladimir Davydov1-19/+18
2015-11-05slab: convert slab_is_available() to booleanDenis Kirjanov1-1/+1
2015-09-08memcg: export struct mem_cgroupMichal Hocko1-1/+1
2015-09-08mm/slab_common: allow NULL cache pointer in kmem_cache_destroy()Sergey Senozhatsky1-0/+3
2015-09-04slab: infrastructure for bulk object allocation and freeingChristoph Lameter1-0/+23
2015-08-07mm/slub: allow merging when SLAB_DEBUG_FREE is setKonstantin Khlebnikov1-2/+1
2015-07-01Add __init attribute to new_kmalloc_cacheChristoph Lameter1-1/+1
2015-06-29Fix kmalloc slab creation sequenceChristoph Lameter1-16/+16
2015-06-24slab: correct size_index table before replacing the bootstrap kmem_cache_nodeDaniel Sanders1-15/+21
2015-06-24mm/slab_common: support the slub_debug boot option on specific object sizeGavin Guo1-23/+39
2015-02-13mm: slub: add kernel address sanitizer support for slub allocatorAndrey Ryabinin1-1/+4
2015-02-13mm/slab: convert cache name allocations to kstrdup_constAndrzej Hajda1-6/+6
2015-02-12slub: make dead caches discard free slabs immediatelyVladimir Davydov1-2/+13
2015-02-12memcg: free memcg_caches slot on css offlineVladimir Davydov1-11/+28
2015-02-12slab: use css id for naming per memcg cachesVladimir Davydov1-3/+3
2015-02-12slab: link memcg caches of the same kind into a listVladimir Davydov1-11/+10
2015-02-12slab: embed memcg_cache_params to kmem_cacheVladimir Davydov1-58/+71
2015-02-12memcg: add rwsem to synchronize against memcg_caches arrays relocationVladimir Davydov1-5/+4
2015-02-12memcg: rename some cache id related variablesVladimir Davydov1-2/+2
2015-02-10memcg: zap memcg_slab_caches and memcg_slab_mutexVladimir Davydov1-39/+103
2015-02-10memcg: zap memcg_name argument of memcg_create_kmem_cacheVladimir Davydov1-4/+5
2015-02-10mm/slab_common.c: use kmem_cache_free()Vaishali Thakkar1-1/+1
2014-12-10memcg: use generic slab iterators for showing slabinfoVladimir Davydov1-6/+19
2014-12-10mm/slab: reverse iteration on find_mergeable()Joonsoo Kim1-1/+1
2014-12-10slab: print slabinfo header in seq showVladimir Davydov1-9/+6
2014-11-13mm/slab: fix unalignment problem on Malta with EVA due to slab mergeJoonsoo Kim1-0/+4
2014-10-29mm/slab_common: don't check for duplicate cache namesMikulas Patocka1-10/+0
2014-10-09memcg: move memcg_update_cache_size() to slab_common.cVladimir Davydov1-2/+28
2014-10-09memcg: move memcg_{alloc,free}_cache_params to slab_common.cVladimir Davydov1-1/+43
2014-10-09mm/slab_common: commonize slab merge logicJoonsoo Kim1-0/+91
2014-10-09mm/slab_common: move kmem_cache definition to internal headerJoonsoo Kim1-0/+9
2014-10-09mm/slab_common.c: suppress warningAndrew Morton1-1/+3
2014-08-06mm: move slab related stuff from util.c to slab_common.cAndrey Ryabinin1-0/+101
2014-07-22Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Mike Snitzer1-1/+1
2014-06-04slab: delete cache from list after __kmem_cache_shutdown succeedsVladimir Davydov1-2/+2
2014-06-04memcg: cleanup kmem cache creation/destruction functions namingVladimir Davydov1-6/+6
2014-06-04memcg: get rid of memcg_create_cache_nameVladimir Davydov1-2/+5
2014-06-04memcg, slab: simplify synchronization schemeVladimir Davydov1-15/+8
2014-06-04slab: get_online_mems for kmem_cache_{create,destroy,shrink}Vladimir Davydov1-2/+33
2014-06-04slab: document kmalloc_orderVladimir Davydov1-0/+5
2014-06-04mm: get rid of __GFP_KMEMCGVladimir Davydov1-0/+13
2014-06-04sl[au]b: charge slabs to kmemcg explicitlyVladimir Davydov1-5/+1
2014-05-24slab_common: fix the check for duplicate slab namesMikulas Patocka1-1/+1
2014-05-06slub: use sysfs'es release mechanism for kmem_cacheChristoph Lameter1-2/+11
2014-04-07memcg, slab: do not destroy children caches if parent has aliasesVladimir Davydov1-25/+50
2014-04-07memcg, slab: unregister cache from memcg before starting to destroy itVladimir Davydov1-1/+2
2014-04-07memcg, slab: separate memcg vs root cache creation pathsVladimir Davydov1-80/+107
2014-04-07memcg, slab: cleanup memcg cache creationVladimir Davydov1-1/+4
2014-04-07memcg, slab: never try to merge memcg cachesVladimir Davydov1-3/+5
2014-01-29slab: fix wrong retval on kmem_cache_create_memcg error pathDave Jones1-8/+11
2014-01-23slab: do not panic if we fail to create memcg cacheVladimir Davydov1-1/+8
2014-01-23memcg, slab: fix races in per-memcg cache creation/destructionVladimir Davydov1-1/+13