<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/core, branch release-1.11.7</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Slab: commented bitmap initialization for small allocations.</title>
<updated>2016-12-08T14:22:07+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-08T14:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=7ef8ca24b563d89f4bbc7b9b6f24211bbbbfbc41'/>
<id>7ef8ca24b563d89f4bbc7b9b6f24211bbbbfbc41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Slab: free pages statistics.</title>
<updated>2016-12-07T19:25:37+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-07T19:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=5abd39a19734e22a4044af03ede4fdb4b0285d9c'/>
<id>5abd39a19734e22a4044af03ede4fdb4b0285d9c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Slab: slots statistics.</title>
<updated>2016-12-07T19:25:37+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-07T19:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=9ccf719be6b922715fc6bdfabf24742eeec46ba4'/>
<id>9ccf719be6b922715fc6bdfabf24742eeec46ba4</id>
<content type='text'>
For each slot, the number of total and used entries, as well as
the number of allocation requests and failures, are tracked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For each slot, the number of total and used entries, as well as
the number of allocation requests and failures, are tracked.
</pre>
</div>
</content>
</entry>
<entry>
<title>Slab: simplified some math.</title>
<updated>2016-12-07T19:25:37+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-07T19:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=366f131c382d877bca19545af258e221d59bfd66'/>
<id>366f131c382d877bca19545af258e221d59bfd66</id>
<content type='text'>
No functional changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Slab: simplified allocation from slots.</title>
<updated>2016-12-07T19:25:37+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-07T19:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=12abb66c4138a9be7463db6aad497844d55aba43'/>
<id>12abb66c4138a9be7463db6aad497844d55aba43</id>
<content type='text'>
Removed code that would cause an endless loop, and removed condition
check that is always false.  The first page in the slot list is
guaranteed to satisfy an allocation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed code that would cause an endless loop, and removed condition
check that is always false.  The first page in the slot list is
guaranteed to satisfy an allocation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Slab: fixed the number of pages calculation.</title>
<updated>2016-12-07T19:25:37+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-07T19:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=16de9fc3b52e82d1e2be740be4a1ee9adafb6fbf'/>
<id>16de9fc3b52e82d1e2be740be4a1ee9adafb6fbf</id>
<content type='text'>
When estimating the number of pages, do not count memory for slots.
In some cases this gives one extra usable memory page.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When estimating the number of pages, do not count memory for slots.
In some cases this gives one extra usable memory page.
</pre>
</div>
</content>
</entry>
<entry>
<title>Slab: added comment about list heads.</title>
<updated>2016-12-07T19:25:37+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-07T19:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=4cf89436d10b32f9be4373e00c03518d713d1437'/>
<id>4cf89436d10b32f9be4373e00c03518d713d1437</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Slab: improved code readability.</title>
<updated>2016-12-07T19:25:37+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-12-07T19:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=86f846a8bbe7ab9c45ee992a6185e0c8f0a710c3'/>
<id>86f846a8bbe7ab9c45ee992a6185e0c8f0a710c3</id>
<content type='text'>
No functional changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: fixed environment on exit.</title>
<updated>2016-12-07T16:03:31+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-12-07T16:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=23946be384c42478f3dbc661f60ac0903d1b97f2'/>
<id>23946be384c42478f3dbc661f60ac0903d1b97f2</id>
<content type='text'>
On exit environment allocated from a pool is no longer available, leading
to a segmentation fault if, for example, a library tries to use it from
an atexit() handler.

Fix is to allocate environment via ngx_alloc() instead, and explicitly
free it using a pool cleanup handler if it's no longer used (e.g., on
configuration reload).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On exit environment allocated from a pool is no longer available, leading
to a segmentation fault if, for example, a library tries to use it from
an atexit() handler.

Fix is to allocate environment via ngx_alloc() instead, and explicitly
free it using a pool cleanup handler if it's no longer used (e.g., on
configuration reload).
</pre>
</div>
</content>
</entry>
<entry>
<title>Perl: removed special environment handling for the perl module.</title>
<updated>2016-12-07T16:03:26+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-12-07T16:03:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=0a90c428b8be794b9244c8a5f0084f4d19feebbb'/>
<id>0a90c428b8be794b9244c8a5f0084f4d19feebbb</id>
<content type='text'>
In Perl 5.8.6 the default was switched to use putenv() when used as
embedded library unless "PL_use_safe_putenv = 0" is explicitly used
in the code.  Therefore, for modern versions of Perl it is no longer
necessary to restore previous environment when calling perl_destruct().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Perl 5.8.6 the default was switched to use putenv() when used as
embedded library unless "PL_use_safe_putenv = 0" is explicitly used
in the code.  Therefore, for modern versions of Perl it is no longer
necessary to restore previous environment when calling perl_destruct().
</pre>
</div>
</content>
</entry>
</feed>
