Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:26:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Clean up after the old grace period.
Proto:static void rcu_gp_cleanup(void)
Type:void
Parameter:Nothing
| 1709 | bool needgp = false |
| 1716 | WRITE_ONCE(Time of last GP kthread , jiffies) |
| 1718 | Time last GP ended, again = jiffies |
| 1720 | If gp_duration > Maximum GP duration in Then Maximum GP duration in = gp_duration |
| 1746 | If WARN_ON_ONCE(rcu_preempt_blocked_readers_cgp(rnp)) Then dump_blkd_tasks(rnp, 10) |
| 1750 | rdp = this_cpu_ptr( & rcu_data) |
| 1754 | needgp = Clean up any old requests for the just-ended grace period. Also return* whether any additional grace periods have been requested. || needgp |
| 1755 | sq = rcu_nocb_gp_get(rnp) |
| 1757 | rcu_nocb_gp_cleanup(sq) |
| 1759 | WRITE_ONCE(Time of last GP kthread , jiffies) |
| 1760 | rcu_gp_slow(gp_cleanup_delay) |
| 1770 | rdp = this_cpu_ptr( & rcu_data) |
| 1771 | If Not needgp && ULONG_CMP_LT(Track rsp->rcu_gp_seq. , Track furthest future GP request. ) Then |
| 1774 | needgp = true |
| 1777 | offloaded = IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RCU_NOCB_CPU) && Is the specified rcu_segcblist offloaded? |
| 1781 | Time of last GP request = jiffies |
| 1785 | Else |
| Name | Describe |
|---|---|
| rcu_gp_kthread | Body of kthread that handles grace periods. |
| 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 |