<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/libcg/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/libcg/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 08 Feb 2021 10:01:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libcg/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>#7 Fix incorrect error message array</title><link>https://sourceforge.net/p/libcg/patches/7/?limit=25#cee2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This may lead to returning invalid error message from cgroup_strerror()&lt;br/&gt;
or accessing out of archive boundary when cgroup_strerror callew with&lt;br/&gt;
code=ECGNONEMPTY.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Galanin</dc:creator><pubDate>Mon, 08 Feb 2021 10:01:15 -0000</pubDate><guid>https://sourceforge.netffd4f25cee9d96daf0df47b92297231280dedbe4</guid></item><item><title>Fix incorrect error message array</title><link>https://sourceforge.net/p/libcg/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;cgroup_strerror_codes in src/api.c does not match to ECG* error enum defined in include/libcgroup/error.h&lt;br/&gt;
I have added one more error message to fill the gap between ECGMOUNTFAIL (50021 - Cgroup mounting failed) and ECGEOF (50023 - End of File or iterator) messages.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Galanin</dc:creator><pubDate>Mon, 08 Feb 2021 09:43:32 -0000</pubDate><guid>https://sourceforge.net6240fb2b8e567a06d0f8c63ff3cfdd0e78da0c12</guid></item><item><title>#5 Increasing the value of CG_VALUE_MAX</title><link>https://sourceforge.net/p/libcg/patches/5/?limit=25#fd3e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have also encountered this issue on a machine with 72 cores and alternating cpu ids on each NUMA node (even cpus on numa0, odd on numa1). The value gets truncated after a comma and fails validation. Setting &lt;code&gt;CG_VALUE_MAX&lt;/code&gt; to a larger value fixes it.&lt;/p&gt;
&lt;p&gt;For reference:&lt;br/&gt;
The cpuset:&lt;br/&gt;
1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71&lt;/p&gt;
&lt;p&gt;gets truncated to:&lt;br/&gt;
1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,&lt;/p&gt;
&lt;p&gt;This is especially bad because if it were to truncate at the final comma, the error would be invisible to the user.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Jones</dc:creator><pubDate>Fri, 26 Jul 2019 19:12:54 -0000</pubDate><guid>https://sourceforge.netcc0b80cae9c9e285a37c63858e693035d25a258a</guid></item><item><title>#6 Misc bugfixes and features</title><link>https://sourceforge.net/p/libcg/patches/6/?limit=25#6660</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I do not see any bug reports with memleaks or infinite loops (mostly in %u templates), nor feaure requests that this patch covers, so perhaps we could just leave it here for now? If anyone ever needs it or project returns to active state, I can split it up. I haven't touched that code for over a year. :P&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zerg2000</dc:creator><pubDate>Tue, 06 Dec 2016 19:44:25 -0000</pubDate><guid>https://sourceforge.net90e6c6df6f633e9daa3b66888211547c3e6f13d4</guid></item><item><title>#6 Misc bugfixes and features</title><link>https://sourceforge.net/p/libcg/patches/6/?limit=25#1193</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It has been a while since we have done any active development on libcgroup. If you are willing, I can review patches. Can you split it up, and send it to libcg-devel@lists.sourceforge.net with the kernel DCO being followed?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br/&gt;
Dhaval&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dhaval Giani</dc:creator><pubDate>Tue, 06 Dec 2016 18:56:41 -0000</pubDate><guid>https://sourceforge.netaeefa504bc535eb6962dfe4c0a59cbfb785fe019</guid></item><item><title>#6 Misc bugfixes and features</title><link>https://sourceforge.net/p/libcg/patches/6/?limit=25#ad10</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Without SF fromatting:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;-b &amp;lt;size&amp;gt; | --netlink-buffer=&amp;lt;size&amp;gt; set the netlink buffer size in bytes
-p &amp;lt;type&amp;gt; | --procname-fallback=&amp;lt;type&amp;gt; set a default fallback for
                   | process name. Type can be one of "exe" (default) or "status"
