Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ce991095
Commit
ce991095
authored
Sep 10, 2018
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'locking/urgent' into locking/core, to pick up fixes
Signed-off-by:
Ingo Molnar
<
mingo@kernel.org
>
parents
34e12b86
da260fe1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
kernel/jump_label.c
kernel/jump_label.c
+1
-1
kernel/locking/mutex.c
kernel/locking/mutex.c
+1
-2
No files found.
kernel/jump_label.c
View file @
ce991095
...
...
@@ -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 allocat
ot
e 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
;
...
...
kernel/locking/mutex.c
View file @
ce991095
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment