aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
AgeCommit message (Expand)AuthorFilesLines
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-3/+4
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-5/+7
2018-06-07slub: remove 'reserved' file from sysfsMatthew Wilcox1-7/+0
2018-06-07slub: remove kmem_cache->reservedMatthew Wilcox1-21/+20
2018-06-07slab,slub: remove rcu_head size checksMatthew Wilcox1-25/+2
2018-06-07mm: move lru union within struct pageMatthew Wilcox1-4/+4
2018-06-07mm: move 'private' union within struct pageMatthew Wilcox1-18/+2
2018-06-07mm: switch s_mem and slab_cache in struct pageMatthew Wilcox1-0/+1
2018-06-07mm/slub: remove obsolete commentCanjiang Lu1-6/+0
2018-06-07mm/slub.c: add __printf verification to slab_err()Mathieu Malaterre1-1/+1
2018-06-07slab: __GFP_ZERO is incompatible with a constructorMatthew Wilcox1-0/+2
2018-04-11kasan, slub: fix handling of kasan_slab_free hookAndrey Konovalov1-23/+34
2018-04-05slab, slub: skip unnecessary kasan_cache_shutdown()Shakeel Butt1-0/+11
2018-04-05slub: make size_from_object() return unsigned intAlexey Dobriyan1-1/+1
2018-04-05slub: make struct kmem_cache_order_objects::x unsigned intAlexey Dobriyan1-35/+39
2018-04-05slub: make slab_index() return unsigned intAlexey Dobriyan1-1/+1
2018-04-05slab: make usercopy region 32-bitAlexey Dobriyan1-1/+1
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-2/+2
2018-04-05slub: make ->size unsigned intAlexey Dobriyan1-6/+6
2018-04-05slub: make ->object_size unsigned intAlexey Dobriyan1-4/+4
2018-04-05slub: make ->cpu_partial unsigned intAlexey Dobriyan1-3/+3
2018-04-05slub: make ->inuse unsigned intAlexey Dobriyan1-3/+2
2018-04-05slub: make ->align unsigned intAlexey Dobriyan1-1/+1
2018-04-05slub: make ->reserved unsigned intAlexey Dobriyan1-1/+1
2018-04-05slub: make ->remote_node_defrag_ratio unsigned intAlexey Dobriyan1-5/+6
2018-04-05slab: make kmem_cache_create() work with 32-bit sizesAlexey Dobriyan1-1/+1
2018-04-05mm/slub.c: use jitter-free reference while printing ageChintan Pandya1-4/+5
2018-02-06kasan: don't use __builtin_return_address(1)Dmitry Vyukov1-4/+4
2018-02-06kasan: detect invalid frees for large objectsDmitry Vyukov1-2/+2
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-12/+37
2018-01-31slub: remove obsolete comments of put_cpu_partial()Miles Chen1-3/+1
2018-01-31mm/slub.c: fix wrong address during slab padding restorationBalasubramani Vivekanandan1-3/+5
2018-01-15usercopy: Allow strict enforcement of whitelistsKees Cook1-1/+2
2018-01-15usercopy: WARN() on slab cache usercopy region violationsKees Cook1-4/+19
2018-01-15usercopy: Prepare for usercopy whitelistingDavid Windsor1-2/+9
2018-01-15usercopy: Include offset in hardened usercopy reportKees Cook1-6/+8
2017-11-15kmemcheck: rip it outLevin, Alexander (Sasha Levin)1-3/+2
2017-11-15kmemcheck: remove whats left of NOTRACK flagsLevin, Alexander (Sasha Levin)1-2/+0
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-3/+1
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-20/+0
2017-11-15slub: fix sysfs duplicate filename creation when slub_debug=OMiles Chen1-0/+4
2017-11-15slab, slub, slob: convert slab_flags_t to 32-bitAlexey Dobriyan1-3/+3
2017-11-15slab, slub, slob: add slab_flags_tAlexey Dobriyan1-12/+14
2017-11-15mm: slabinfo: remove CONFIG_SLABINFOYang Shi1-2/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-13mm: treewide: remove GFP_TEMPORARY allocation flagMichal Hocko1-1/+1
2017-09-08treewide: make "nr_cpu_ids" unsignedAlexey Dobriyan1-1/+1
2017-09-06mm/slub.c: constify attribute_group structuresArvind Yadav1-1/+1
2017-09-06mm/slub.c: add a naive detection of double free or corruptionAlexander Popov1-0/+4
2017-09-06mm: add SLUB free list pointer obfuscationKees Cook1-5/+37
2017-09-06slub: tidy up initialization orderingAlexander Potapenko1-2/+2
2017-08-18slub: fix per memcg cache leak on css offlineVladimir Davydov1-1/+2
2017-07-06mm: memcontrol: account slab stats per lruvecJohannes Weiner1-2/+2
2017-07-06mm: vmstat: move slab statistics from zone to node countersJohannes Weiner1-2/+2
2017-07-06mm/slub.c: wrap kmem_cache->cpu_partial in config CONFIG_SLUB_CPU_PARTIALWei Yang1-31/+38
2017-07-06mm/slub.c: wrap cpu_slab->partial in CONFIG_SLUB_CPU_PARTIALWei Yang1-7/+11
2017-07-06mm/slub: reset cpu_slab's pointer in deactivate_slab()Wei Yang1-13/+8
2017-07-06mm/slub.c: remove a redundant assignment in ___slab_alloc()Wei Yang1-1/+0
2017-06-23slub: make sysfs file removal asynchronousTejun Heo1-14/+26
2017-06-02slub/memcg: cure the brainless abuse of sysfs attributesThomas Gleixner1-2/+4
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-6/+6
2017-02-22slub: make sysfs directories for memcg sub-caches optionalTejun Heo1-2/+24
2017-02-22slab: remove slub sysfs interface files early for empty memcg cachesTejun Heo1-2/+23
2017-02-22slab: remove synchronous synchronize_sched() from memcg cache deactivation pathTejun Heo1-4/+8
2017-02-22slab: introduce __kmemcg_cache_deactivate()Tejun Heo1-17/+22
2017-02-22slab: implement slab_root_caches listTejun Heo1-0/+1
2017-02-22slub: separate out sysfs_slab_release() from sysfs_slab_remove()Tejun Heo1-2/+10
2017-02-22Revert "slub: move synchronize_sched out of slab_mutex on shrink"Tejun Heo1-2/+17
2017-02-22mm/slub: add a dump_stack() to the unexpected GFP checkBorislav Petkov1-0/+1
2017-02-08mm/slub.c: fix random_seq offset destructionSean Rees1-0/+4
2017-01-24mm/slub.c: trace free objects at KERN_INFODaniel Thompson1-10/+13
2016-12-12slub: avoid false-postive warningArnd Bergmann1-1/+1
2016-12-12slub: move synchronize_sched out of slab_mutex on shrinkVladimir Davydov1-17/+2
2016-09-06slub: Convert to hotplug state machineSebastian Andrzej Siewior1-44/+21
2016-08-10mm/slub.c: run free_partial() outside of the kmem_cache_node->list_lockChris Wilson1-1/+5
2016-08-08Merge tag 'usercopy-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ke...Linus Torvalds1-0/+40
2016-08-04slub: drop bogus inline for fixup_red_left()Geert Uytterhoeven1-1/+1
2016-08-02mm/kasan: get rid of ->state in struct kasan_alloc_metaAndrey Ryabinin1-0/+1
2016-07-28mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUBAlexander Potapenko1-13/+44
2016-07-28mm, kasan: account for object redzone in SLUB's nearest_obj()Alexander Potapenko1-1/+1
2016-07-26mm: charge/uncharge kmemcg from generic page allocator pathsVladimir Davydov1-3/+3
2016-07-26slab: do not panic on invalid gfp_maskMichal Hocko1-2/+3
2016-07-26slab: make GFP_SLAB_BUG_MASK information more human readableMichal Hocko1-1/+2
2016-07-26mm: SLUB freelist randomizationThomas Garnier1-7/+126
2016-07-26mm: SLUB hardened usercopy supportKees Cook1-0/+40
2016-05-20mm, kasan: don't call kasan_krealloc() from ksize().Alexander Potapenko1-2/+3
2016-05-19mm: rename _count, field of the struct page, to _refcountJoonsoo Kim1-2/+2
2016-05-19mm/slub.c: fix sysfs filename in commentLi Peng1-5/+5
2016-05-19mm/slub.c: replace kick_all_cpus_sync() with synchronize_sched() in kmem_cach...Vladimir Davydov1-1/+1
2016-03-25mm, kasan: add GFP flags to KASAN APIAlexander Potapenko1-7/+8
2016-03-17mm: coalesce split stringsJoe Perches1-10/+9
2016-03-17mm: thp: set THP defrag by default to madvise and add a stall-free defrag optionMel Gorman1-1/+1
2016-03-17mm/slub: query dynamic DEBUG_PAGEALLOC settingJoonsoo Kim1-4/+3
2016-03-17mm: memcontrol: report slab usage in cgroup2 memory.statVladimir Davydov1-1/+2
2016-03-15mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory()Vlastimil Babka1-2/+2
2016-03-15mm/slub: support left redzoneJoonsoo Kim1-29/+71
2016-03-15slub: relax CMPXCHG consistency restrictionsLaura Abbott1-3/+9
2016-03-15slub: convert SLAB_DEBUG_FREE to SLAB_CONSISTENCY_CHECKSLaura Abbott1-35/+59
2016-03-15slub: fix/clean free_debug_processing return pathsLaura Abbott1-11/+10
2016-03-15slub: drop lock at the end of free_debug_processingLaura Abbott1-14/+11
2016-03-15mm: new API kfree_bulk() for SLAB+SLUB allocatorsJesper Dangaard Brouer1-3/+18
2016-03-15mm/slab: move SLUB alloc hooks to common mm/slab.hJesper Dangaard Brouer1-54/+0
2016-03-15slub: clean up code for kmem cgroup support to kmem_cache_free_bulkJesper Dangaard Brouer1-11/+11
2016-02-18mm: slab: free kmem_cache_node after destroy sysfs fileDmitry Safonov1-21/+17
2016-01-20mm: memcontrol: move kmem accounting code to CONFIG_MEMCGJohannes Weiner1-5/+5
2016-01-15page-flags: define PG_locked behavior on compound pagesKirill A. Shutemov1-0/+2
2016-01-14slab: add SLAB_ACCOUNT flagVladimir Davydov1-0/+2
2015-11-22slab/slub: adjust kmem_cache_alloc_bulk APIJesper Dangaard Brouer1-4/+4
2015-11-22slub: add missing kmem cgroup support to kmem_cache_free_bulkJesper Dangaard Brouer1-1/+5
2015-11-22slub: fix kmem cgroup bug in kmem_cache_alloc_bulkJesper Dangaard Brouer1-18/+22
2015-11-22slub: optimize bulk slowpath free by detached freelistJesper Dangaard Brouer1-30/+79
2015-11-22slub: support for bulk free with SLUB freelistsJesper Dangaard Brouer1-18/+67
2015-11-20slub: mark the dangling ifdef #else of CONFIG_SLUB_DEBUGJesper Dangaard Brouer1-1/+1
2015-11-20slub: avoid irqoff/on in bulk allocationChristoph Lameter1-13/+11
2015-11-20slub: create new ___slab_alloc function that can be called with irqs disabledChristoph Lameter1-15/+29
2015-11-06slab, slub: use page->rcu_head instead of page->lru plus castKirill A. Shutemov1-4/+1
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-5/+5
2015-11-05mm, slub, kasan: enable user tracking by default with KASAN=yAndrey Ryabinin1-1/+3
2015-11-05memcg: unify slab and other kmem pages chargingVladimir Davydov1-7/+5
2015-11-05mm/slub: calculate start order with reserved in considerationWei Yang1-5/+1
2015-11-05mm/slub: use get_order() instead of fls()Wei Yang1-2/+1
2015-11-05mm/slub: correct the comment in calculate_order()Wei Yang1-1/+1
2015-09-08mm: rename alloc_pages_exact_node() to __alloc_pages_node()Vlastimil Babka1-1/+1
2015-09-04mm/slub: don't wait for high-order page allocationJoonsoo Kim1-0/+2
2015-09-04mm/slub: fix slab double-free in case of duplicate sysfs filenameKonstantin Khlebnikov1-3/+1
2015-09-04mm/slub: move slab initialization into irq enabled regionThomas Gleixner1-47/+42
2015-09-04slub: add support for kmem_cache_debug in bulk callsJesper Dangaard Brouer1-9/+19
2015-09-04slub: initial bulk free implementationJesper Dangaard Brouer1-1/+33
2015-09-04slub: improve bulk alloc strategyJesper Dangaard Brouer1-10/+16
2015-09-04slub bulk alloc: extract objects from the per cpu slabJesper Dangaard Brouer1-2/+47
2015-09-04slab: infrastructure for bulk object allocation and freeingChristoph Lameter1-0/+14
2015-09-04slub: fix spelling succedd to succeedJesper Dangaard Brouer1-1/+1
2015-08-21mm: make page pfmemalloc check more robustMichal Hocko1-1/+1
2015-06-24slab: correct size_index table before replacing the bootstrap kmem_cache_nodeDaniel Sanders1-0/+1
2015-04-15mm: remove rest of ACCESS_ONCE() usagesJason Low1-2/+2
2015-04-14slub: use bool function return values of true/false not 1/0Joe Perches1-6/+6
2015-04-14mm/slub.c: parse slub_debug O option in switch statementChris J Arges1-9/+7
2015-03-25mm/slub: fix lockups on PREEMPT && !SMP kernelsMark Rutland1-2/+4
2015-02-13mm: slub: add kernel address sanitizer support for slub allocatorAndrey Ryabinin1-2/+29
2015-02-13mm: slub: introduce metadata_access_enable()/metadata_access_disable()Andrey Ryabinin1-0/+25
2015-02-13mm: slub: share object_err functionAndrey Ryabinin1-1/+1
2015-02-13slub: use %*pb[l] to print bitmaps including cpumasks and nodemasksTejun Heo1-12/+8
2015-02-12slub: make dead caches discard free slabs immediatelyVladimir Davydov1-5/+26
2015-02-12slub: fix kmem_cache_shrink return valueVladimir Davydov1-1/+5
2015-02-12slub: never fail to shrink cacheVladimir Davydov1-27/+31
2015-02-12slab: link memcg caches of the same kind into a listVladimir Davydov1-14/+5
2015-02-12slab: embed memcg_cache_params to kmem_cacheVladimir Davydov1-2/+3
2015-02-10mm/slub.c: fix typo in commentKim Phillips1-1/+1
2015-02-10mm/slub: optimize alloc/free fastpath by removing preemption on/offJoonsoo Kim1-12/+23
2014-12-13slub: fix cpuset check in get_any_partialVladimir Davydov1-2/+1
2014-12-13memcg: fix possible use-after-free in memcg_kmem_get_cache()Vladimir Davydov1-5/+9
2014-12-11Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-1/+2
2014-12-10slab: improve checking for invalid gfp_flagsAndrew Morton1-1/+4
2014-12-10mm: slub: fix format mismatches in slab_err() callersAndrey Ryabinin1-3/+3
2014-12-10mm: slab/slub: coding style: whitespaces and tabs mixtureLQYMGT1-5/+5
2014-10-27cpuset: simplify cpuset_node_allowed APIVladimir Davydov1-1/+2
2014-10-09mm/slab_common: commonize slab merge logicJoonsoo Kim1-89/+2
2014-10-09slub: fall back to node_to_mem_node() node if allocating on memoryless nodeJoonsoo Kim1-6/+18
2014-10-09slub: disable tracing and failslab for merged slabsChristoph Lameter1-0/+11
2014-08-06slub: remove kmemcg id from create_unique_idVladimir Davydov1-6/+0
2014-08-06slab: fix the alias count (via sysfs) of slab cacheGu Zheng1-1/+1
2014-08-06mm, slub: fix some indenting in cmpxchg_double_slab()Dan Carpenter1-6/+6
2014-08-06slub: avoid duplicate creation on the first objectWei Yang1-8/+11
2014-08-06mm: slub: SLUB_DEBUG=n: use the same alloc/free hooks as for SLUB_DEBUG=yAndrey Ryabinin1-61/+36
2014-08-06mm, slub: mark resiliency_test as init textDavid Rientjes1-1/+1
2014-08-06slub: use new node functionsChristoph Lameter1-49/+29
2014-08-06slab common: add functions for kmem_cache_node accessChristoph Lameter1-5/+0
2014-07-03slub: fix off by one in number of slab testsJoonsoo Kim1-3/+3
2014-06-06slub: search partial list on numa_mem_id(), instead of numa_node_id()Joonsoo Kim1-1/+1
2014-06-04mm: replace __get_cpu_var uses with this_cpu_ptrChristoph Lameter1-3/+3
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-3/+2
2014-06-04mem-hotplug: implement get/put_online_memsVladimir Davydov1-2/+2
2014-06-04mm: get rid of __GFP_KMEMCGVladimir Davydov1-3/+3
2014-06-04sl[au]b: charge slabs to kmemcg explicitlyVladimir Davydov1-7/+17
2014-06-04mm: slub: fix ALLOC_SLOWPATH statDave Hansen1-5/+3
2014-06-04mm, slab: suppress out of memory warning unless debug is enabledDavid Rientjes1-12/+17
2014-06-04mm/slub.c: convert vnsprintf-static to va_formatFabian Frederick1-7/+9
2014-06-04mm/slub.c: convert printk to pr_foo()Fabian Frederick1-72/+57
2014-05-06slub: use sysfs'es release mechanism for kmem_cacheChristoph Lameter1-22/+8
2014-05-06slub: fix memcg_propagate_slab_attrsVladimir Davydov1-4/+7
2014-04-13Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-2/+3
2014-04-07slub: use raw_cpu_inc for incrementing statisticsChristoph Lameter1-1/+5
2014-04-07slub: fix leak of 'name' in sysfs_slab_addDave Jones1-14/+15
2014-04-07slub: rework sysfs layout for memcg cachesVladimir Davydov1-1/+25
2014-04-07slub: adjust memcg caches when creating cache aliasVladimir Davydov1-0/+13
2014-04-07memcg, slab: never try to merge memcg cachesVladimir Davydov1-10/+9
2014-04-07mm, mempolicy: rename slab_node for clarityDavid Rientjes1-1/+1
2014-04-03slub: do not drop slab_mutex for sysfs_slab_addVladimir Davydov1-5/+3
2014-04-03mm: optimize put_mems_allowed() usageMel Gorman1-9/+7
2014-03-27slub: fix high order page allocation problem with __GFP_NOFAILJoonsoo Kim1-2/+3
2014-02-10slub: do not assert not having lock in removing freed partialSteven Rostedt1-12/+20
2014-02-10mm/slub.c: list_lock may not be held in some circumstancesDavid Rientjes1-4/+2
2014-02-02Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-22/+34
2014-01-31mm: slub: work around unneeded lockdep warningDave Hansen1-0/+6
2014-01-30mm/slub.c: fix page->_count corruption (again)Dave Hansen1-2/+17
2014-01-29mm/slub.c: do not VM_BUG_ON_PAGE() for temporary on-stack pagesDave Hansen1-6/+6
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-6/+6
2014-01-13slub: Fix possible format string bug.Tetsuo Handa1-1/+1