Skip to contentSkip to conversation

mm-damon-document-damon_call_control-dealloc_on_cancel-repeat-behavior.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jan 31

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled

     Subject: mm/damon: document damon_call_control->dealloc_on_cancel repeat behavior

has been removed from the -mm tree. Its filename was
mm-damon-document-damon_call_control-dealloc_on_cancel-repeat-behavior.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: mm/damon: document damon_call_control->dealloc_on_cancel repeat behavior
Date: Sat, 17 Jan 2026 09:52:52 -0800

damon_call_control->dealloc_on_cancel works only when ->repeat is true. But the behavior is not clearly documented. DAMON API callers can understand the behavior only after reading kdamond_call() code. Document the behavior on the kernel-doc comment of damon_call_control.

---

 include/linux/damon.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/damon.h renamed from include/linux/damon.h~mm-damon-document-damon_call_control-dealloc_on_cancel-repeat-behavior +1 -1
@@ -663,7 +663,7 @@ struct damon_operations {
  * @data:		Data that will be passed to @fn.
  * @repeat:		Repeat invocations.
  * @return_code:	Return code from @fn invocation.
- * @dealloc_on_cancel:	De-allocate when canceled.
+ * @dealloc_on_cancel:	If @repeat is true, de-allocate when canceled.
  *
  * Control damon_call(), which requests specific kdamond to invoke a given
  * function.  Refer to damon_call() for more details.

_

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