Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2019 15:01:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 230160] linuxulator doesn't implement madvise(MADV_DONTNEED) and any MADV_ flags with values >= 8 correctly
Message-ID:  <bug-230160-4077-KDnY05tkaL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230160-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230160-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230160

--- Comment #7 from Bill Sorenson <instructionset@gmail.com> ---
(In reply to David Chisnall from comment #6)
I'm aware they have different use cases. My main point is that if we are go=
ing
to adopt a Linux-MADV_DONTNEED equivalent we use Illumos' MADV_PURGE rather
than invent a new argument.

I don't object to adding MADV_PURGE or MADV_ZERO for Linux compatibility bu=
t to
me it seems like it would usually be better to call munmap() directly than =
to
use some bizarre madvise() semantics to simulate it although admittedly I d=
on't
know the specifics.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230160-4077-KDnY05tkaL>