remove getfl syscall when register fd to improve performance