tree_plugin.h (fbce7497ee5af800a1c350c73f3c3f103cb27a15) tree_plugin.h (b58cc46c5f6b57f1c814e374dbc47176e6b4938e)
1/*
2 * Read-Copy Update mechanism for mutual exclusion (tree-based version)
3 * Internal non-public definitions that provide either classic
4 * or preemptible semantics.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 2459 unchanged lines hidden (view full) ---

2468 int nl = 0; /* Next leader. */
2469 struct rcu_data *rdp;
2470 struct rcu_data *rdp_leader = NULL; /* Suppress misguided gcc warn. */
2471 struct rcu_data *rdp_prev = NULL;
2472 struct task_struct *t;
2473
2474 if (rcu_nocb_mask == NULL)
2475 return;
1/*
2 * Read-Copy Update mechanism for mutual exclusion (tree-based version)
3 * Internal non-public definitions that provide either classic
4 * or preemptible semantics.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 2459 unchanged lines hidden (view full) ---

2468 int nl = 0; /* Next leader. */
2469 struct rcu_data *rdp;
2470 struct rcu_data *rdp_leader = NULL; /* Suppress misguided gcc warn. */
2471 struct rcu_data *rdp_prev = NULL;
2472 struct task_struct *t;
2473
2474 if (rcu_nocb_mask == NULL)
2475 return;
2476#ifdef CONFIG_NO_HZ_FULL
2477 cpumask_or(rcu_nocb_mask, rcu_nocb_mask, tick_nohz_full_mask);
2478#endif /* #ifdef CONFIG_NO_HZ_FULL */
2476 if (ls == -1) {
2477 ls = int_sqrt(nr_cpu_ids);
2478 rcu_nocb_leader_stride = ls;
2479 }
2480
2481 /*
2482 * Each pass through this loop sets up one rcu_data structure and
2483 * spawns one rcu_nocb_kthread().

--- 541 unchanged lines hidden ---
2479 if (ls == -1) {
2480 ls = int_sqrt(nr_cpu_ids);
2481 rcu_nocb_leader_stride = ls;
2482 }
2483
2484 /*
2485 * Each pass through this loop sets up one rcu_data structure and
2486 * spawns one rcu_nocb_kthread().

--- 541 unchanged lines hidden ---