Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2024 10:09:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275632] process being killed which has a big file mmap'ed and performs writes to it
Message-ID:  <bug-275632-227-HGLOvhenWS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275632-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #9 from Martin Birgmeier <d8zNeCFG@aon.at> ---
After adding an msync call for the region just written the program runs to
completion.

    msync(curloc, nread, MS_ASYNC);

This should not be necessary as the system should flush pages even without.

-- Martin

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275632-227-HGLOvhenWS>