diff options
| author | Kai Huang <kai.huang@linux.intel.com> | 2015-01-09 16:44:30 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-09 10:23:55 +0100 |
| commit | 7e71a59b250330fd52ee7293eb9d31952f16682e (patch) | |
| tree | 65d42aee4577a6ff7ae14ecf02816b20c532fc3f /net/lapb/lapb_subr.c | |
| parent | defcf51fa93929bd5d3ce5b91f8e6a106dae5e46 (diff) | |
KVM: x86: flush TLB when D bit is manually changed.
When software changes D bit (either from 1 to 0, or 0 to 1), the
corresponding TLB entity in the hardware won't be updated immediately. We
should flush it to guarantee the consistence of D bit between TLB and
MMU page table in memory. This is especially important when clearing
the D bit, since it may cause false negatives in reporting dirtiness.
Sanity test was done on my machine with Intel processor.
Signed-off-by: Kai Huang <kai.huang@linux.intel.com>
[Check A bit too. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
