diff options
author | 2013-05-31 08:36:29 +0800 | |
---|---|---|
committer | 2013-06-05 12:33:33 +0300 | |
commit | 365c886860c4ba670d245e762b23987c912c129a (patch) | |
tree | 81f59edf5ba5e4c944d5590a631bbd23419e2cd8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: MMU: collapse TLB flushes when zap all pages (diff) | |
download | linux-dev-365c886860c4ba670d245e762b23987c912c129a.tar.xz linux-dev-365c886860c4ba670d245e762b23987c912c129a.zip |
KVM: MMU: reclaim the zapped-obsolete page first
As Marcelo pointed out that
| "(retention of large number of pages while zapping)
| can be fatal, it can lead to OOM and host crash"
We introduce a list, kvm->arch.zapped_obsolete_pages, to link all
the pages which are deleted from the mmu cache but not actually
freed. When page reclaiming is needed, we always zap this kind of
pages first.
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions