In message <201007281056.43100.hsela...@c2i.net>, Hans Petter Selasky writes:
>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? Assuming you mean memory activated via devsw->mmap: never. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"