Fixed page-fault exceptions by initializing sleeping list and fixed race conditions by temporarily disabling interrupts.