[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    [haiku-commits] Change in haiku[master]: rpmalloc: Use create_area instead of mmap.
From:       Gerrit <review () review ! haiku-os ! org>
Date:       2018-12-25 22:42:36
Message-ID: gerrit.1545777752434.I338c4043ecc2947b82b8fe9fd69a99ce3fa23138 () review ! haiku-os ! org
[Download RAW message or body]

From Michael Lotz <mmlr@mlotz=2Ech>:

Michael Lotz has uploaded this change=
 for review=2E ( https://review=2Ehaiku-os=2Eorg/802


Change subject: rpma=
lloc: Use create_area instead of mmap=2E
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E

rpmalloc: Use create_area instead of mmap=2E

=
It has lower overhead and allows to name the areas so that they are
labeled=
 as heap areas=2E

Note that we can still use munmap for releasing=2E It ha=
s the nicer
interface of using the base address and length which we already=
 know
instead of needing the area id that would have to be queried with an
=
additional syscall=2E
---
M src/system/libroot/posix/rpmalloc/rpmalloc=2Ecp=
p
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://git=
=2Ehaiku-os=2Eorg/haiku refs/changes/02/802/1
-- 
To view, visit https://re=
view=2Ehaiku-os=2Eorg/802
To unsubscribe, or for help writing mail filters,=
 visit https://review=2Ehaiku-os=2Eorg/settings

Gerrit-Project: haiku
Gerr=
it-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I338c4043=
ecc2947b82b8fe9fd69a99ce3fa23138
Gerrit-Change-Number: 802
Gerrit-PatchSet:=
 1
Gerrit-Owner: Michael Lotz <mmlr@mlotz=2Ech>

[Attachment #3 (text/html)]

<p>Michael Lotz has uploaded this change for <strong>review</strong>.</p><p><a \
href="https://review.haiku-os.org/802">View Change</a></p><pre style="font-family: \
monospace,monospace; white-space: pre-wrap;">rpmalloc: Use create_area instead of \
mmap.<br><br>It has lower overhead and allows to name the areas so that they \
are<br>labeled as heap areas.<br><br>Note that we can still use munmap for releasing. \
It has the nicer<br>interface of using the base address and length which we already \
know<br>instead of needing the area id that would have to be queried with \
an<br>additional syscall.<br>---<br>M \
src/system/libroot/posix/rpmalloc/rpmalloc.cpp<br>1 file changed, 6 insertions(+), 0 \
deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: \
pre-wrap;">git pull ssh://git.haiku-os.org/haiku refs/changes/02/802/1</pre><p>To \
view, visit <a href="https://review.haiku-os.org/802">change 802</a>. To unsubscribe, \
or for help writing mail filters, visit <a \
href="https://review.haiku-os.org/settings">settings</a>.</p><div itemscope \
itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" \
itemtype="http://schema.org/ViewAction"><link itemprop="url" \
href="https://review.haiku-os.org/802"/><meta itemprop="name" content="View \
Change"/></div></div>

<div style="display:none"> Gerrit-Project: haiku </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: \
I338c4043ecc2947b82b8fe9fd69a99ce3fa23138 </div> <div style="display:none"> \
Gerrit-Change-Number: 802 </div> <div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Michael Lotz &lt;mmlr@mlotz.ch&gt; </div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic