mm/daemon: describe NR_DAMON_OPS in damon_ops_id
Subsystems (2)
PATCH 1/1 mm/daemon: describe NR_DAMON_OPS in damon_ops_id
NR_DAMON_OPS in the enum damon_ops_id is not described. Describe it for better readability and also to fix a warning generated by make docs.
"NR" is described as "Total Number" and "DAMON_OPS" is described as "Monitoring operations" in the same file. Hence describe NR_DAMON_OPS as "Total number of damon operations".
--- include/linux/damon.h | 1 + 1 file changed, 1 insertion(+)
include/linux/damon.h +1 -0
@@ -262,6 +262,7 @@ struct damos {* * @DAMON_OPS_VADDR: Monitoring operations for virtual address spaces * @DAMON_OPS_PADDR: Monitoring operations for the physical address space +* @NR_DAMON_OPS: Total number of monitoring operations */ enum damon_ops_id {DAMON_OPS_VADDR ,
Signature · 1 line
2.25.1
SeongJae Park
maintainerHi Khalid,
Quoted 6 lines · On Tue, 24 May 2022 02:53:36 +0600 Khalid Masum <[email protected]>…
NR_DAMON_OPSin the enumdamon_ops_idis not described. Describe it for better readability and also to fix a warning generated by make docs."NR" is described as "Total Number" and "
DAMON_OPS" is described as "Monitoring operations" in the same file. Hence describeNR_DAMON_OPSas "Total number of damon operations".
Thank you for this patch! However, same patch has already posted by other and merged in mm-stable[1], sorry. Looking forward to your next patches, though!
Thanks,
SJ
Quoted 21 lines
Signed-off-by Khalid Masum <[email protected]>--- include/linux/damon.h | 1 + 1 file changed, 1 insertion(+)include/linux/damon.h +1
-0@@ -262,6 +262,7 @@ struct damos {* * @DAMON_OPS_VADDR: Monitoring operations for virtual address spaces * @DAMON_OPS_PADDR: Monitoring operations for the physical address space +* @NR_DAMON_OPS: Total number of monitoring operations */ enum damon_ops_id {DAMON_OPS_VADDR ,Signature · 1 line
2.25.1