Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kthread_should_stop - should this kthread return now?* When someone calls kthread_stop() on your kthread, it will be woken* and this will return true. You should then return, and your return* value will be passed through to kthread_stop().

Proto:bool kthread_should_stop(void)

Type:bool

Parameter:Nothing

103  Return st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
Caller
NameDescribe
threadfunc
kthread_freezable_should_stopkthread_freezable_should_stop - should this freezable kthread return now?*@was_frozen: optional out parameter, indicates whether %current was frozen* kthread_should_stop() for freezable kthreads, which will enter* refrigerator if necessary
kthread_worker_fnkthread_worker_fn - kthread function to process kthread_worker*@worker_ptr: pointer to initialized kthread_worker* This function implements the main cycle of kthread worker. It processes* work_list until it is stopped with kthread_stop()
smpboot_thread_fnsmpboot_thread_fn - percpu hotplug thread loop function*@data: thread data pointer* Checks for thread stop and park conditions. Calls the necessary* setup, cleanup, park and unpark functions for the registered* thread.
is_kthread_should_stop
crc32_threadfnCRC32 update function that runs in its own thread.
lzo_compress_threadfnCompression function that runs in its own thread.
lzo_decompress_threadfnDeompression function that runs in its own thread.
irq_wait_for_interrupt
rcu_torture_boost
rcu_torture_fqsRCU torture force-quiescent-state kthread. Repeatedly induces* bursts of calls to force_quiescent_state(), increasing the probability* of occurrence of some important types of race conditions.
rcu_torture_stallCPU-stall kthread. It waits as specified by stall_cpu_holdoff, then* induces a CPU stall for the time specified by stall_cpu.
rcu_perf_writerRCU perf writer kthread. Repeatedly does a grace period.
__refrigeratorRefrigerator is place where frozen processes are stored :-).
kauditd_threadkauditd_thread - Worker thread to send audit records to userspace*@dummy: unused
break_test
wait_to_die
ring_buffer_consumer_thread
ring_buffer_producer_thread
busy_wait
kthread_fnkthread_fn - The CPU time sampling/hardware latency detection kernel thread* Used to periodically sample the CPU TSC via a call to get_sample. We* disable interrupts, which does (intentionally) introduce latency since we
benchmark_event_kthread
cpu_map_kthread_run
torture_must_stopIs it time for the current torture test to stop?
torture_kthread_stoppingEach kthread must wait for kthread_should_stop() before returning from* its top-level function, otherwise segfaults ensue
kswapd_try_to_sleep
kswapdThe background pageout daemon, started as a kernel thread* from the init process.* This basically trickles out pages so that we have _some_* free memory available even if there is no other activity* that frees anything up
ksm_scan_thread
khugepaged_wait_event
khugepaged_do_scan
khugepaged_should_wakeup
khugepaged
scan_should_stopMemory scanning is a long process and it needs to be interruptable. This* function checks whether such interrupt condition occurred.
kmemleak_scan_threadThread function performing automatic memory scanning. Unreferenced objects* at the end of a memory scan are reported but only the first time.
test_func