when does an operating system wipes out memory of a process
问题 A process is terminated successfully or abnormally on some OS, when does an OS decide to wipe out the memory (data, code etc.) allocated to that process; at exit or when it wants to allocate memory to a new process? And is this wiping out memory allocation procedure the same on all operating systems (winXP, Win7, linux, Mac)? I understand, page table has mapping of virtual addresses for that process and actual physical addresses in the memory. Thanks. 回答1: How an OS reclaims process resources