mmap() problem

Jille Timmermans jille at
Wed Jul 28 09:41:16 UTC 2010

 From close(3):
      The close(2) system call does not unmap pages, see munmap(2) for further

The pages can be freed when the process terminates.

-- Jille

Op 28-7-2010 10:56, Hans Petter Selasky schreef:
> Hi,
> When is it safe to free memory which has been mmapped to a user-space
> application? After close() or during close() or before close() or when the
> process/thread terminates?
> --HPS
> _______________________________________________
> freebsd-current at mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at"

More information about the freebsd-current mailing list