Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Core: monitoring anonymous map on Darwin platform

Maxim Dounin
September 04, 2019 12:02PM
Hello!

On Fri, Aug 23, 2019 at 06:00:29AM +0100, David Carlier wrote:

> # HG changeset patch
> # User David Carlier <devnexen@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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Core: monitoring anonymous map on Darwin platform

David Carlier 95 August 23, 2019 01:02AM

Re: [PATCH] Core: monitoring anonymous map on Darwin platform

Maxim Dounin 13 September 04, 2019 12:02PM

Re: [PATCH] Core: monitoring anonymous map on Darwin platform

David CARLIER 21 September 04, 2019 12:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready