Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:26:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Helper function for call_rcu() and friends. The cpu argument will* normally be -1, indicating "currently running CPU". It may specify* a CPU only if that CPU is a no-CBs CPU. Currently, only rcu_barrier()* is expected to specify a CPU.
Proto:static void __call_rcu(struct callback_head *head, rcu_callback_t func, bool lazy)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct callback_head * | head | |
rcu_callback_t | func | |
bool | lazy |
2594 | WARN_ON_ONCE((unsignedlong)head & ( size of * - 1)) |
2605 | Return |
2608 | next = NULL |
2609 | local_irq_save(flags) |
2610 | rdp = this_cpu_ptr( & rcu_data) |
2622 | If rcu_nocb_try_bypass(rdp, head, & was_alldone, flags) Then Return |
2625 | rcu_segcblist_enqueue( & Segmented callback list, with , head, lazy) |
2639 | __call_rcu_nocb_wake(rdp, was_alldone, flags) |
2640 | Else |
2642 | local_irq_restore(flags) |
Name | Describe |
---|---|
call_rcu | all_rcu() - Queue an RCU callback for invocation after a grace period |
kfree_call_rcu | Queue an RCU callback for lazy invocation after a grace period.* This will likely be later named something like "call_rcu_lazy()",* but this change will require some way of tagging the lazy RCU* callbacks in the list of pending callbacks. Until then, this |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |