|
楼主 |
发表于 2003-7-11 09:44:59
|
显示全部楼层
Dragonfly,
thanks,the web address you offered is very useful.
something i still don't understand:
1.
if i just write #include<linux/mm.h> in my prog,then use gcc to compile and link it(don't use -I option to give include path),i want to know which path is used actually,because mm.h exists in a several different directories(/usr/include and,/usr/include/linux and other directories).
2.
if i want to give a definite path in my progs how can i know which path i shoud use.
by the way,
i have known the usage of spin_lock,rw_lock through reading a lot of docs from internet,thank you.now I want create process and thread in kernel module progs,but i can't find functions to create process and thread in kernel module,hope you can tell me.
really appreciate you help!!! |
|