What about some generic files, with the same content for all rcu backends?
The implementation could be in rcupdate.c. At least counting the rcu
callbacks could be done from generic code, the grace periods could be
queried [Do all backends implement rcu_batches_completed?]
Attached is a hack that I use right now for myself.
Btw - on my 4-cpu system, the average latency from call_rcu() to the rcu
callback is 4-5 milliseconds, (CONFIG_HZ_1000).
--
Manfred