aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
AgeCommit message (Expand)AuthorFilesLines
2020-04-02slub: relocate freelist pointer to middle of objectKees Cook1-0/+7
2020-04-02slub: improve bit diffusion for freelist ptr obfuscationKees Cook1-1/+1
2020-04-02mm/slub.c: replace kmem_cache->cpu_partial with wrapped APIschenqiwu1-7/+7
2020-04-02mm/slub.c: replace cpu_slab->partial with wrapped APIschenqiwu1-2/+2
2020-03-21mm, slub: prevent kmalloc_node crashes and memory leaksVlastimil Babka1-9/+17
2020-03-18mm: slub: be more careful about the double cmpxchg of freelistLinus Torvalds1-2/+4
2020-03-18mm: slub: add missing TID bump in kmem_cache_alloc_bulk()Jann Horn1-0/+9
2020-01-31mm/slub.c: avoid slub allocation while holding list_lockYu Zhao1-41/+47
2020-01-28Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-6/+6
2020-01-24smp: Remove allocation mask from on_each_cpu_cond.*()Sebastian Andrzej Siewior1-1/+1
2020-01-13mm, debug_pagealloc: don't rely on static keys too earlyVlastimil Babka1-1/+1
2019-12-08sched/rt, mm: Use CONFIG_PREEMPTIONThomas Gleixner1-6/+6
2019-12-01mm/slub.c: clean up validate_slab()Yu Zhao1-13/+8
2019-12-01mm/slub.c: update commentsYu Zhao1-4/+2
2019-12-01mm: slub: print the offset of fault addressesMiles Chen1-3/+6
2019-11-15mm: slub: really fix slab walking for init_on_freeLaura Abbott1-30/+9
2019-10-14mm/slub.c: init_on_free=1 should wipe freelist ptr for bulk allocationsAlexander Potapenko1-6/+16
2019-10-14mm/slub: fix a deadlock in show_slab_objects()Qian Cai1-2/+11
2019-10-07mm, sl[ou]b: improve memory accountingVlastimil Babka1-3/+11
2019-09-24mm: introduce page_size()Matthew Wilcox (Oracle)1-9/+9
2019-09-24mm/slub.c: fix -Wunused-function compiler warningsQian Cai1-0/+2
2019-09-24mm, slab: extend slab/shrink to shrink all memcg cachesWaiman Long1-1/+1
2019-07-31mm: slub: Fix slab walking for init_on_freeLaura Abbott1-2/+6
2019-07-12mm: security: introduce init_on_alloc=1 and init_on_free=1 boot optionsAlexander Potapenko1-5/+35
2019-07-12mm: memcg/slab: unify SLAB and SLUB page accountingRoman Gushchin1-12/+2
2019-07-12mm: memcg/slab: generalize postponed non-root kmem_cache deactivationRoman Gushchin1-7/+1
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-12/+2
2019-07-12slub: don't panic for memcg kmem cache creation failureShakeel Butt1-4/+0
2019-07-12mm/slub.c: avoid double string traverse in kmem_cache_flags()Yury Norov1-3/+1
2019-05-14mm/slub.c: update the comment about slab frozenLiu Xiang1-4/+5
2019-05-14slub: remove useless kmem_cache_debug() before remove_full()Liu Xiang1-2/+1
2019-05-14slub: use slab_list instead of lruTobin C. Harding1-20/+20
2019-05-14slub: add comments to endif pre-processor macrosTobin C. Harding1-10/+10
2019-04-29mm/slub: Simplify stack trace retrievalThomas Gleixner1-8/+4
2019-04-14mm/slub: Remove the ULONG_MAX stack trace hackeryThomas Gleixner1-9/+4
2019-03-29mm: add support for kmem caches in DMA32 zoneNicolas Boichat1-0/+5
2019-03-05numa: make "nr_node_ids" unsigned intAlexey Dobriyan1-1/+1
2019-03-05mm: fix some typos in mm directoryWei Yang1-1/+1
2019-03-05mm, slub: make the comment of put_cpu_partial() completeWei Yang1-2/+2
2019-03-05mm/slub.c: remove an unused addr argumentQian Cai1-3/+2
2019-03-05mm/slub.c: freelist is ensured to be NULL when new_slab() failsPeng Wang1-2/+1
2019-02-21slub: fix a crash with SLUB_DEBUG + KASAN_SW_TAGSQian Cai1-1/+1
2019-02-21slub: fix SLAB_CONSISTENCY_CHECKS + KASAN_SW_TAGSQian Cai1-0/+1
2019-02-21kasan, slub: fix more conflicts with CONFIG_SLAB_FREELIST_HARDENEDAndrey Konovalov1-1/+12
2019-02-21kasan, slub: fix conflicts with CONFIG_SLAB_FREELIST_HARDENEDAndrey Konovalov1-13/+7
2019-02-21kasan, slub: move kasan_poison_slab hook before page_addressAndrey Konovalov1-4/+15
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/+2
2019-01-08kasan: make tag based mode work with CONFIG_HARDENED_USERCOPYAndrey Konovalov1-0/+2
2018-12-28mm/slub.c: record final state of slub action in deactivate_slab()Wei Yang1-14/+7
2018-12-28mm/slub.c: page is always non-NULL in node_match()Wei Yang1-1/+1
2018-12-28mm/slub.c: remove validation on cpu_slab in __flush_cpu_slab()Wei Yang1-5/+3
2018-12-28kasan: preassign tags to objects with ctors or SLAB_TYPESAFE_BY_RCUAndrey Konovalov1-10/+14
2018-12-28kasan: add CONFIG_KASAN_GENERIC and CONFIG_KASAN_SW_TAGSAndrey Konovalov1-1/+1
2018-12-28kasan, slub: handle pointer tags in early_kmem_cache_node_allocAndrey Konovalov1-5/+5
2018-12-28kasan, mm: change hooks signaturesAndrey Konovalov1-8/+7
2018-10-26mm, slab: combine kmalloc_caches and kmalloc_dma_cachesVlastimil Babka1-6/+7
2018-10-26slub: extend slub debug to handle multiple slabsAaron Tomlin1-6/+44
2018-10-26mm/slub.c: switch to bitmap_zalloc()Andy Shevchenko1-13/+7
2018-08-30notifier: Remove notifier header file wherever not usedMukesh Ojha1-1/+0
2018-08-17mm, slub: restore the original intention of prefetch_freepointer()Vlastimil Babka1-2/+1
2018-06-28slub: fix failure when we delete and create a slab cacheMikulas Patocka1-1/+6
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