Free to our CPU's slab, not to CPU 0's slab
Previously, ksfree passed the whole CPU array for a slab to
kfree_pool, which expected a pointer to the specific kmem to free to.
Since the array decayed to a pointer, this compiled and worked, but
would always free to CPU 0's slab.
正在显示
请
注册
或者
登录
后发表评论