<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - MemoryPressureHandler doesn't work if cgroups aren't present in Linux"
href="https://bugs.webkit.org/show_bug.cgi?id=155255#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - MemoryPressureHandler doesn't work if cgroups aren't present in Linux"
href="https://bugs.webkit.org/show_bug.cgi?id=155255">bug 155255</a>
from <span class="vcard"><a class="email" href="mailto:mcatanzaro@igalia.com" title="Michael Catanzaro <mcatanzaro@igalia.com>"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
<pre>By the way, I noticed this when debugging seccomp filters months ago, looking at calls to open() that were failing.
In /sys/fs/cgroup/memory, I see:
$ ls -l
total 0
-rw-r--r--. 1 root root 0 Mar 11 12:17 cgroup.clone_children
--w--w--w-. 1 root root 0 Mar 11 12:17 cgroup.event_control
-rw-r--r--. 1 root root 0 Mar 11 12:17 cgroup.procs
-r--r--r--. 1 root root 0 Mar 11 12:17 cgroup.sane_behavior
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.failcnt
--w-------. 1 root root 0 Mar 11 12:17 memory.force_empty
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.failcnt
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.limit_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.max_usage_in_bytes
-r--r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.slabinfo
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.tcp.failcnt
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.tcp.limit_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.tcp.max_usage_in_bytes
-r--r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.tcp.usage_in_bytes
-r--r--r--. 1 root root 0 Mar 11 12:17 memory.kmem.usage_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.limit_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.max_usage_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.memsw.failcnt
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.memsw.limit_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.memsw.max_usage_in_bytes
-r--r--r--. 1 root root 0 Mar 11 12:17 memory.memsw.usage_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.move_charge_at_immigrate
-r--r--r--. 1 root root 0 Mar 11 12:17 memory.numa_stat
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.oom_control
----------. 1 root root 0 Mar 11 12:17 memory.pressure_level
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.soft_limit_in_bytes
-r--r--r--. 1 root root 0 Mar 11 12:17 memory.stat
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.swappiness
-r--r--r--. 1 root root 0 Mar 11 12:17 memory.usage_in_bytes
-rw-r--r--. 1 root root 0 Mar 11 12:17 memory.use_hierarchy
-rw-r--r--. 1 root root 0 Mar 11 12:17 notify_on_release
-rw-r--r--. 1 root root 0 Mar 11 12:17 release_agent
-rw-r--r--. 1 root root 0 Mar 11 12:17 tasks
Note the ----------. permission on memory.pressure_level</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>