I have a question about which datas will be saved in context switching. I have searched but all links just talked about registers.
My question is does os also save the memory values of a process ?
Assume a process has defined an array starting from adress 0x80000 of Ram. When context switch occurs, what will happen to this array? Maybe the new process override 0x80000 adress in memory and when the old process continue it's working it losts the array!
Anyone can explain?