Re: mmap() problem

From: Jille Timmermans <jille_at_quis.cx>
Date: Wed, 28 Jul 2010 11:09:07 +0200
 From close(3):
      The close(2) system call does not unmap pages, see munmap(2) for further
      information.

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_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jul 28 2010 - 07:41:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC