diff options
author | KOSAKI Motohiro <[email protected]> | 2011-04-27 15:26:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-04-28 11:28:21 -0700 |
commit | f755a042d82b51b54f3bdd0890e5ea56c0fb6807 (patch) | |
tree | 15c51ff44a31c4686dbc7161184ef7f306010e0c /lib/list_sort.c | |
parent | 0dcecae203cd407678e7257efbc9cdd0130967cf (diff) |
oom: use pte pages in OOM score
PTE pages eat up memory just like anything else, but we do not account for
them in any way in the OOM scores. They are also _guaranteed_ to get
freed up when a process is OOM killed, while RSS is not.
Reported-by: Dave Hansen <[email protected]>
Signed-off-by: KOSAKI Motohiro <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: <[email protected]> [2.6.36+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/list_sort.c')
0 files changed, 0 insertions, 0 deletions