如何知道Linux中进程的分配方法?

时间:2017-04-28 09:43:29

标签: c linux-kernel operating-system

我想知道流程如何决定伙伴分配或slab。有什么命令可以找到它吗?它如何知道它应该使用哪种分配?

1 个答案:

答案 0 :(得分:0)

Linux内核使用的分配器由配置

定义
  • CONFIG_SLAB - SLAB分配器
  • CONFIG_SLUB - SLUB分配器
  • CONFIG_SLOB - SLOB分配器

检查this.http.get('http://localhost:3000/book/1/author').subscribe(res => { // do something with the results here }); 文件以了解特定内核的配置。