Search code examples
processoperating-systemmmap

Does the mmap field still exist when I kill the process?


I use mmap() in a process, then I kill the process without close mmap. The mmap field still exist?


Solution

  • The process's own mappings are closed. If it is a shared mmap, it does not destroy the mappings used by other processes.