Hello sebastien.paolacci@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 6 months ago
(2012-01-11 09:42:50 UTC)
#1
Would be better, I think, if it was possible to evaluate the exact behavior first. ...
13 years, 6 months ago
(2012-01-15 09:19:23 UTC)
#7
Would be better, I think, if it was possible to evaluate the exact
behavior first. There's no urgency in that CL since not having it
doesn't break anything.
There's a kind of "weak" agreement in the posix family about those
hints semantic, I wouldn't be surprised if some variations were to
appear here.
Could someone give a try with the more bsd-ish MADV_FREE flag (instead
of MAD_DONTNEED)?
Thanks,
Sebastien
On Sat, Jan 14, 2012 at 5:16 PM, <minux.ma@gmail.com> wrote:
> LGTM.
>
> http://codereview.appspot.com/5531073/
Sure thing, I'll give it a go. Sent from my iPhone On 15/01/2012, at 20:19, ...
13 years, 6 months ago
(2012-01-15 09:28:23 UTC)
#8
Sure thing, I'll give it a go.
Sent from my iPhone
On 15/01/2012, at 20:19, Sébastien Paolacci <sebastien.paolacci@gmail.com>
wrote:
> Would be better, I think, if it was possible to evaluate the exact
> behavior first. There's no urgency in that CL since not having it
> doesn't break anything.
>
> There's a kind of "weak" agreement in the posix family about those
> hints semantic, I wouldn't be surprised if some variations were to
> appear here.
>
> Could someone give a try with the more bsd-ish MADV_FREE flag (instead
> of MAD_DONTNEED)?
>
> Thanks,
> Sebastien
>
> On Sat, Jan 14, 2012 at 5:16 PM, <minux.ma@gmail.com> wrote:
>> LGTM.
>>
>> http://codereview.appspot.com/5531073/
No observed difference sadly. /usr/bin/dtruss cannot properly instrument a Go program so I'm not sure ...
13 years, 6 months ago
(2012-01-15 09:50:27 UTC)
#10
No observed difference sadly. /usr/bin/dtruss cannot properly instrument a Go
program so I'm not sure if I can confirm if madvise is even being called.
http://codereview.appspot.com/5531073/diff/11002/src/pkg/runtime/mem_darwin.c File src/pkg/runtime/mem_darwin.c (right): http://codereview.appspot.com/5531073/diff/11002/src/pkg/runtime/mem_darwin.c#newcode26 src/pkg/runtime/mem_darwin.c:26: // MADV_DONTNEED does not appear to be It sure ...
13 years, 6 months ago
(2012-01-17 00:03:30 UTC)
#11
Thanks Russ. I will fix and resubmit tonight. Sent from my iPhone On 17/01/2012, at ...
13 years, 6 months ago
(2012-01-17 00:10:07 UTC)
#13
Thanks Russ. I will fix and resubmit tonight.
Sent from my iPhone
On 17/01/2012, at 11:04, rsc@golang.org wrote:
> LGTM
>
> But we need to fix the comments.
> MADV_FREE is what we want, always,
> as far as I can tell. Nothing should be
> mentioning MADV_DONTNEED.
>
>
> http://codereview.appspot.com/5531073/
Issue 5531073: code review 5531073: runtime: madvise and SysUnused for Darwin
(Closed)
Created 13 years, 6 months ago by dave_cheney.net
Modified 13 years, 6 months ago
Reviewers:
Base URL:
Comments: 1