函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer.c Create Date:2022-07-27 11:39:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:schedule_timeout_uninterruptible

函数原型:signed long __sched schedule_timeout_uninterruptible(signed long timeout)

返回类型:signed long

参数:

类型参数名称
signed longtimeout
1928  set_current_state() includes a barrier so that the write of current->state* is correctly serialised wrt the caller's subsequent test of whether to* actually sleep:* for (;;) {* set_current_state(TASK_UNINTERRUPTIBLE);* if (!need_sleep)* break;* (深度睡眠态)
1929  返回:schedule_timeout - sleep until timeout*@timeout: timeout value in jiffies* Make the current task sleep until @timeout jiffies have* elapsed
调用者
名称描述
lock_torture_readerLock torture reader kthread. Repeatedly acquires and releases* the reader lock.
try_to_suspend
rcu_torture_boost
rcu_torture_writerRCU torture writer kthread. Repeatedly substitutes a new structure* for that pointed to by rcu_torture_current, freeing the old structure* after a series of grace periods (the "pipeline").
rcu_torture_fakewriterRCU torture fake writer kthread. Repeatedly calls sync, with a random* delay between calls.
rcu_torture_fwd_prog_nrCarry out need_resched()/cond_resched() forward-progress testing.
rcu_torture_fwd_prog_crCarry out call_rcu() forward-progress testing.
rcu_perf_wait_shutdownIf performance tests complete, wait for shutdown to commence.
rcu_perf_writerRCU perf writer kthread. Repeatedly does a grace period.
rcu_perf_cleanup
rcu_perf_init
rcu_gp_slow
msleepmsleep - sleep safely even with waitqueue interruptions*@msecs: Time in milliseconds to sleep for
torture_shutdown_absorbAbsorb kthreads into a kernel function that won't return, so that* they won't ever access module text or data again.
torture_cleanup_beginClean up torture module
torture_kthread_stoppingEach kthread must wait for kthread_should_stop() before returning from* its top-level function, otherwise segfaults ensue
should_reclaim_retryChecks whether it makes sense to retry the reclaim to make a forward progress* for the given allocation request.* We give up when we either have tried MAX_RECLAIM_RETRIES in a row* without success, or when we couldn't even meet the watermark if we
SYSCALL_DEFINE1
lock_torture_writerLock torture writer kthread. Repeatedly acquires and releases* the lock, checking for duplicate acquisitions.
__alloc_pages_may_oom