函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-27 15:15:32
Last Modify:2022-05-23 13:07:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:剩余初始化

函数原型:noinline void __ref rest_init(void)

返回类型:void

参数:

411  Lockdep diagnostics.
417  pid等于创建内核线程
423  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
424  tsk等于Must be called under rcu_read_lock().
425  set_cpus_allowed_ptr(tsk, cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(当前cpu ID()))
426  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
428  numa_default_policy()
429  pid等于创建内核线程
430  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
431  kthreadd_task等于Must be called under rcu_read_lock().
432  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
441  system_state等于SYSTEM_SCHEDULING
443  mplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.
449  schedule_preempt_disabled - called with preemption disabled* Returns with preemption disabled. Note: preempt_count must be 1
451  cpu_startup_entry(CPUHP_ONLINE)
调用者
名称描述
arch_call_rest_init