diff options
| author | 2012-09-20 16:02:49 -0700 | |
|---|---|---|
| committer | 2012-10-20 13:47:10 -0700 | |
| commit | 62da1921292ef789c23a7bf01d671d7572baf377 (patch) | |
| tree | aec958e9dbfe4d7fbdfe13e8a622721bc87a1313 /tools/perf/scripts/python | |
| parent | Linux 3.7-rc2 (diff) | |
| download | wireguard-linux-62da1921292ef789c23a7bf01d671d7572baf377.tar.xz wireguard-linux-62da1921292ef789c23a7bf01d671d7572baf377.zip | |
rcu: Accelerate callbacks for CPU initiating a grace period
Because grace-period initialization is carried out by a separate
kthread, it might happen on a different CPU than the one that
had the callback needing a grace period -- which is where the
callback acceleration needs to happen.
Fortunately, rcu_start_gp() holds the root rcu_node structure's
->lock, which prevents a new grace period from starting. This
allows this function to safely determine that a grace period has
not yet started, which in turn allows it to fully accelerate any
callbacks that it has pending. This commit adds this acceleration.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
