gpt4 book ai didi

linux - LKM 驻留在堆中吗?

转载 作者:太空宇宙 更新时间:2023-11-04 10:48:43 24 4
gpt4 key购买 nike

我知道内核使用 vmalloc()

加载可加载内核模块 (LKM)

假设整个 LKM 都驻留在堆中是否安全?

最佳答案

更准确地说,内核模块的内存是使用 vmalloc_exec() 分配的。

Is it safe to assume that entire LKMs are residing in heap?

这取决于您对驻留在堆中的期望。您可能会假设没有任何内核模块元素驻留在内核内核中。

关于linux - LKM 驻留在堆中吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31976612/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com