diff options
| author | SeongJae Park <sj@kernel.org> | 2025-07-05 10:49:57 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-19 18:59:43 -0700 |
| commit | 775c96714dca287f1130a7028890254d426a2b5d (patch) | |
| tree | 1d1b719c85cbf260ac38988394ef57a71a2955b0 /samples | |
| parent | 6a52ac0b60317337d57c57c45e6abd4936c386c3 (diff) | |
samples/damon/mtier: rename to have damon_sample_ prefix
DAMON sample module, mtier has its name 'mtier'. It could conflict with
future modules, and not very easy to identify it by name. Use a prefix,
"damon_sample_" for the name.
Note that this could break users if they depend on the old name. But it
is just a sample, so no such usage is expected, or known. Even if such
usage exists, updating it for the new name should be straightforward.
Link: https://lkml.kernel.org/r/20250705175000.56259-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/damon/mtier.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/damon/mtier.c b/samples/damon/mtier.c index bc9d8195da87..537bc6eae9f7 100644 --- a/samples/damon/mtier.c +++ b/samples/damon/mtier.c @@ -12,6 +12,11 @@ #include <linux/kernel.h> #include <linux/module.h> +#ifdef MODULE_PARAM_PREFIX +#undef MODULE_PARAM_PREFIX +#endif +#define MODULE_PARAM_PREFIX "damon_sample_mtier." + static unsigned long node0_start_addr __read_mostly; module_param(node0_start_addr, ulong, 0600); |
