]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'locking/urgent' into locking/core, to pick up fixes
authorIngo Molnar <mingo@kernel.org>
Mon, 10 Sep 2018 08:16:22 +0000 (10:16 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 10 Sep 2018 08:16:22 +0000 (10:16 +0200)
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/jump_label.c
kernel/locking/mutex.c

index 61d1c017873107039d5511b4752a5aaf4ac563ed..de97d8753b62aeeb6556efe9367218e712211bb0 100644 (file)
@@ -678,7 +678,7 @@ jump_label_module_notify(struct notifier_block *self, unsigned long val,
        case MODULE_STATE_COMING:
                ret = jump_label_add_module(mod);
                if (ret) {
-                       WARN(1, "Failed to allocatote memory: jump_label may not work properly.\n");
+                       WARN(1, "Failed to allocate memory: jump_label may not work properly.\n");
                        jump_label_del_module(mod);
                }
                break;
index 1a81a1257b3f3aca67e00bbe9a3a0b4e465b0e4f..3f8a35104285ab29fe2e9992430e75b6aefbff89 100644 (file)
@@ -389,7 +389,7 @@ static bool __ww_mutex_wound(struct mutex *lock,
                /*
                 * wake_up_process() paired with set_current_state()
                 * inserts sufficient barriers to make sure @owner either sees
-                * it's wounded in __ww_mutex_lock_check_stamp() or has a
+                * it's wounded in __ww_mutex_check_kill() or has a
                 * wakeup pending to re-read the wounded state.
                 */
                if (owner != current)
@@ -946,7 +946,6 @@ __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass,
        }
 
        debug_mutex_lock_common(lock, &waiter);
-       debug_mutex_add_waiter(lock, &waiter, current);
 
        lock_contended(&lock->dep_map, ip);