linux kernel 3.10 module 没有 mod->refcnt,如何force rmmod?
Hacky-DH opened this issue · 0 comments
Hacky-DH commented
linux kernel 3.10 module 没有 mod->refcnt
只有
struct module_ref __percpu *refptr;
struct module_ref {
unsigned long incs;
unsigned long decs;
}
请问这个如何将cpu的各个module的refptr 设置为0?
另外在kernel空间如何强制终止一个进程呢?
非常感谢