Function report |
Source Code:kernel\rcu\tree_plugin.h |
Create Date:2022-07-28 10:28:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Note a PREEMPT=n context switch. The caller must have disabled interrupts.
Proto:void rcu_note_context_switch(bool preempt)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
bool | preempt |
849 | If Not smp_load_acquire(this_cpu_ptr( & rcu_urgent_qs)) Then Go to out |
851 | this_cpu_write(rcu_urgent_qs, false) |
854 | If Not preempt Then Note a quasi-voluntary context switch for RCU-tasks's benefit.* This is a macro rather than an inline function to avoid #include hell.(current process) |
856 | out : |
Name | Describe |
---|---|
__schedule | __schedule() is the main scheduler function.* The main means of driving the scheduler and thus entering this function are:* 1. Explicit blocking: mutex, semaphore, waitqueue, etc.* 2. TIF_NEED_RESCHED flag is checked on interrupt and userspace return |
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 |