Re: [RESEND PATCH v15 07/11] KVM: arm: page logging 2nd stage fault handling

2015-01-09 Thread Mario Smarduch
On 01/09/2015 02:24 AM, Christoffer Dall wrote: > On Thu, Jan 08, 2015 at 08:28:46AM -0800, Mario Smarduch wrote: >> On 01/08/2015 02:45 AM, Christoffer Dall wrote: >>> On Wed, Jan 07, 2015 at 05:43:18PM -0800, Mario Smarduch wrote: Hi Christoffer, before going through your comments, I

Re: [RESEND PATCH v15 07/11] KVM: arm: page logging 2nd stage fault handling

2015-01-09 Thread Christoffer Dall
On Thu, Jan 08, 2015 at 08:28:46AM -0800, Mario Smarduch wrote: > On 01/08/2015 02:45 AM, Christoffer Dall wrote: > > On Wed, Jan 07, 2015 at 05:43:18PM -0800, Mario Smarduch wrote: > >> Hi Christoffer, > >> before going through your comments, I discovered that > >> in 3.18.0-rc2 - a generic __ge

Re: [RESEND PATCH v15 07/11] KVM: arm: page logging 2nd stage fault handling

2015-01-08 Thread Mario Smarduch
On 01/08/2015 02:45 AM, Christoffer Dall wrote: > On Wed, Jan 07, 2015 at 05:43:18PM -0800, Mario Smarduch wrote: >> Hi Christoffer, >> before going through your comments, I discovered that >> in 3.18.0-rc2 - a generic __get_user_pages_fast() >> was implemented, now ARM picks this up. This causes

Re: [RESEND PATCH v15 07/11] KVM: arm: page logging 2nd stage fault handling

2015-01-08 Thread Christoffer Dall
On Wed, Jan 07, 2015 at 05:43:18PM -0800, Mario Smarduch wrote: > Hi Christoffer, > before going through your comments, I discovered that > in 3.18.0-rc2 - a generic __get_user_pages_fast() > was implemented, now ARM picks this up. This causes > gfn_to_pfn_prot() to return meaningful 'writable' >

Re: [RESEND PATCH v15 07/11] KVM: arm: page logging 2nd stage fault handling

2015-01-07 Thread Mario Smarduch
Hi Christoffer, before going through your comments, I discovered that in 3.18.0-rc2 - a generic __get_user_pages_fast() was implemented, now ARM picks this up. This causes gfn_to_pfn_prot() to return meaningful 'writable' value for a read fault, provided the region is writable. Prior to that the

Re: [RESEND PATCH v15 07/11] KVM: arm: page logging 2nd stage fault handling

2015-01-07 Thread Christoffer Dall
On Wed, Dec 17, 2014 at 06:07:29PM -0800, Mario Smarduch wrote: > This patch is a followup to v15 patch series, with following changes: > - When clearing/dissolving a huge, PMD mark huge page range dirty, since > the state of whole range is unknown. After the huge page is dissolved > dirty pag

[RESEND PATCH v15 07/11] KVM: arm: page logging 2nd stage fault handling

2014-12-17 Thread Mario Smarduch
This patch is a followup to v15 patch series, with following changes: - When clearing/dissolving a huge, PMD mark huge page range dirty, since the state of whole range is unknown. After the huge page is dissolved dirty page logging is at page granularity. - Correct comment due to misinterprete