projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb6a6f
)
module: Remove redundant TASK_UNINTERRUPTIBLE
author
Kevin Hao
<haokexin@gmail.com>
Fri, 8 Dec 2023 08:29:34 +0000
(16:29 +0800)
committer
Luis Chamberlain
<mcgrof@kernel.org>
Tue, 19 Dec 2023 21:30:28 +0000
(13:30 -0800)
TASK_KILLABLE already includes TASK_UNINTERRUPTIBLE, so there is no
need to add a separate TASK_UNINTERRUPTIBLE.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/dups.c
patch
|
blob
|
history
diff --git
a/kernel/module/dups.c
b/kernel/module/dups.c
index f3d7ea1e96d82b944839c3885de6d6027bad3334..9a92f2f8c9d382fb264c7aa3a2037c1414d20d2b 100644
(file)
--- a/
kernel/module/dups.c
+++ b/
kernel/module/dups.c
@@
-207,7
+207,7
@@
bool kmod_dup_request_exists_wait(char *module_name, bool wait, int *dup_ret)
* optimization enabled ...
*/
ret = wait_for_completion_state(&kmod_req->first_req_done,
- TASK_
UNINTERRUPTIBLE | TASK_
KILLABLE);
+ TASK_KILLABLE);
if (ret) {
*dup_ret = ret;
return true;