]> 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)
commit8fd4d19f5523fc81379009e6ba5dc58f133555c1
treed00403132e663211306ba70eaa071d2d106f791a
parentaf8ef6feb38d1a0612b75969a147802fa433c1de
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