aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-05-19mm/slab: don't keep free slabs if free_objects exceeds free_limitJoonsoo Kim1-9/+14
2016-05-19mm/slab: clean-up kmem_cache_node setupJoonsoo Kim1-100/+68
2016-05-19mm/slab: factor out kmem_cache_node initialization codeJoonsoo Kim1-29/+45
2016-05-19mm/slab: drain the free slab as much as possibleJoonsoo Kim1-9/+3
2016-05-19mm/slab: remove BAD_ALIEN_MAGIC againJoonsoo Kim1-4/+2
2016-05-19mm/slab: fix the theoretical race by holding proper lockJoonsoo Kim1-23/+45
2016-03-25mm, kasan: add GFP flags to KASAN APIAlexander Potapenko1-7/+8
2016-03-25mm, kasan: SLAB supportAlexander Potapenko1-6/+37
2016-03-17mm: convert printk(KERN_<LEVEL> to pr_<level>Joe Perches1-27/+24
2016-03-17mm: coalesce split stringsJoe Perches1-18/+10
2016-03-17mm: thp: set THP defrag by default to madvise and add a stall-free defrag optionMel Gorman1-4/+4
2016-03-17mm: memcontrol: report slab usage in cgroup2 memory.statVladimir Davydov1-3/+5
2016-03-15mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory()Vlastimil Babka1-6/+4
2016-03-15mm/slab: re-implement pfmemalloc supportJoonsoo Kim1-168/+116
2016-03-15mm/slab: avoid returning values by referenceJoonsoo Kim1-5/+8
2016-03-15mm/slab: introduce new slab management type, OBJFREELIST_SLABJoonsoo Kim1-8/+86
2016-03-15mm/slab: factor out debugging initialization in cache_init_objs()Joonsoo Kim1-6/+18
2016-03-15mm/slab: factor out slab list fixup codeJoonsoo Kim1-12/+13
2016-03-15mm/slab: make criteria for off slab determination robust and simpleJoonsoo Kim1-28/+17
2016-03-15mm/slab: do not change cache size if debug pagealloc isn't possibleJoonsoo Kim1-4/+11
2016-03-15mm/slab: clean up cache type determinationJoonsoo Kim1-34/+71
2016-03-15mm/slab: align cache size first before determination of OFF_SLAB candidateJoonsoo Kim1-11/+15
2016-03-15mm/slab: put the freelist at the end of slab pageJoonsoo Kim1-68/+22
2016-03-15mm/slab: remove object status buffer for DEBUG_SLAB_LEAKJoonsoo Kim1-32/+2
2016-03-15mm/slab: alternative implementation for DEBUG_SLAB_LEAKJoonsoo Kim1-22/+63
2016-03-15mm/slab: clean up DEBUG_PAGEALLOC processing codeJoonsoo Kim1-48/+49
2016-03-15mm/slab: use more appropriate condition check for debug_pageallocJoonsoo Kim1-3/+1
2016-03-15mm/slab: activate debug_pagealloc in SLAB when it is actually enabledJoonsoo Kim1-5/+10
2016-03-15mm/slab: remove the checks for slab implementation bugJoonsoo Kim1-22/+7
2016-03-15mm/slab: remove useless structure defineJoonsoo Kim1-10/+1
2016-03-15mm/slab: fix stale code commentJoonsoo Kim1-1/+1
2016-03-15mm: new API kfree_bulk() for SLAB+SLUB allocatorsJesper Dangaard Brouer1-1/+4
2016-03-15slab: implement bulk free in SLAB allocatorJesper Dangaard Brouer1-6/+23
2016-03-15slab: avoid running debug SLAB code with IRQs disabled for alloc_bulkJesper Dangaard Brouer1-3/+13
2016-03-15slab: implement bulk alloc in SLAB allocatorJesper Dangaard Brouer1-2/+35
2016-03-15slab: use slab_post_alloc_hook in SLAB allocator shared with SLUBJesper Dangaard Brouer1-16/+6
2016-03-15slab: use slab_pre_alloc_hook in SLAB allocator shared with SLUBJesper Dangaard Brouer1-12/+4
2016-03-15mm: fault-inject take over bootstrap kmem_cache checkJesper Dangaard Brouer1-10/+2
2016-02-18mm: slab: free kmem_cache_node after destroy sysfs fileDmitry Safonov1-6/+6
2016-01-14mm/slab.c: add a helper function get_first_slabGeliang Tang1-18/+21
2016-01-14mm/slab.c: use list_for_each_entry in cache_flusharrayGeliang Tang1-7/+2
2016-01-14mm/slab.c use list_first_entry_or_null()Geliang Tang1-12/+12
2015-11-22slab/slub: adjust kmem_cache_alloc_bulk APIJesper Dangaard Brouer1-1/+1
2015-11-06slab, slub: use page->rcu_head instead of page->lru plus castKirill A. Shutemov1-14/+3
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-9/+9
2015-11-05memcg: unify slab and other kmem pages chargingVladimir Davydov1-6/+6
2015-11-05mm: slab: only move management objects off-slab for sizes larger than KMALLOC...Catalin Marinas1-2/+3
2015-10-01mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1)Joonsoo Kim1-3/+10
2015-09-08mm: rename alloc_pages_exact_node() to __alloc_pages_node()Vlastimil Babka1-1/+1
2015-09-04slab: infrastructure for bulk object allocation and freeingChristoph Lameter1-0/+13
2015-08-21mm: make page pfmemalloc check more robustMichal Hocko1-2/+2
2015-06-24slab: correct size_index table before replacing the bootstrap kmem_cache_nodeDaniel Sanders1-0/+1
2015-04-14mm: remove GFP_THISNODEDavid Rientjes1-4/+18
2015-02-12slub: make dead caches discard free slabs immediatelyVladimir Davydov1-2/+2
2015-02-12slab: link memcg caches of the same kind into a listVladimir Davydov1-8/+5
2014-12-13slab: fix cpuset check in fallback_allocVladimir Davydov1-1/+1
2014-12-13memcg: fix possible use-after-free in memcg_kmem_get_cache()Vladimir Davydov1-0/+2
2014-12-11Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-1/+1
2014-12-10slab: improve checking for invalid gfp_flagsAndrew Morton1-1/+4
2014-12-10slab: print slabinfo header in seq showVladimir Davydov1-7/+1
2014-12-10mm: slab/slub: coding style: whitespaces and tabs mixtureLQYMGT1-5/+5
2014-12-03slab: fix nodeid bounds check for non-contiguous node IDsPaul Mackerras1-1/+1
2014-10-27cpuset: simplify cpuset_node_allowed APIVladimir Davydov1-1/+1
2014-10-14mm/slab: fix unaligned access on sparc64Joonsoo Kim1-1/+1
2014-10-09mm/slab.c: use __seq_open_private() instead of seq_open()Rob Jones1-13/+9
2014-10-09mm/slab: use percpu allocator for cpu cacheJoonsoo Kim1-164/+75
2014-10-09mm/slab: support slab mergeJoonsoo Kim1-0/+26
2014-10-09mm/slab: factor out unlikely part of cache_free_alien()Joonsoo Kim1-17/+21
2014-10-09mm/slab: noinline __ac_put_obj()Joonsoo Kim1-2/+2
2014-10-09mm/slab: move cache_flusharray() out of unlikely.text sectionJoonsoo Kim1-1/+1
2014-10-09mm/sl[ao]b: always track caller in kmalloc_(node_)track_caller()Joonsoo Kim1-18/+0
2014-09-27Merge branch 'for-3.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2014-09-26mm, slab: initialize object alignment on cache creationDavid Rientjes1-9/+2
2014-09-24cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should be atomic flagsZefan Li1-2/+2
2014-08-08Revert "slab: remove BAD_ALIEN_MAGIC"Joonsoo Kim1-1/+3
2014-08-06mm/slab.c: fix commentsWang Sheng-Hui1-4/+5
2014-08-06slab: change int to size_t for representing allocation sizeJoonsoo Kim1-4/+4
2014-08-06slab: remove BAD_ALIEN_MAGICJoonsoo Kim1-3/+1
2014-08-06slab: remove a useless lockdep annotationJoonsoo Kim1-153/+0
2014-08-06slab: destroy a slab without holding any alien cache lockJoonsoo Kim1-7/+13
2014-08-06slab: use the lock on alien_cache, instead of the lock on array_cacheJoonsoo Kim1-17/+8
2014-08-06slab: introduce alien_cacheJoonsoo Kim1-41/+67
2014-08-06slab: factor out initialization of array cacheJoonsoo Kim1-14/+19
2014-08-06slab: defer slab_destroy in free_block()Joonsoo Kim1-19/+41
2014-08-06slab: move up code to get kmem_cache_node in free_block()Joonsoo Kim1-2/+1
2014-08-06slab: add unlikely macro to help compilerJoonsoo Kim1-1/+1
2014-08-06slab: use get_node() and kmem_cache_node() functionsChristoph Lameter1-93/+80
2014-08-06mm/slab.c: add __init to init_lock_keysFabian Frederick1-2/+2
2014-06-23slab: fix oops when reading /proc/slab_allocatorsJoonsoo Kim1-19/+71
2014-06-04memcg, slab: merge memcg_{bind,release}_pages to memcg_{un}charge_slabVladimir Davydov1-2/+0
2014-06-04slab: get_online_mems for kmem_cache_{create,destroy,shrink}Vladimir Davydov1-24/+2
2014-06-04sl[au]b: charge slabs to kmemcg explicitlyVladimir Davydov1-1/+6
2014-06-04mm, slab: suppress out of memory warning unless debug is enabledDavid Rientjes1-2/+8
2014-05-05slab: Fix off by one in object max number tests.David Miller1-1/+1
2014-05-05slab: fix the type of the index on freelist index accessorJoonsoo Kim1-2/+2
2014-04-13Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-76/+107
2014-04-11mm: slab/slub: use page->list consistently instead of page->lruDave Hansen1-2/+2
2014-04-07mm, mempolicy: remove per-process flagDavid Rientjes1-2/+2
2014-04-07mm, mempolicy: rename slab_node for clarityDavid Rientjes1-2/+2
2014-04-03mm: optimize put_mems_allowed() usageMel Gorman1-2/+2
2014-04-01mm/slab.c: cleanup outdated comments and unify variables namingJianyu Zhan1-34/+32
2014-02-08slab: Make allocations with GFP_ZERO slightly more efficientJoe Perches1-8/+8
2014-02-08slab: make more slab management structure off the slabJoonsoo Kim1-1/+1
2014-02-08slab: introduce byte sized index for the freelist of a slabJoonsoo Kim1-9/+9
2014-02-08slab: restrict the number of objects in a slabJoonsoo Kim1-0/+21
2014-02-08slab: introduce helper functions to get/set free objectJoonsoo Kim1-7/+13
2014-02-08slab: factor out calculate nr objects in cache_estimateJoonsoo Kim1-21/+27
2014-01-31mm: Fix warning on make htmldocs caused by slab.cMasanari Iida1-1/+1
2013-11-22Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-354/+217
2013-11-13memcg, kmem: rename cache_from_memcg to cache_from_memcg_idxQiang Huang1-1/+1
2013-10-30slab: replace non-existing 'struct freelist *' with 'void *'Joonsoo Kim1-5/+5
2013-10-30slab: fix to calm down kmemleak warningJoonsoo Kim1-8/+0
2013-10-24slab: rename slab_bufctl to slab_freelistJoonsoo Kim1-6/+6