228 Star 835 Fork 386

GVPopenEuler / kernel

 / 详情

增加quick kexec支持

Doing
Task
Opened this issue  
2020-08-13 20:09

增加quick kexec支持,使用预留内存,减少kexec时relocate kernel的耗时。

当前kexec执行时,relocate_kernel步骤会消耗5到10秒,取决于kernel和initrd的大小。
因为执行relocate kernel时,是关闭mmu的状态,使用mov指令以4或8字节为单位进行拷贝,速度很慢。

可以向crash kexec(kdump)一样,使用提前预留的内存,在relocate前将kimage的各个segment拷贝到预留好的内存中,直接从预留内存的kernel入口启动。

Comments (1)

snoweay created任务
snoweay set related repository to openEuler/kernel
Expand operation logs

Hey @snoweay , Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

snoweay changed description
snoweay changed issue state from 待办的 to 进行中

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(2)
5329419 openeuler ci bot 1632792936 5741234 snoweay 1615972858
C
1
https://toscode.gitee.com/openeuler/kernel.git
git@toscode.gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

Search

161121 f78d6d6f 1850385 154831 86f8c370 1850385