<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Oh interesting, thanks for looking into this guys. As far as I
understand it though, this is still not duplicating the mapping,
but setting up a fault handler at the original address to manage
access. I don't think we'd want this since when wine remaps the
page/s hosting a given buffer it also forces all other resources
mapped to the same page/s to go through this presumably slow fault
handler. Am I missing something?</p>
<div class="moz-cite-prefix">Am 10/24/24 um 18:40 schrieb
<a class="moz-txt-link-abbreviated" href="mailto:tblodt@icloud.com">tblodt@icloud.com</a>:<br>
</div>
<blockquote type="cite"
cite="mid:95FA2FDB-7CC7-4C37-B6C3-341B857DC1E3@icloud.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>Wait, apparently this was fully merged in kernel 5.13? The
man page is simply out of date. <a
href="https://github.com/torvalds/linux/commit/a4609387859f0281951f5e476d9f76d7fb9ab321"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/torvalds/linux/commit/a4609387859f0281951f5e476d9f76d7fb9ab321</a></div>
<br id="lineBreakAtBeginningOfSignature">
<div dir="ltr">~Theodore</div>
<div dir="ltr"><br>
<blockquote type="cite">On Oct 24, 2024, at 9:37 AM,
<a class="moz-txt-link-abbreviated" href="mailto:tblodt@icloud.com">tblodt@icloud.com</a> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta http-equiv="content-type"
content="text/html; charset=UTF-8">
<div>
<div dir="ltr">
<blockquote type="cite">On Oct 24, 2024, at 1:04 AM, Derek
Lesho <a class="moz-txt-link-rfc2396E" href="mailto:dlesho@codeweavers.com"><dlesho@codeweavers.com></a> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">In my last mail I responded to this
approach all the way at the bottom, so it probably got
lost: mremap on Linux as it exists now won't work as it
only supports private anonymous mappings (in conjunction
with MREMAP_DONTUNMAP), which GPU mappings are not.</div>
</blockquote>
</div>
<div><br>
</div>
<div>This is seemingly not insurmountable: <a
href="https://lore.kernel.org/linux-mm/20210303175235.3308220-1-bgeffon@google.com/"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lore.kernel.org/linux-mm/20210303175235.3308220-1-bgeffon@google.com/</a>
<div><br id="lineBreakAtBeginningOfSignature">
<div dir="ltr">~Theodore</div>
</div>
</div>
<span></span><br>
<span></span><br>
</div>
</blockquote>
</blockquote>
</body>
</html>