Function report |
Source Code:kernel\rcu\srcutiny.c |
Create Date:2022-07-28 10:19:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Workqueue handler to drive one grace period and invoke any callbacks* that become ready as a result. Single-CPU and !PREEMPT operation* means that we get away with murder on synchronization. ;-)
Proto:void srcu_drive_gp(struct work_struct *wp)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct work_struct * | wp |
117 | If GP workqueue running? || Not READ_ONCE( Pending callbacks: Head. ) Then Return |
121 | WRITE_ONCE( GP workqueue running? , true) |
122 | local_irq_disable() |
123 | lh = Pending callbacks: Head. |
124 | Pending callbacks: Head. = NULL |
129 | WRITE_ONCE( GP waiting for readers? , true) |
131 | WRITE_ONCE( GP waiting for readers? , false) |
148 | WRITE_ONCE( GP workqueue running? , false) |
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 |