• fork属于系统调用 xff0c 首先从用户态切换到内核态 xff0c 这个过程前面已经说过了 xff0c 到了内核态之后就是调用sys fork xff08 xff09 然后调用do fork asmlinkage int sys for