2021-11-22 14:32:12

by Yu Chen

[permalink] [raw]
Subject: [PATCH] module: Remove outdated comment

Since commit e513cc1c07e2 ("module: Remove stop_machine from module
unloading") this comment is no longer correct. Remove it.

Signed-off-by: Yu Chen <[email protected]>
---
kernel/module.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/module.c b/kernel/module.c
index 84a9141..320ec90 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -958,7 +958,6 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user,
}
}

- /* Stop the machine so refcounts can't move and disable module. */
ret = try_stop_module(mod, flags, &forced);
if (ret != 0)
goto out;
--
2.25.1



2021-12-08 19:42:42

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [PATCH] module: Remove outdated comment

On Mon, Nov 22, 2021 at 06:26:48AM -0800, Yu Chen wrote:
> Since commit e513cc1c07e2 ("module: Remove stop_machine from module
> unloading") this comment is no longer correct. Remove it.
>
> Signed-off-by: Yu Chen <[email protected]>

Queued up, thanks!

Luis