]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/sysfs: deduplicate inputs applying
authorSeongJae Park <sj@kernel.org>
Mon, 6 Jun 2022 18:23:08 +0000 (18:23 +0000)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:38 +0000 (18:08 -0700)
commit2cea51196fda5f00a0ed60441bb508f1a6d48bd9
treed00403132e663211306ba70eaa071d2d106f791a
parent919b02277baaf5e9b483967fd0eede22b51df0d1
mm/damon/sysfs: deduplicate inputs applying

DAMON sysfs interface's DAMON context building and its online parameter
update have duplicated code.  This commit removes the duplicate.

Link: https://lkml.kernel.org/r/20220606182310.48781-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/sysfs.c