函数逻辑报告 |
Source Code:include\linux\sched.h |
Create Date:2022-07-27 06:58:36 |
| Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:need_resched
函数原型:static __always_inline bool need_resched(void)
返回类型:bool
参数:无
| 1824 | 返回:此条件成立可能性小(为编译器优化)(tif_need_resched()) |
| 名称 | 描述 |
|---|---|
| mwait_idle | MONITOR/MWAIT with no hints, used for default C1 state. This invokes MWAIT* with interrupts enabled and no flags, which is backwards compatible with the* original MWAIT implementation. |
| apm_do_idle | apm_do_idle - perform power saving* This function notifies the BIOS that the processor is (in the view* of the OS) idle. It returns -1 in the event that the BIOS refuses* to handle the idle request. On a success the function returns 1 |
| apm_cpu_idle | |
| __do_softirq | |
| schedule | 进程调度 |
| schedule_idle | synchronize_rcu_tasks() makes sure that no task is stuck in preempted* state (have scheduled out non-voluntarily) by making sure that all* tasks have either left the run queue or have gone into user space |
| preempt_schedule_common | |
| preempt_schedule_irq | This is the entry point to schedule() from kernel preemption* off of irq context.* Note, that this is called and return with irqs disabled. This will* protect us against recursive calling from irq. |
| cpuidle_idle_call | puidle_idle_call - the main idle function* NOTE: no locks or semaphores should be used here* On archs that support TIF_POLLING_NRFLAG, is called with polling* set, and it returns with polling set. If it ever stops polling, it* must clear the polling bit. |
| do_idle | Generic idle loop implementation* Called with polling cleared. |
| osq_lock | |
| rcu_torture_fwd_prog_cond_resched | Give the scheduler a chance, even on nohz_full CPUs. |
| rcu_torture_fwd_prog_nr | Carry out need_resched()/cond_resched() forward-progress testing. |
| rcu_do_batch | Invoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit. |
| cgroup_rstat_flush_locked | see cgroup_rstat_flush() |
| do_check | |
| copy_pte_range | |
| zap_pte_range | |
| blk_poll | lk_poll - poll for IO completions*@q: the queue*@cookie: cookie passed back at IO submission time*@spin: whether to spin for completions* Description:* Poll for completions on the passed in queue. Returns number of* completed entries found |
| key_garbage_collector | Reaper for unused keys. |
| do_select | |
| do_poll | |
| select_collect | |
| select_collect2 | |
| evict_inodes | vict_inodes - evict all evictable inodes for a superblock*@sb: superblock to operate on* Make sure that no inodes with zero refcount are retained |
| invalidate_inodes | validate_inodes - attempt to free all inodes on a superblock*@sb: superblock to operate on*@kill_dirty: flag to guide handling of dirty inodes* Attempts to free all inodes for a given superblock. If there were any |
| scan_positives | Returns an element of siblings' list.* We are looking for ; if* found, dentry is grabbed and returned to caller.* If no such element exists, NULL is returned. |
| writeback_sb_inodes | Write a portion of b_io inodes which belong to @sb.* Return the number of pages and/or inodes written.* NOTE! This is called with wb->list_lock held, and will* unlock and relock that for each inode it ends up doing* IO for. |
| io_iopoll_getevents | Poll for a minimum of 'min' events. Note that if min == 0 we consider that a* non-spinning poll check - we'll still enter the driver poll loop, but only* as a non-spinning completion check. |
| io_iopoll_check | |
| io_worker_spin_for_work | |
| drop_pagecache_sb | |
| mwait_idle_with_hints | This uses new MONITOR/MWAIT instructions on P4 processors with PNI,* which can obviate IPI to trigger checking of need_resched.* We execute MONITOR against need_resched and enter optimized wait state* through MWAIT |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |