aboutsummaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-12kmemleak: avoid RCU stalls when freeing metadata for per-CPU pointersCatalin Marinas1-81/+97
2023-12-10kmemleak: add checksum to backtrace reportJim Cromie1-1/+1
2023-12-10kmemleak: drop (age <increasing>) from leak recordJim Cromie1-4/+2
2023-12-06mm/kmemleak: move set_track_prepare() outside raw_spinlocksLiu Shixin1-1/+3
2023-12-06Revert "mm/kmemleak: move the initialisation of object to __link_object"Liu Shixin1-17/+19
2023-10-25mm/kmemleak: move the initialisation of object to __link_objectLiu Shixin1-19/+17
2023-10-25mm/kmemleak: fix partially freeing unknown object warningLiu Shixin1-11/+31
2023-10-25mm: kmemleak: add __find_and_remove_object()Liu Shixin1-3/+14
2023-10-25mm: kmemleak: use mem_pool_free() to free objectLiu Shixin1-5/+9
2023-10-25mm: kmemleak: split __create_object into two functionsLiu Shixin1-21/+40
2023-10-25mm/kmemleak: fix print format of pointer in pr_debug()Liu Shixin1-14/+14
2023-09-02mm/kmemleak: move up cond_resched() call in page scanning loopWaiman Long1-2/+3
2023-08-21Rename kmemleak_initialized to kmemleak_late_initializedXiaolei Wang1-4/+4
2023-08-21mm/kmemleak: use object_cache instead of kmemleak_initialized to check in set...Xiaolei Wang1-1/+6
2023-02-16lib/stackdepot, mm: rename stack_depot_want_early_initAndrey Konovalov1-1/+1
2023-02-02mm/kmemleak: fix UAF bug in kmemleak_scan()Waiman Long1-6/+29
2023-02-02mm/kmemleak: simplify kmemleak_cond_resched() usageWaiman Long1-36/+12
2023-01-31mm: use stack_depot_early_init for kmemleakZhaoyang Huang1-2/+3
2022-12-15mm/kmemleak: use %pK to display kernel pointers in backtraceClément Léger1-1/+1
2022-12-15mm: use stack_depot for recording kmemleak's backtraceZhaoyang Huang1-18/+28
2022-11-30mm/kmemleak.c: fix a commentYixuan Cao1-1/+1
2022-10-28mm/kmemleak: prevent soft lockup in kmemleak_scan()'s object iteration loopsWaiman Long1-19/+42
2022-09-11mm/kmemleak: make create_object return voidLiu Shixin1-12/+9
2022-06-16mm/kmemleak: prevent soft lockup in first object iteration loop of kmemleak_s...Waiman Long1-1/+27
2022-06-16mm/kmemleak: skip unlikely objects in kmemleak_scan() without taking lockWaiman Long1-0/+14
2022-06-16mm/kmemleak: use _irq lock/unlock variants in kmemleak_scan/_clear()Waiman Long1-10/+8
2022-06-16mm: kmemleak: check physical address when scanPatrick Wang1-3/+14
2022-06-16mm: kmemleak: add rbtree and store physical address for objects allocated wit...Patrick Wang1-42/+91
2022-06-16mm: kmemleak: add OBJECT_PHYS flag for objects allocated with physical addressPatrick Wang1-9/+31
2022-06-16mm: kmemleak: remove kmemleak_not_leak_phys() and the min_count argument to k...Patrick Wang1-17/+3
2022-04-15mm: kmemleak: take a full lowmem check in kmemleak_*_phys()Patrick Wang1-4/+4
2022-04-01mm/kmemleak: reset tag when compare object pointerKuan-Ying Lee1-2/+7
2022-02-04mm/kmemleak: avoid scanning potential huge holesLang Yu1-6/+7
2022-01-15kmemleak: fix kmemleak false positive report with HW tag-based kasan enableKuan-Ying Lee1-7/+14
2021-09-08mm/kmemleak: allow __GFP_NOLOCKDEP passed to kmemleak's gfpNaohiro Aota1-1/+2
2021-09-08mm: in_irq() cleanupChangbin Du1-1/+1
2021-08-13kasan, kmemleak: reset tags when scanning blockKuan-Ying Lee1-3/+3
2021-06-29mm/kmemleak: fix possible wrong memory scanning periodYanfei Xu1-6/+12
2021-04-30mm/kmemleak.c: fix a typoBhaskar Chowdhury1-1/+1
2021-03-25kfence: make compatible with kmemleakMarco Elver1-1/+2
2020-10-13mm/kmemleak: rely on rcu for task stack scanningDavidlohr Bueso1-4/+4
2020-08-14mm/kmemleak: silence KCSAN splats in checksumQian Cai1-0/+2
2020-04-02mm/kmemleak.c: use address-of operator on section symbolsNathan Chancellor1-1/+1
2020-01-31mm/kmemleak: turn kmemleak_lock and object->lock to raw_spinlock_tHe Zhe1-56/+56
2019-10-14kmemleak: Do not corrupt the object_list during clean-upCatalin Marinas1-9/+21
2019-09-24mm/kmemleak.c: record the current memory pool sizeQian Cai1-1/+2
2019-09-24mm: kmemleak: use the memory pool for early allocationsCatalin Marinas1-239/+26
2019-09-24mm: kmemleak: simple memory allocation pool for kmemleak objectsCatalin Marinas1-2/+52
2019-09-24mm: kmemleak: make the tool tolerant to struct scan_area allocation failuresCatalin Marinas1-6/+10
2019-08-13mm: kmemleak: disable early logging in case of errorCatalin Marinas1-1/+1
2019-08-03Revert "kmemleak: allow to coexist with fault injection"Yang Shi1-1/+1
2019-07-12Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-6/+1
2019-07-12mm/kmemleak.c: change error at _write when kmemleak is disabledAndré Almeida1-1/+1
2019-07-12mm/kmemleak.c: fix check for softirq contextDmitry Vyukov1-1/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333Thomas Gleixner1-14/+1
2019-06-03mm: kmemleak: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-6/+1
2019-05-06Merge branch 'core-stacktrace-for-linus' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-21/+3
2019-04-29mm/kmemleak: Simplify stacktrace handlingThomas Gleixner1-21/+3
2019-04-19mm/kmemleak.c: fix unused-function warningArnd Bergmann1-0/+2
2019-04-05kmemleak: powerpc: skip scanning holes in the .bss sectionCatalin Marinas1-5/+11
2019-02-21kmemleak: account for tagged pointers when calculating pointer rangeAndrey Konovalov1-3/+7
2018-12-28kmemleak: add config to select auto scanSri Krishna chowdary1-4/+6
2018-12-28mm, kmemleak: little optimization while scanningOscar Salvador1-3/+6
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-10-26kmemleak: add module param to print warnings to dmesgVincent Whitchurch1-7/+35
2018-09-04kmemleak: always register debugfs fileVincent Whitchurch1-4/+5
2018-04-05mm: kernel-doc: add missing parameter descriptionsMike Rapoport1-0/+10
2018-04-05mm/kmemleak.c: make kmemleak_boot_config() __initDou Liyang1-1/+1
2018-03-28mm/kmemleak.c: wait for scan completion before disabling freeVinayak Menon1-5/+7
2018-01-31mm: kmemleak: remove unused hardirq.hYang Shi1-1/+0
2018-01-13kmemleak: allow to coexist with fault injectionDmitry Vyukov1-1/+1
2017-12-14mm/kmemleak.c: make cond_resched() rate-limiting more efficientAndrew Morton1-1/+1
2017-11-29kmemleak: add scheduling point to kmemleak_scan()Yisheng Xie1-0/+2
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-9/+0
2017-11-15kmemleak: change /sys/kernel/debug/kmemleak permissions from 0444 to 0644Konstantin Khlebnikov1-1/+1
2017-07-06mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objectsCatalin Marinas1-4/+89
2017-07-06mm: kmemleak: factor object reference updating out of scan_block()Catalin Marinas1-18/+25
2017-07-06mm: kmemleak: slightly reduce the size of some structures on 64-bit architect...Catalin Marinas1-3/+3
2017-03-31mm: fix section name for .data..ro_after_initKees Cook1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2016-12-12kmemleak: fix reference to DocumentationAndreas Platschek1-1/+1
2016-11-11mm: kmemleak: scan .data.ro_after_initJakub Kicinski1-0/+1
2016-10-27mm: kmemleak: ensure that the task stack is not freed during scanningCatalin Marinas1-2/+5
2016-10-11mm: kmemleak: avoid using __va() on addresses that don't have a lowmem mappingCatalin Marinas1-0/+47
2016-07-28kmemleak: don't hang if user disables scanning earlyVegard Nossum1-1/+3
2016-06-24mm: prevent KASAN false positives in kmemleakDmitry Vyukov1-0/+2
2016-03-17mm: coalesce split stringsJoe Perches1-10/+8
2016-03-17mm: convert pr_warning to pr_warnJoe Perches1-7/+7
2016-01-14Revert "gfp: add __GFP_NOACCOUNT"Vladimir Davydov1-2/+1
2015-11-05mm/kmemleak.c: remove unneeded initialization of object to NULLAlexey Klimov1-1/+1
2015-09-10kmemleak: use seq_hex_dump() to dump buffersAndy Shevchenko1-15/+6
2015-09-08kmemleak: record accurate early log buffer count and report when exceededWang Kai1-1/+2
2015-06-24mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()Larry Finger1-4/+5
2015-06-24mm: kmemleak: optimise kmemleak_lock acquiring during kmemleak_scanCatalin Marinas1-34/+56
2015-06-24mm: kmemleak: avoid deadlock on the kmemleak object insertion error pathCatalin Marinas1-4/+11
2015-06-24mm: kmemleak: do not acquire scan_mutex in kmemleak_do_cleanup()Catalin Marinas1-2/+0
2015-06-24mm: kmemleak: fix delete_object_*() race when called on the same memory blockCatalin Marinas1-13/+26
2015-06-24mm: kmemleak: allow safe memory scanning during kmemleak disablingCatalin Marinas1-3/+16
2015-05-14gfp: add __GFP_NOACCOUNTVladimir Davydov1-1/+2
2015-02-13kmemleak: disable kasan instrumentation for kmemleakAndrey Ryabinin1-0/+6
2014-06-06mm: introduce kmemleak_update_trace()Catalin Marinas1-0/+34
2014-06-06mm/kmemleak.c: use %u to print ->checksumJianpeng Ma1-1/+1
2014-06-04mem-hotplug: implement get/put_online_memsVladimir Davydov1-2/+2
2014-05-11mm: postpone the disabling of kmemleak early loggingCatalin Marinas1-2/+2
2014-04-03kmemleak: change some global variables to intLi Zefan1-40/+40
2014-04-03kmemleak: remove redundant codeLi Zefan1-6/+1
2014-04-03kmemleak: allow freeing internal objects after kmemleak was disabledLi Zefan1-14/+32
2014-04-03kmemleak: free internal objects only if there're no leaks to be reportedLi Zefan1-4/+9
2013-11-13mm: kmemleak: avoid false negatives on vmalloc'ed objectsCatalin Marinas1-1/+3
2013-09-11mm: replace strict_strtoul() with kstrtoul()Jingoo Han1-1/+1
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-5/+4
2013-02-23mm: add & use zone_end_pfn() and zone_spans_pfn()Cody P Schafer1-3/+2
2012-12-18mm/kmemleak.c: remove obsolete simple_strtoulAbhijit Pawar1-1/+2
2012-10-09kmemleak: use rbtree instead of prio treeMichel Lespinasse1-49/+51
2012-09-23kmemleak: Replace list_for_each_continue_rcu with new interfaceMichael Wang1-4/+2
2012-01-20kmemleak: Disable early logging when kmemleak is off by defaultCatalin Marinas1-0/+1
2012-01-20kmemleak: Only scan non-zero-size areasTiejun Chen1-1/+1
2011-12-02kmemleak: Add support for memory hotplugLaura Abbott1-2/+4
2011-12-02kmemleak: Handle percpu memory allocationCatalin Marinas1-0/+72
2011-12-02kmemleak: Report previously found leaks even after an errorCatalin Marinas1-9/+13
2011-12-02kmemleak: When the early log buffer is exceeded, report the actual numberCatalin Marinas1-6/+15
2011-12-02kmemleak: Show where early_log issues come fromCatalin Marinas1-9/+28
2011-10-31mm: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-1/+1
2011-05-19kmemleak: Do not return a pointer to an object that kmemleak did not getCatalin Marinas1-2/+5
2011-03-31Fix common misspellingsLucas De Marchi1-3/+3
2011-01-27kmemleak: Allow kmemleak metadata allocations to failCatalin Marinas1-5/+8
2010-08-08kmemleak: Fix typo in the commentHolger Hans Peter Freyther1-1/+1
2010-07-19kmemleak: Add DocBook style comments to kmemleak.cCatalin Marinas1-21/+59
2010-07-19kmemleak: Introduce a default off mode for kmemleakJason Baron1-1/+13
2010-07-19kmemleak: Show more information for objects found by aliasCatalin Marinas1-1/+3
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2009-12-17Merge branch 'kmemleak' of git://linux-arm.org/linux-2.6Linus Torvalds1-87/+101
2009-11-09tree-wide: fix typos "aquire" -> "acquire", "cumsumed" -> "consumed"Uwe Kleine-König1-2/+2
2009-10-28kmemleak: Reduce the false positives by checking for modified objectsCatalin Marinas1-54/+70
2009-10-28kmemleak: Show the age of an unreferenced objectCatalin Marinas1-2/+4
2009-10-28kmemleak: Release the object lock before calling put_object()Catalin Marinas1-3/+6
2009-10-28kmemleak: Simplify the kmemleak_scan_area() function prototypeCatalin Marinas1-28/+21
2009-10-09kmemleak: Check for NULL pointer returned by create_object()Catalin Marinas1-0/+3
2009-10-09kmemleak: Use GFP_ATOMIC for early_alloc().Tetsuo Handa1-1/+1
2009-09-11kmemleak: Improve the "Early log buffer exceeded" error messageCatalin Marinas1-1/+2
2009-09-08kmemleak: fix sparse warning for static declarationsLuis R. Rodriguez1-2/+2
2009-09-08kmemleak: fix sparse warning over overshadowed flagsLuis R. Rodriguez1-4/+3
2009-09-08kmemleak: move common painting code togetherLuis R. Rodriguez1-28/+41
2009-09-08kmemleak: add clear command supportLuis R. Rodriguez1-0/+26
2009-09-08kmemleak: use bool for true/false questionsLuis R. Rodriguez1-4/+4
2009-09-08kmemleak: Do no create the clean-up thread during kmemleak_disable()Catalin Marinas1-17/+5
2009-09-04kmemleak: Scan all thread stacksCatalin Marinas1-7/+7
2009-09-04kmemleak: Don't scan uninitialized memory when kmemcheck is enabledPekka Enberg1-2/+10
2009-08-27kmemleak: Printing of the objects hex dumpSergey Senozhatsky1-0/+39
2009-08-27kmemleak: Save the stack trace for early allocationsCatalin Marinas1-12/+52
2009-08-27kmemleak: Mark the early log buffer as __initdataCatalin Marinas1-12/+14
2009-08-27kmemleak: Dump object information on requestCatalin Marinas1-0/+25
2009-08-27kmemleak: Allow rescheduling during an object scanningCatalin Marinas1-4/+17
2009-07-29kmemleak: Protect the seq start/next/stop sequence by rcu_read_lock()Catalin Marinas1-3/+1
2009-07-08kmemleak: Allow partial freeing of memory blocksCatalin Marinas1-14/+81
2009-07-08kmemleak: Scan objects allocated during a scanning episodeCatalin Marinas1-3/+40
2009-07-08kmemleak: Do not acquire scan_mutex in kmemleak_open()Catalin Marinas1-33/+30
2009-07-08kmemleak: Remove the reported leaks number limitationCatalin Marinas1-15/+2
2009-07-07kmemleak: Add more cond_resched() calls in the scanning threadCatalin Marinas1-8/+11
2009-07-07kmemleak: Renice the scanning thread to +10Catalin Marinas1-0/+1
2009-07-01kmemleak: Fix scheduling-while-atomic bugIngo Molnar1-30/+1
2009-06-29kmemleak: Do not warn if an unknown object is freedCatalin Marinas1-0/+2
2009-06-29kmemleak: Do not report new leaked objects if the scanning was stoppedCatalin Marinas1-5/+10
2009-06-26kmemleak: Slightly change the policy on newly allocated objectsCatalin Marinas1-1/+6
2009-06-26kmemleak: Do not trigger a scan when reading the debug/kmemleak fileCatalin Marinas1-50/+40
2009-06-26kmemleak: Simplify the reports logged by the scanning threadCatalin Marinas1-45/+16
2009-06-26kmemleak: Enable task stacks scanning by defaultCatalin Marinas1-1/+1
2009-06-25kmemleak: Allow the early log buffer to be configurable.Catalin Marinas1-2/+3
2009-06-23kmemleak: use pr_fmtJoe Perches1-28/+24
2009-06-17kmemleak: Fix some typos in commentsCatalin Marinas1-4/+4
2009-06-17kmemleak: Rename kmemleak_panic to kmemleak_stopCatalin Marinas1-6/+6
2009-06-17kmemleak: Only use GFP_KERNEL|GFP_ATOMIC for the internal allocationsCatalin Marinas1-2/+5
2009-06-11kmemleak: Add the base supportCatalin Marinas1-0/+1498