[PATCH] Core: monitoring anonymous map on Darwin platform
David CARLIER
devnexen at gmail.com
Wed Sep 4 16:04:15 UTC 2019
Well it highlight them a little bit more, easier to parse, easier to
identify in case with plethora of third party modules.
Regards.
On Wed, 4 Sep 2019 at 16:01, Maxim Dounin <mdounin at mdounin.ru> wrote:
>
> Hello!
>
> On Fri, Aug 23, 2019 at 06:00:29AM +0100, David Carlier wrote:
>
> > # HG changeset patch
> > # User David Carlier <devnexen at gmail.com>
> > # Date 1566493379 -3600
> > # Thu Aug 22 18:02:59 2019 +0100
> > # Node ID adc68231e590554860b11ee851b293e46ba652db
> > # Parent 9f1f9d6e056a4f85907957ef263f78a426ae4f9c
> > Core: monitoring anonymous map on Darwin platform.
> >
> > Allows to highligh those pages from nginx process with
> > this identifier.
> >
> > diff -r 9f1f9d6e056a -r adc68231e590 auto/os/darwin
> > --- a/auto/os/darwin Mon Aug 19 15:16:06 2019 +0300
> > +++ b/auto/os/darwin Thu Aug 22 18:02:59 2019 +0100
> > @@ -118,3 +118,21 @@
> > ngx_feature_test="int32_t lock = 0;
> > if (!OSAtomicCompareAndSwap32Barrier(0, 1, &lock)) return 1"
> > . auto/feature
> > +
> > +# Darwin can tag anonymous pages to be tracked
> > +# with tools like vmmap
> > +# free ID are guaranteed to be free from 240 to 255
> > +# for userland applications
>
> Could you please clarify how this is expected to help? As far as
> I can see, relevant memory regions can be easily identified in
> vmmap even without tags.
>
> [...]
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
More information about the nginx-devel
mailing list