首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
managerment专题
memory managerment slab allocator(3)
/*何时进行的检查? *1]当申请object时候 **/ static __always_inline void * __cache_alloc(struct kmem_cache *cachep, gfp_t flags, void *caller){ cache_alloc_debugcheck_before(cachep, flags); local_
阅读更多...
memory managerment slab allocator(2)
怎样调试memory出现的错误: red zoning/ object poisoning/ caller到底在哪里? per_cpu变量使用的memory /object就是 slab的object? kmalloc 分到的memory到底是怎样分布的? 测试代码: create_cache and allocate an object /******************
阅读更多...