<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/coreutils/nproc.c, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2024-11-07T07:33:20+00:00</updated>
<entry>
<title>nproc: remove old code</title>
<updated>2024-11-07T07:33:20+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-11-07T07:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd258eabf2931024c5c24f9c11ce192cdaf23bd5'/>
<id>urn:sha1:bd258eabf2931024c5c24f9c11ce192cdaf23bd5</id>
<content type='text'>
Upstream commit 5a68a246e (nproc: prepare for arbitrarily large
CPU masks) dynamically allocated the 'masks' array.  When this
was merged into busybox-w32 the old code was inadvertantly left
in place.

Remove it now.  This has no effect on Windows builds.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2024-06-23T08:44:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-06-23T08:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b07c177b446498ccd739b367f9e80337c3dfa55a'/>
<id>urn:sha1:b07c177b446498ccd739b367f9e80337c3dfa55a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: add bit counting function, use where appropriate</title>
<updated>2024-05-31T14:03:23+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2024-05-31T10:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2075553a1b0eb843d4ee73a039b3e30bed9274e0'/>
<id>urn:sha1:2075553a1b0eb843d4ee73a039b3e30bed9274e0</id>
<content type='text'>
Although "naive" counting function is not too slow and is smaller,
using it on e.g. each of 1024 words of CPU mask feels wrong.

function                                             old     new   delta
bb_popcnt_32                                           -      52     +52
get_prefix                                           323     321      -2
nproc_main                                           206     199      -7
d4_run_script                                        739     731      -8
ipcalc_main                                          533     507     -26
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 0/4 up/down: 52/-43)              Total: 9 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>nproc: prepare for arbitrarily large CPU masks</title>
<updated>2024-05-31T09:58:48+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2024-05-31T09:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5a68a246e750359819d63bcff5ef97dd9c7788fc'/>
<id>urn:sha1:5a68a246e750359819d63bcff5ef97dd9c7788fc</id>
<content type='text'>
function                                             old     new   delta
get_malloc_cpu_affinity                                -      76     +76
nproc_main                                           216     206     -10
process_pid_str                                      250     206     -44
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 0/2 up/down: 76/-54)             Total: 22 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>nproc: fix build with long options disabled</title>
<updated>2023-08-06T11:41:21+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-08-06T11:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=de317f125912fd5726708c24b99e3a3c879f6c1b'/>
<id>urn:sha1:de317f125912fd5726708c24b99e3a3c879f6c1b</id>
<content type='text'>
Allow nproc to build without error when LONG_OPTS is disabled.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-07-13T07:06:26+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-13T07:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd978d0256fd3a67de1a7dd54f1a37f9435be363'/>
<id>urn:sha1:bd978d0256fd3a67de1a7dd54f1a37f9435be363</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>nproc: code shrink</title>
<updated>2021-08-10T08:28:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-10T08:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e8bc6bbc96d4cb0b3b169dd88d3ac77b185a4f0f'/>
<id>urn:sha1:e8bc6bbc96d4cb0b3b169dd88d3ac77b185a4f0f</id>
<content type='text'>
Avoid duplication of call to getopt().

Simplify WIN32 code.

Saves 80 bytes.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-06-28T06:46:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-06-28T06:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e1ad66c0b8fd58a7158d40771175a7dab224202d'/>
<id>urn:sha1:e1ad66c0b8fd58a7158d40771175a7dab224202d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nproc: code shrink</title>
<updated>2021-06-24T11:47:49+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-06-24T11:47:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6481070eb949125b750aae6e0ec08368a15ac371'/>
<id>urn:sha1:6481070eb949125b750aae6e0ec08368a15ac371</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
