On 2013-10-03 21:33, Christoffer Dall wrote:
On Mon, Sep 23, 2013 at 11:11:07AM +0100, Marc Zyngier wrote:
[...]
>
> +static bool transparent_hugepage_adjust(pfn_t *pfnp, phys_addr_t
*ipap)
> +{
> + pfn_t pfn = *pfnp;
> + gfn_t gfn = *ipap >> PAGE_SHIFT;
> +
> + if (PageTra
On Mon, Sep 23, 2013 at 11:11:07AM +0100, Marc Zyngier wrote:
[...]
> >
> > +static bool transparent_hugepage_adjust(pfn_t *pfnp, phys_addr_t *ipap)
> > +{
> > + pfn_t pfn = *pfnp;
> > + gfn_t gfn = *ipap >> PAGE_SHIFT;
> > +
> > + if (PageTransCompound(pfn_to_page(pfn))) {
> >
On Mon, Sep 23, 2013 at 11:11:07AM +0100, Marc Zyngier wrote:
> Hi Christoffer,
>
> Finally taking some time to review this patch. Sorry for the delay...
>
> On 09/08/13 05:07, Christoffer Dall wrote:
> > From: Christoffer Dall
> >
> > Support transparent huge pages in KVM/ARM 32-bit and 64-bit
On Mon, Sep 23, 2013 at 11:11:07AM +0100, Marc Zyngier wrote:
> Hi Christoffer,
>
> Finally taking some time to review this patch. Sorry for the delay...
>
> On 09/08/13 05:07, Christoffer Dall wrote:
> > From: Christoffer Dall
> >
[ snip ]
> > static int user_mem_abort(struct kvm_vcpu *vcpu
On 23/09/13 11:11, Marc Zyngier wrote:
> Hi Christoffer,
>
> Finally taking some time to review this patch. Sorry for the delay...
>
> On 09/08/13 05:07, Christoffer Dall wrote:
>> From: Christoffer Dall
>>
>> Support transparent huge pages in KVM/ARM 32-bit and 64-bit. The whole
>> transparent
Hi Christoffer,
Finally taking some time to review this patch. Sorry for the delay...
On 09/08/13 05:07, Christoffer Dall wrote:
> From: Christoffer Dall
>
> Support transparent huge pages in KVM/ARM 32-bit and 64-bit. The whole
> transparent_hugepage_adjust stuff is far from pretty, but this
From: Christoffer Dall
Support transparent huge pages in KVM/ARM 32-bit and 64-bit. The whole
transparent_hugepage_adjust stuff is far from pretty, but this is how
it's solved on x86 so we duplicate their logic. This should be shared
across architectures if possible (like many other things), bu