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
e7f4c5b3
Commit
e7f4c5b3
authored
May 21, 2019
by
Paul E. McKenney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rcu/nocb: Remove obsolete nocb_head and nocb_tail fields
Signed-off-by:
Paul E. McKenney
<
paulmck@linux.ibm.com
>
parent
5d6742b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
kernel/rcu/tree.h
kernel/rcu/tree.h
+0
-3
kernel/rcu/tree_plugin.h
kernel/rcu/tree_plugin.h
+0
-1
No files found.
kernel/rcu/tree.h
View file @
e7f4c5b3
...
...
@@ -194,8 +194,6 @@ struct rcu_data {
/* 5) Callback offloading. */
#ifdef CONFIG_RCU_NOCB_CPU
struct
rcu_head
*
nocb_head
;
/* CBs waiting for kthread. */
struct
rcu_head
**
nocb_tail
;
atomic_long_t
nocb_q_count
;
/* # CBs waiting for nocb */
atomic_long_t
nocb_q_count_lazy
;
/* invocation (all stages). */
struct
rcu_head
*
nocb_cb_head
;
/* CBs ready to invoke. */
...
...
@@ -211,7 +209,6 @@ struct rcu_data {
/* CBs waiting for GP. */
struct
rcu_head
**
nocb_gp_tail
;
bool
nocb_gp_sleep
;
/* Is the nocb GP thread asleep? */
bool
nocb_gp_forced
;
/* Forced nocb GP thread wakeup? */
struct
swait_queue_head
nocb_gp_wq
;
/* For nocb kthreads to sleep on. */
bool
nocb_cb_sleep
;
/* Is the nocb CB thread asleep? */
struct
task_struct
*
nocb_cb_kthread
;
...
...
kernel/rcu/tree_plugin.h
View file @
e7f4c5b3
...
...
@@ -1911,7 +1911,6 @@ void __init rcu_init_nohz(void)
/* Initialize per-rcu_data variables for no-CBs CPUs. */
static
void
__init
rcu_boot_init_nocb_percpu_data
(
struct
rcu_data
*
rdp
)
{
rdp
->
nocb_tail
=
&
rdp
->
nocb_head
;
init_swait_queue_head
(
&
rdp
->
nocb_cb_wq
);
init_swait_queue_head
(
&
rdp
->
nocb_gp_wq
);
rdp
->
nocb_cb_tail
=
&
rdp
->
nocb_cb_head
;
...
...
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