| commit | 4c8b329d202fc7e05a296f45edef32976a90bf9d | [log] [tgz] |
|---|---|---|
| author | Joel Fernandes (Google) <joel@joelfernandes.org> | Thu Mar 07 02:24:24 2024 -0500 |
| committer | Joel Fernandes (Google) <joel@joelfernandes.org> | Fri Mar 08 16:56:17 2024 -0500 |
| tree | 960e0ed24fe6cac1eac2ea32fd55260044e95ff5 | |
| parent | 9dc8088a4f52b7be1e34eba409b5023525778ddd [diff] |
rcu/tree: Reduce wake up for synchronize_rcu() common case In the synchronize_rcu() common case, we will have less than SR_MAX_USERS_WAKE_FROM_GP number of users per GP. Waking up the kworker is pointless just to free the last injected wait head since at that point, all the users have already been awakened. Introduce a new counter to track this and prevent the wakeup in the common case. Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>