<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>becf6529 - samples/cgroup: introduce memcg memory.events listener</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/cgroup/Makefile#becf6529</link>
        <description>samples/cgroup: introduce memcg memory.events listenerThis is a simple listener for memory events that handles counter changesin runtime.  It can be set up for a specific memory cgroup v2.The output example:=====$ /tmp/memcg_event_listener testInitialized MEMCG events with counters:MEMCG events:	low: 0	high: 0	max: 0	oom: 0	oom_kill: 0	oom_group_kill: 0Started monitoring memory events from &apos;/sys/fs/cgroup/test/memory.events&apos;...Received event in /sys/fs/cgroup/test/memory.events:*** 1 MEMCG oom_kill event, change counter 0 =&gt; 1Received event in /sys/fs/cgroup/test/memory.events:*** 1 MEMCG oom_kill event, change counter 1 =&gt; 2Received event in /sys/fs/cgroup/test/memory.events:*** 1 MEMCG oom_kill event, change counter 2 =&gt; 3Received event in /sys/fs/cgroup/test/memory.events:*** 1 MEMCG oom_kill event, change counter 3 =&gt; 4Received event in /sys/fs/cgroup/test/memory.events:*** 2 MEMCG max events, change counter 0 =&gt; 2Received event in /sys/fs/cgroup/test/memory.events:*** 8 MEMCG max events, change counter 2 =&gt; 10*** 1 MEMCG oom event, change counter 0 =&gt; 1Received event in /sys/fs/cgroup/test/memory.events:*** 1 MEMCG oom_kill event, change counter 4 =&gt; 5^CExiting memcg event listener...=====Link: https://lkml.kernel.org/r/20231123071945.25811-3-ddrokosov@salutedevices.comSigned-off-by: Dmitry Rokosov &lt;ddrokosov@salutedevices.com&gt;Cc: Johannes Weiner &lt;hannes@cmpxchg.org&gt;Cc: Michal Hocko &lt;mhocko@kernel.org&gt;Cc: Muchun Song &lt;muchun.song@linux.dev&gt;Cc: Roman Gushchin &lt;roman.gushchin@linux.dev&gt;Cc: Shakeel Butt &lt;shakeelb@google.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/samples/cgroup/Makefile</description>
        <pubDate>Thu, 23 Nov 2023 07:19:44 +0000</pubDate>
        <dc:creator>Dmitry Rokosov &lt;ddrokosov@salutedevices.com&gt;</dc:creator>
    </item>
<item>
        <title>60433a9d - samples: introduce new samples subdir for cgroup</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/cgroup/Makefile#60433a9d</link>
        <description>samples: introduce new samples subdir for cgroupPatch series &quot;samples: introduce cgroup events listeners&quot;, v3.To begin with, this patch series relocates the cgroup example code to thesamples/cgroup directory, which is the appropriate location for such codesnippets.Furthermore, a new memcg events listener is introduced.  This listener isa simple yet effective tool for monitoring memory events and managingcounter changes during runtime.Additionally, as per Andrew Morton&apos;s suggestion, a helpful remindercomment is included in the memcontrol implementation.  This comment servesto ensure that the samples code is updated whenever new events are added.This patch (of 3):Move the cgroup_event_listener for cgroup v1 to the samples directory. This suggestion was proposed by Andrew Morton during the discussion [1].Link: https://lore.kernel.org/all/20231106140934.3f5d4960141562fe8da53906@linux-foundation.org/ [1]Link: https://lkml.kernel.org/r/20231123071945.25811-1-ddrokosov@salutedevices.comLink: https://lkml.kernel.org/r/20231123071945.25811-2-ddrokosov@salutedevices.comSigned-off-by: Dmitry Rokosov &lt;ddrokosov@salutedevices.com&gt;Cc: Johannes Weiner &lt;hannes@cmpxchg.org&gt;Cc: Michal Hocko &lt;mhocko@kernel.org&gt;Cc: Muchun Song &lt;muchun.song@linux.dev&gt;Cc: Roman Gushchin &lt;roman.gushchin@linux.dev&gt;Cc: Shakeel Butt &lt;shakeelb@google.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/samples/cgroup/Makefile</description>
        <pubDate>Thu, 23 Nov 2023 07:19:43 +0000</pubDate>
        <dc:creator>Dmitry Rokosov &lt;ddrokosov@salutedevices.com&gt;</dc:creator>
    </item>
</channel>
</rss>
