/ 详情

增加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入口启动。

Attachments

Comments (1)

snoweay created任务
snoweay set related repository to openEuler/kernel
展开全部操作日志

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

状态
Assignees
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
确定
参与者(2)
5329419 openeuler ci bot 1578984659 5741234 snoweay 1615972858