[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Review Request 117827: malloc_trim is a gnu extension
From: "Vishesh Handa" <me () vhanda ! in>
Date: 2014-04-28 12:45:45
Message-ID: 20140428124545.9428.90451 () probe ! kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117827/#review56740
-----------------------------------------------------------
Ship it!
I was trying to keep the memory used by the process to a minimum and in this \
particular case free would not return the memory back to the kernel, hence the \
explicit trim command. Ship it for now. Maybe we want to use a better solution in the \
future.
- Vishesh Handa
On April 28, 2014, 9:48 a.m., Patrick Spendrin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117827/
> -----------------------------------------------------------
>
> (Updated April 28, 2014, 9:48 a.m.)
>
>
> Review request for Baloo and kdewin.
>
>
> Repository: baloo
>
>
> Description
> -------
>
> malloc_trim is a gnu extension, so it doesn't work on windows. I am not sure what \
> the exact purpose of this call is (is the memory not freed elsewhere?), so I'd like \
> to have some comments on it.
>
> Diffs
> -----
>
> src/xapian/xapiandatabase.cpp 0478139
>
> Diff: https://git.reviewboard.kde.org/r/117827/diff/
>
>
> Testing
> -------
>
> windows msvc 2010
>
>
> Thanks,
>
> Patrick Spendrin
>
>
[Attachment #5 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/117827/">https://git.reviewboard.kde.org/r/117827/</a>
</td>
</tr>
</table>
<br />
<p>Ship it!</p>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I was trying to keep the \
memory used by the process to a minimum and in this particular case free would not \
return the memory back to the kernel, hence the explicit trim command. Ship it for \
now. Maybe we want to use a better solution in the future.</pre> <br />
<p>- Vishesh Handa</p>
<br />
<p>On April 28th, 2014, 9:48 a.m. UTC, Patrick Spendrin wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for Baloo and kdewin.</div>
<div>By Patrick Spendrin.</div>
<p style="color: grey;"><i>Updated April 28, 2014, 9:48 a.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
baloo
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">malloc_trim is a gnu extension, so it doesn't work on windows. I am \
not sure what the exact purpose of this call is (is the memory not freed elsewhere?), \
so I'd like to have some comments on it.</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">windows msvc 2010</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>src/xapian/xapiandatabase.cpp <span style="color: grey">(0478139)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/117827/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic