Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer.c Create Date:2022-07-28 10:40:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:schedule_timeout_uninterruptible

Proto:signed long __sched schedule_timeout_uninterruptible(signed long timeout)

Type:signed long

Parameter:

TypeParameterName
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;* (TASK_UNINTERRUPTIBLE)
1929  Return schedule_timeout - sleep until timeout*@timeout: timeout value in jiffies* Make the current task sleep until @timeout jiffies have* elapsed
Caller
NameDescribe
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