[Webkit-unassigned] [Bug 155255] MemoryPressureHandler doesn't work if cgroups aren't present in Linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 11 10:21:00 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=155255

--- Comment #3 from Michael Catanzaro <mcatanzaro at igalia.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160311/48f09a6e/attachment.html>


More information about the webkit-unassigned mailing list