-
Notifications
You must be signed in to change notification settings - Fork 279
arm and windows support for fdbased link endpoint #6
Comments
writev is used over write so that we don't have to re-allocate slices for performance reasons. In addition, because we know that the syscall won't block, we can use syscall.RawSyscall instead of syscall.Syscall for performance reasons as well. |
I think the use of SYS_WRITEV and RawSyscall are totally fine with respect to the title of the question, since these are supported by the built-in "syscall" library and will compile on GOARCH=arm64. The question is why rawfile_unsafe.go needs to implement a custom assembly-version of
The only difference I can tell between the custom blockingPoll() and the above version is the use of |
I have made it so that |
Seems
|
Netstack is working now on arm, arm64, amd64 with this commit honeytrap@dc46347. I'll work on Gerrit to submit the commit. |
@nl5887, any update? |
This is all working now, I think. Can this be closed? |
From my understanding, fdbased link endpoint only supports linux,amd64 mainly because the fd IO is based on file rawfile_unsafe.go, if using "golang.org/x/sys/" package to implement fd IO operation, more OS/arch will be supported.
The text was updated successfully, but these errors were encountered: