Refactorization of process address spaces as kernel objects