增加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入口启动。
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
问题解决,关闭
登录 后才可以发表评论