[Bug 222356] www/firefox: file-backed shared memory performance

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 18 20:38:21 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222356

--- Comment #11 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Tijl Coosemans from comment #10)
The normal writes, as well as writes initiated by the pagedaemon pageouts, must
be allowed even for unlinked vnodes.  It is possible that the system is low
either on memory, or as is in the case of your backtrace, short of the
non-dirty reusable buffers, which cause writes.  In this case pages can be
reused and we still need the page content, because the process with open handle
might access the paged out page again.

Your patch for kern_fsync() looks fine, but I did not looked at it in some
details.  Since we lock the vnode on normal path, I prefer to not be racy there
and check for VV_NOSYNC after the vnode is locked.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gecko mailing list