-k        | --kernel-procname   set a name of kernel processes to "KERNEL"
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zerg2000</dc:creator><pubDate>Tue, 06 Dec 2016 18:53:42 -0000</pubDate><guid>https://sourceforge.net96b697c5a9eb1cd5151725eaedb440d6cc2c0131</guid></item><item><title>Misc bugfixes and features</title><link>https://sourceforge.net/p/libcg/patches/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi! I just wanted to drop a patch for cgroup daemon that I wrote and used for some time. It contains a few bugfixes (including memleak and infinite loop) and 3 new command line options:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;-b &amp;lt;size&amp;gt;&lt;/th&gt;
&lt;th&gt;--netlink-buffer=&amp;lt;size&amp;gt; set the netlink buffer size in bytes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;-k&lt;/td&gt;
&lt;td&gt;--kernel-procname set a name of kernel processes to "KERNEL"&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;There is also one optimization for busy systems, which might look a bit ugly. Sorry for uploading it raw in one big package, but perhaps someone will find some parts usefull.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zerg2000</dc:creator><pubDate>Tue, 06 Dec 2016 18:46:37 -0000</pubDate><guid>https://sourceforge.net59f06c49f6c7436d7684639f9abbded620db2824</guid></item><item><title>Increasing the value of CG_VALUE_MAX</title><link>https://sourceforge.net/p/libcg/patches/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;code&gt;CG_VALUE_MAX&lt;/code&gt; is arbitrarily set to 100 which limits string values to a max of 100 characters. A potential situation where this will cause a failure is in the case of setting &lt;code&gt;cpuset.cpus&lt;/code&gt; to a long list (unrolled/comma-separated) of logical cpu ids.&lt;/p&gt;
&lt;p&gt;Example: Passing a list of 64 logical cpu ids as a string&lt;/p&gt;
&lt;p&gt;"0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"&lt;/p&gt;
&lt;p&gt;will truncate and result in a badly formatted string value that causes an EOF&lt;/p&gt;
&lt;p&gt;"0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36\x01"&lt;/p&gt;
&lt;p&gt;This patch increases &lt;code&gt;CG_VALUE_MAX&lt;/code&gt; to a value of 1024. While still somewhat arbitrary, it seems this value should cover even the largest case. And since it looks like the string value buffers are being statically allocated per thread, it shouldn't really result in any major impact in initial memory. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Israel</dc:creator><pubDate>Thu, 26 Jun 2014 21:19:12 -0000</pubDate><guid>https://sourceforge.net4b36f788804e280c2da0cdf410882a01c41b7336</guid></item><item><title>support indented comments</title><link>https://sourceforge.net/p/libcg/patches/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;reproduce:&lt;br /&gt;
- edit cgconfig.conf&lt;br /&gt;
- add a comment line preceeded by spaces [ \t]+&lt;br /&gt;
- run cgconfigparser&lt;/p&gt;
&lt;p&gt;expected:&lt;br /&gt;
- works&lt;/p&gt;
&lt;p&gt;instead:&lt;br /&gt;
- doesn't recognize the comment line&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roberto Polli</dc:creator><pubDate>Thu, 25 Oct 2012 09:26:30 -0000</pubDate><guid>https://sourceforge.netc224b6aa917fd088fa09084e7c828e18e06e94c1</guid></item><item><title>Fix cgroup_get_cgroup</title><link>https://sourceforge.net/p/libcg/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently (0.39-rc1), cgroup_get_cgroup applied on a cgroup with controllers and parameters fails. This patch allow the use of cgroup_get_cgroup with non-empty cgroup, overriding existing values.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 21 Sep 2012 13:37:46 -0000</pubDate><guid>https://sourceforge.netb8337066406acfc1faa62e592f1fc60b8d90bef8</guid></item></channel></rss>