|
|
Subscribe / Log in / New account

The new visibility of RCU processing

The new visibility of RCU processing

Posted Oct 11, 2012 17:33 UTC (Thu) by kjp (guest, #39639)
Parent article: The new visibility of RCU processing

Why are there three threads?


to post comments

The new visibility of RCU processing

Posted Oct 11, 2012 18:14 UTC (Thu) by PaulMcKenney (✭ supporter ✭, #9624) [Link]

There is one thread for each flavor of RCU, which means three on CONFIG_PREEMPT=y kernels (rcu_bh, rcu_preempt, and rcu_sched) and two on CONFIG_PREEMPT=n kernels (rcu_bh and rcu_sched, with rcu_preempt mapping onto rcu_sched).

In theory, a single thread could handle all the RCU flavors, but when I tried this the code got quite ugly.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds