Added sys_fork() and sys_getpid() functions to stop the overhead