Skip to contentSkip to conversation

mm-damon-vaddr-move-damon_set_regions-to-core.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 10, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/damon/vaddr: move 'damon_set_regions()' to core
has been removed from the -mm tree. Its filename was
mm-damon-vaddr-move-damon_set_regions-to-core.patch

This patch was dropped because it was merged into mm-stable

------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: mm/damon/vaddr: move 'damon_set_regions()' to core

This commit moves 'damon_set_regions()' from vaddr to core, as it is aimed to be used by not only 'vaddr' but also other parts of DAMON.

---

 include/linux/damon.h |    2 +
 mm/damon/core.c       |   73 ++++++++++++++++++++++++++++++++++++++++
 mm/damon/vaddr.c      |   73 ----------------------------------------
 3 files changed, 75 insertions(+), 73 deletions(-)
include/linux/damon.h renamed from include/linux/damon.h~mm-damon-vaddr-move-damon_set_regions-to-core +2 -0
@@ -494,6 +494,8 @@ static inline void damon_insert_region(s
 
 void damon_add_region(struct damon_region *r, struct damon_target *t);
 void damon_destroy_region(struct damon_region *r, struct damon_target *t);
+int damon_set_regions(struct damon_target *t, struct damon_addr_range *ranges,
+		unsigned int nr_ranges);
 
 struct damos *damon_new_scheme(
 		unsigned long min_sz_region, unsigned long max_sz_region,
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-vaddr-move-damon_set_regions-to-core +73 -0

79 lines not on this page · raw message

mm/damon/vaddr.c renamed from mm/damon/vaddr.c~mm-damon-vaddr-move-damon_set_regions-to-core +0 -73

79 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are