ssrg-vt / popcorn-kernel

Popcorn Linux kernel for distributed thread execution
Other
156 stars 23 forks source link

Ctrl-C can not kill a popcorn process executing in a syscall redirection context #104

Closed xjtuwxg closed 4 years ago

xjtuwxg commented 4 years ago

Testing running Redis on nginx_heterogenous_fixes branch (w/ system call redirection). Ctrl-C cannot kill Redis, and it further leads to a kernel hang.

Example of the application code that causes this issue:

    while(1) {
        migrate(1, 0, 0);
        connfd = accept(listenfd, (SA *)&clientaddr, &clientlen);
        process(connfd, &clientaddr);
        migrate(0, 0, 0);
        close(connfd);
    }