在 (1) 里,函数向一个结构体模块(struct module)填充了加载模块必须的数据。需要关注的部分是 init_module 和 cleanup_module。
基于1个网页-相关网页
Each scheduler module needs to implement a set of functions as suggested by struct sched_class.
每个调度程序模块需要实现struct sched_class建议的一组函数。
Under the global scope, the following definitions form scopes: module, interface, struct, union, operation, and exception.
在全局作用域中,以下定义组成了作用域: module 、 interface 、 struct 、 union 、 operation 和 exception 。
应用推荐