Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-28 07:55:00
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:load_percpu_segment

Proto:void load_percpu_segment(int cpu)

Type:void

Parameter:

TypeParameterName
intcpu
575  loadsegment(fs, __KERNEL_PERCPU)
580  load_stack_canary_segment()
Caller
NameDescribe
switch_to_new_gdtCurrent gdt points %fs at the "master" per-cpu area: after this,* it's on the real one.