OpenCloudOS-Kernel/Documentation/RCU/Design
Steven Rostedt (Google) a31323bef2 timers: Update the documentation to reflect on the new timer_shutdown() API
In order to make sure that a timer is not re-armed after it is stopped
before freeing, a new shutdown state is added to the timer code. The API
timer_shutdown_sync() and timer_shutdown() must be called before the
object that holds the timer can be freed.

Update the documentation to reflect this new workflow.

[ tglx: Updated to the new semantics and updated the zh_CN version ]

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Link: https://lore.kernel.org/r/20221110064147.712934793@goodmis.org
Link: https://lore.kernel.org/r/20221123201625.375284489@linutronix.de
2022-11-24 15:09:12 +01:00
..
Data-Structures docs: Update RCU cross-references as suggested in doc-guide 2022-04-20 16:13:52 -07:00
Expedited-Grace-Periods docs: Update RCU cross-references as suggested in doc-guide 2022-04-20 16:13:52 -07:00
Memory-Ordering rcu: Fix undefined Kconfig macros 2021-09-13 16:32:46 -07:00
Requirements timers: Update the documentation to reflect on the new timer_shutdown() API 2022-11-24 15:09:12 +01:00