fastos / fastsocket

Fastsocket is a highly scalable socket and its underlying networking implementation of Linux kernel. With the straight linear scalability, Fastsocket can provide extremely good performance in multicore machines. In addition, it is very easy to use and maintain. As a result, it has been deployed in the production environment of SINA.
GNU General Public License v2.0
3.76k stars 730 forks source link

fastsocket/module 目录下链接无效 #55

Open svc-design opened 8 years ago

svc-design commented 8 years ago

fastsocket.c -> ../kernel/net/fastsocket/fastsocket.c 这是一个无效的链接文件

gfreewind commented 8 years ago

能具体说说问题吗?

svc-design commented 8 years ago

root@deepin:/data/codes/gitrepo/fastsocket/module# ls -l 总用量 16 lrwxrwxrwx 1 root root 37 4月 12 16:11 fastsocket.c -> ../kernel/net/fastsocket/fastsocket.c lrwxrwxrwx 1 root root 37 4月 12 16:11 fastsocket.h -> ../kernel/net/fastsocket/fastsocket.h -rw-r--r-- 1 root root 5017 4月 12 16:11 README.md root@deepin:/data/codes/gitrepo/fastsocket/module# ls -l ../kernel/net/fastsocket/ 总用量 68 -rwxr-xr-x 1 root root 9972 4月 18 10:44 fastsocket_api.c -rwxr-xr-x 1 root root 44386 4月 18 10:44 fastsocket_core.c -rwxr-xr-x 1 root root 3355 4月 18 13:39 fastsocket.h

svc-design commented 8 years ago

还有,作者你对内核源码树里不少头文件定义都修改了,单独一个module目录是无法编译内核模块的!

gfreewind commented 8 years ago

如果你用的是fastsocket自带的内核,就可以单独编译内核模块

svc-design commented 8 years ago

我们在评估把fastsocket移植到3.16或者更高版本内核,我们公司不使用redhat系列发行版