Notes for Operating systems I