[PATCH] KVM: no need to test bit before setting dirty bit these days

2010-04-23 Thread Takuya Yoshikawa
As Avi pointed out, testing bit part in mark_page_dirty() was important in the days of shadow paging, but currently EPT and NPT has already become common and the chance of faulting a page more that once per iteration is small. So let's remove the test bit to avoid extra access. Signed-off-by:

Re: [PATCH] KVM: no need to test bit before setting dirty bit these days

2010-04-23 Thread Avi Kivity
On 04/23/2010 11:48 AM, Takuya Yoshikawa wrote: As Avi pointed out, testing bit part in mark_page_dirty() was important in the days of shadow paging, but currently EPT and NPT has already become common and the chance of faulting a page more that once per iteration is small. So let's remove the