aboutsummaryrefslogtreecommitdiffstats
path: root/mm/damon
AgeCommit message (Expand)AuthorFilesLines
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds9-94/+759
2022-07-29mm/damon/reclaim: fix potential memory leak in damon_reclaim_init()Jianglei Nie1-1/+3
2022-07-17mm/damon/lru_sort: fix potential memory leak in damon_lru_sort_init()SeongJae Park1-1/+3
2022-07-03mm/damon: introduce DAMON-based LRU-lists SortingSeongJae Park3-0/+555
2022-07-03mm/damon/schemes: add 'LRU_DEPRIO' actionSeongJae Park2-0/+21
2022-07-03mm/damon/schemes: add 'LRU_PRIO' DAMOS actionSeongJae Park4-0/+65
2022-07-03mm/damon/paddr: use a separate function for 'DAMOS_PAGEOUT' handlingSeongJae Park1-6/+14
2022-07-03mm/damon/dbgfs: add and use mappings between 'schemes' action inputs and 'dam...SeongJae Park1-14/+50
2022-07-03mm/damon/reclaim: add 'damon_reclaim_' prefix to 'enabled_store()'SeongJae Park1-2/+2
2022-07-03mm/damon/reclaim: make 'enabled' checking timer simplerSeongJae Park1-8/+1
2022-07-03mm/damon/sysfs: deduplicate inputs applyingSeongJae Park1-35/+24
2022-07-03mm/damon/reclaim: deduplicate 'commit_inputs' handlingSeongJae Park1-13/+14
2022-07-03mm/damon/{dbgfs,sysfs}: move target_has_pid() from dbgfs to damon.hSeongJae Park2-15/+8
2022-07-03mm/damon: use set_huge_pte_at() to make huge pte oldBaolin Wang1-2/+1
2022-06-16mm/damon/reclaim: schedule 'damon_reclaim_timer' only after 'system_wq' is in...SeongJae Park1-0/+8
2022-05-19mm: damon: use HPAGE_PMD_SIZEKefeng Wang3-4/+3
2022-05-13mm/damon/reclaim: use resource_size function on resource objectJiapeng Chong1-1/+1
2022-05-13mm/damon/reclaim: support online inputs updateSeongJae Park1-33/+62
2022-05-13mm/damon/sysfs: support online inputs updateSeongJae Park1-9/+90
2022-05-13mm/damon/sysfs: update schemes stat in the kdamond contextSeongJae Park1-26/+135
2022-05-13mm/damon/sysfs: use enum for 'state' input handlingSeongJae Park1-10/+62
2022-05-13mm/damon/sysfs: reuse damon_set_regions() for regions settingSeongJae Park1-15/+18
2022-05-13mm/damon/sysfs: move targets setup code to a separated functionSeongJae Park1-21/+28
2022-05-13mm/damon/sysfs: prohibit multiple physical address space monitoring targetsSeongJae Park1-0/+4
2022-05-13mm/damon/vaddr: remove damon_va_apply_three_regions()SeongJae Park2-20/+4
2022-05-13mm/damon/vaddr: move 'damon_set_regions()' to coreSeongJae Park2-73/+73
2022-05-13mm/damon/vaddr: generalize damon_va_apply_three_regions()SeongJae Park1-24/+42
2022-05-13mm/damon/core: finish kdamond as soon as any callback returns an errorSeongJae Park1-2/+6
2022-05-13mm/damon/core: add a new callback for watermarks checksSeongJae Park1-1/+7
2022-05-13mm/damon/sysfs: support fixed virtual address ranges monitoringSeongJae Park1-7/+6
2022-05-13mm/damon/vaddr: register a damon_operations for fixed virtual address ranges ...SeongJae Park2-2/+17
2022-05-13mm/damon/sysfs: add a file for listing available monitoring opsSeongJae Park1-0/+19
2022-05-13mm/damon/core: add a function for damon_operations registration checksSeongJae Park1-3/+21
2022-04-29mm/damon/reclaim: fix the timer always stays activeHailong Tu1-2/+25
2022-04-29mm/damon: remove unnecessary type castingsYu Zhe1-1/+1
2022-04-29mm/damon/core-test: add a kunit test case for ops registrationSeongJae Park1-0/+36
2022-04-29damon: vaddr-test: tweak code to make the logic clearerXiaomeng Tong1-3/+5
2022-04-01mm/damon: prevent activated scheme from sleeping by deactivated schemesJonghyeon Kim1-1/+4
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-33/+29
2022-03-22mm/damon/sysfs: remove repeat container_of() in damon_sysfs_kdamond_release()Xin Hao1-1/+1
2022-03-22mm/damon/sysfs: support DAMOS statsSeongJae Park1-0/+150
2022-03-22mm/damon/sysfs: support DAMOS watermarksSeongJae Park1-5/+215
2022-03-22mm/damon/sysfs: support schemes prioritizationSeongJae Park1-3/+149
2022-03-22mm/damon/sysfs: support DAMOS quotasSeongJae Park1-1/+145
2022-03-22mm/damon/sysfs: support DAMON-based Operation SchemesSeongJae Park1-0/+410
2022-03-22mm/damon/sysfs: support the physical address space monitoringSeongJae Park1-5/+271
2022-03-22mm/damon/sysfs: link DAMON for virtual address spaces monitoringSeongJae Park1-3/+189
2022-03-22mm/damon: implement a minimal stub for sysfs-based DAMON interfaceSeongJae Park3-0/+1092
2022-03-22mm/damon/core: allow non-exclusive DAMON start/stopSeongJae Park3-10/+17
2022-03-22mm/damon: remove unnecessary CONFIG_DAMON optiontangmeng1-1/+1
2022-03-22mm/damon/paddr,vaddr: remove damon_{p,v}a_{target_valid,set_operations}()SeongJae Park2-33/+2
2022-03-22mm/damon/dbgfs-test: fix is_target_id() changeSeongJae Park1-1/+3
2022-03-22mm/damon/dbgfs: use operations id for knowing if the target has pidSeongJae Park1-3/+3
2022-03-22mm/damon/dbgfs: use damon_select_ops() instead of damon_{v,p}a_set_operations()SeongJae Park1-3/+13
2022-03-22mm/damon/reclaim: use damon_select_ops() instead of damon_{v,p}a_set_operatio...SeongJae Park1-1/+3
2022-03-22mm/damon/paddr,vaddr: register themselves to DAMON in subsys_initcallSeongJae Park2-0/+40
2022-03-22mm/damon: let monitoring operations can be registered and selectedSeongJae Park1-0/+66
2022-03-22mm/damon: rename damon_primitives to damon_operationsSeongJae Park11-71/+72
2022-03-22mm/damon: remove redundant page validationBaolin Wang1-6/+0
2022-03-22mm/damon: remove the target id conceptSeongJae Park7-122/+128
2022-03-22mm/damon/core: move damon_set_targets() into dbgfsSeongJae Park4-52/+52
2022-03-22mm/damon/dbgfs/init_regions: use target index instead of target idSeongJae Park2-23/+22
2022-03-21mm/damon: minor cleanup for damon_pa_youngMiaohe Lin1-1/+1
2022-03-21mm/rmap: Convert rmap_walk() to take a folioMatthew Wilcox (Oracle)1-8/+7
2022-03-21mm/damon: Convert damon_pa_young() to use a folioMatthew Wilcox (Oracle)1-12/+15
2022-03-21mm/damon: Convert damon_pa_mkold() to use a folioMatthew Wilcox (Oracle)1-7/+9
2022-03-21mm: Add DEFINE_PAGE_VMA_WALK and DEFINE_FOLIO_VMA_WALKMatthew Wilcox (Oracle)1-10/+2
2022-01-15mm/damon: hide kernel pointer from tracepoint eventSeongJae Park1-1/+3
2022-01-15mm/damon/vaddr: hide kernel pointer from damon_va_three_regions() failure logSeongJae Park1-2/+8
2022-01-15mm/damon/vaddr: use pr_debug() for damon_va_three_regions() failure loggingSeongJae Park1-1/+1
2022-01-15mm/damon/dbgfs: remove an unnecessary variableSeongJae Park1-3/+2
2022-01-15mm/damon: move the implementation of damon_insert_region to damon.hGuoqing Jiang1-11/+0
2022-01-15mm/damon: add access checking for hugetlb pagesBaolin Wang1-0/+96
2022-01-15mm/damon/dbgfs: support all DAMOS statsSeongJae Park1-2/+4
2022-01-15mm/damon/reclaim: provide reclamation statisticsSeongJae Park1-0/+46
2022-01-15mm/damon/schemes: account how many times quota limit has exceededSeongJae Park1-0/+2
2022-01-15mm/damon/schemes: account scheme actions that successfully appliedSeongJae Park4-26/+32
2022-01-15mm/damon: convert macro functions to static inline functionsSeongJae Park2-3/+8
2022-01-15mm/damon: move damon_rand() definition into damon.hXin Hao2-8/+0
2022-01-15mm/damon/schemes: add the validity judgment of thresholdsXin Hao1-0/+7
2022-01-15mm/damon/vaddr: remove swap_ranges() and replace it with swap()Yihao Han1-13/+3
2022-01-15mm/damon: remove some unneeded function definitions in damon.hXin Hao2-13/+16
2022-01-15mm/damon/core: use abs() instead of diff_of()Xin Hao1-4/+2
2022-01-15mm/damon: unified access_check function naming rulesXin Hao1-4/+4
2021-12-31mm/damon/dbgfs: fix 'struct pid' leaks in 'dbgfs_target_ids_write()'SeongJae Park1-2/+7
2021-12-25mm/damon/dbgfs: protect targets destructions with kdamond_lockSeongJae Park1-0/+2
2021-12-10mm/damon/vaddr-test: remove unnecessary variablesSeongJae Park1-8/+0
2021-12-10mm/damon/vaddr-test: split a test function having >1024 bytes frame sizeSeongJae Park1-37/+40
2021-12-10mm/damon/vaddr: remove an unnecessary warning messageSeongJae Park1-1/+0
2021-12-10mm/damon/core: remove unnecessary error messagesSeongJae Park1-9/+2
2021-12-10mm/damon/dbgfs: remove an unnecessary error messageSeongJae Park1-3/+1
2021-12-10mm/damon/core: use better timer mechanisms selection thresholdSeongJae Park1-1/+2
2021-12-10mm/damon/core: fix fake load reports due to uninterruptible sleepsSeongJae Park1-3/+3
2021-12-08Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfJakub Kicinski1-0/+1
2021-12-03treewide: Add missing includes masked by cgroup -> bpf dependencyJakub Kicinski1-0/+1
2021-11-20mm/damon/dbgfs: fix missed use of damon_dbgfs_lockSeongJae Park1-3/+9
2021-11-20mm/damon/dbgfs: use '__GFP_NOWARN' for user-specified size buffer allocationSeongJae Park1-4/+4
2021-11-06mm/damon: remove return value from before_terminate callbackChangbin Du1-3/+2
2021-11-06mm/damon: fix a few spelling mistakes in comments and a pr_debug messageColin Ian King3-3/+3
2021-11-06mm/damon: simplify stop mechanismChangbin Du1-36/+15
2021-11-06mm/damon/dbgfs: add adaptive_targets list check before enable monitor_onXin Hao2-3/+17
2021-11-06mm/damon: remove unnecessary variable initializationXin Hao1-1/+1
2021-11-06mm/damon: introduce DAMON-based Reclamation (DAMON_RECLAIM)SeongJae Park3-0/+369
2021-11-06mm/damon/dbgfs: support watermarksSeongJae Park1-7/+9
2021-11-06mm/damon/schemes: activate schemes based on a watermarks mechanismSeongJae Park2-2/+100
2021-11-06mm/damon/dbgfs: support prioritization weightsSeongJae Park1-4/+10
2021-11-06mm/damon/vaddr,paddr: support pageout prioritizationSeongJae Park4-0/+78
2021-11-06mm/damon/schemes: prioritize regions within the quotasSeongJae Park1-7/+55
2021-11-06mm/damon/dbgfs: support quotas of schemesSeongJae Park1-5/+9
2021-11-06mm/damon/schemes: implement time quotaSeongJae Park1-5/+40
2021-11-06mm/damon/schemes: skip already charged targets and regionsSeongJae Park1-0/+37
2021-11-06mm/damon/schemes: implement size quota for schemes application speed controlSeongJae Park2-9/+55
2021-11-06mm/damon/paddr: support the pageout schemeSeongJae Park1-1/+36
2021-11-06mm/damon/dbgfs: remove unnecessary variablesRongwei Wang1-35/+31
2021-11-06mm/damon/vaddr: constify static mm_walk_opsRikard Falkeborn1-2/+2
2021-11-06mm/damon/dbgfs: support physical memory monitoringSeongJae Park2-4/+19
2021-11-06mm/damon: implement primitives for physical address space monitoringSeongJae Park3-0/+233
2021-11-06mm/damon/vaddr: separate commonly usable functionsSeongJae Park4-86/+108
2021-11-06mm/damon/dbgfs-test: add a unit test case for 'init_regions'SeongJae Park1-0/+54
2021-11-06mm/damon/dbgfs: allow users to set initial monitoring target regionsSeongJae Park1-2/+154
2021-11-06mm/damon/schemes: implement statistics featureSeongJae Park3-3/+11
2021-11-06mm/damon/dbgfs: support DAMON-based Operation SchemesSeongJae Park1-3/+162
2021-11-06mm/damon/vaddr: support DAMON-based Operation SchemesSeongJae Park1-0/+56
2021-11-06mm/damon/core: implement DAMON-based Operation Schemes (DAMOS)SeongJae Park1-0/+109
2021-11-06mm/damon/core: account age of target regionsSeongJae Park1-0/+13
2021-11-06mm/damon/core: nullify pointer ctx->kdamond with a NULLColin Ian King1-1/+1
2021-11-06mm/damon: needn't hold kdamond_lock to print pid of kdamondChangbin Du1-4/+2
2021-11-06mm/damon: remove unnecessary do_exit() from kdamondChangbin Du1-1/+1
2021-11-06mm/damon/core: print kdamond start log in debug mode onlySeongJae Park1-1/+1
2021-11-06mm/damon: grammar s/works/work/Geert Uytterhoeven1-1/+1
2021-10-28mm/damon/core-test: fix wrong expectations for 'damon_split_regions_of()'SeongJae Park1-2/+2
2021-09-24mm/damon: don't use strnlen() with known-bogus source lengthAdam Borowski1-8/+8
2021-09-08mm/damon: add kunit testsSeongJae Park7-0/+760
2021-09-08mm/damon/dbgfs: support multiple contextsSeongJae Park1-2/+193
2021-09-08mm/damon/dbgfs: export kdamond pid to the user spaceSeongJae Park1-2/+35
2021-09-08mm/damon: implement a debugfs-based user space interfaceSeongJae Park4-0/+454
2021-09-08mm/damon: add a tracepointSeongJae Park1-1/+6
2021-09-08mm/damon: implement primitives for the virtual memory address spacesSeongJae Park3-0/+674
2021-09-08mm/damon: adaptively adjust regionsSeongJae Park1-9/+215
2021-09-08mm/damon/core: implement region-based samplingSeongJae Park1-4/+139
2021-09-08mm: introduce Data Access MONitor (DAMON)SeongJae Park3-0/+338