static inline mempool_t *mempool_create_kmalloc_pool(int min_nr, size_t size) 这个函数也是新建一个缓冲池,但是不需要 用户指定内存池的alloc and free函数。 其源码分析如下: static inline ……