函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:21:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:cmpxchg_double_slab
函数原型:static inline bool cmpxchg_double_slab(struct kmem_cache *s, struct page *page, void *freelist_old, unsigned long counters_old, void *freelist_new, unsigned long counters_new, const char *n)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kmem_cache * | s | |
| struct page * | page | |
| void * | freelist_old | |
| unsigned long | counters_old | |
| void * | freelist_new | |
| unsigned long | counters_new | |
| const char * | n |
| 417 | local_irq_save(flags) |
| 419 | 如果 first free object 恒等于freelist_old且 SLUB 恒等于counters_old则 |
| 427 | slab_unlock(page) |
| 428 | local_irq_restore(flags) |
| 431 | cpu_relax() |
| 438 | 返回:false |
| 名称 | 描述 |
|---|---|
| __slab_free | Slow path handling. This may still be called frequently since objects* have a longer lifetime than the cpu slabs in most processing loads.* So we still attempt to reduce cache line usage. Just take the slab* lock and free the item |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |