mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
9a5a8f19b4
oom_badness() takes a totalpages argument which says how many pages are
available and it uses it as a base for the score calculation. The value
is calculated by mem_cgroup_get_limit which considers both limit and
total_swap_pages (resp. memsw portion of it).
This is usually correct but since
|
||
---|---|---|
.. | ||
00-INDEX | ||
blkio-controller.txt | ||
cgroup_event_listener.c | ||
cgroups.txt | ||
cpuacct.txt | ||
cpusets.txt | ||
devices.txt | ||
freezer-subsystem.txt | ||
hugetlb.txt | ||
memcg_test.txt | ||
memory.txt | ||
net_prio.txt | ||
resource_counter.txt |