Re: [PATCH] KVM: arm/arm64: Fix check for hugepage size when allocating at Stage 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 28, 2018 at 04:40:09PM +0000, Punit Agrawal wrote:
> Commit 45ee9d5e97a4 ("KVM: arm/arm64: Check pagesize when allocating a
> hugepage at Stage 2") lost the check for PMD_SIZE during the backport
> to 4.9.
> 
> Fix this by correcting the condition to detect hugepages during stage
> 2 allocation.
> 
> Fixes: 45ee9d5e97a4 ("KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2")
> Reported-by: Ioana Ciornei <ioana.ciornei@xxxxxxx>
> Signed-off-by: Punit Agrawal <punit.agrawal@xxxxxxx>
> Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
> Cc: Christoffer Dall <christoffer.dall@xxxxxxxxxx>
> --
> Hi Greg,
> 
> This patch fixes a commit in the stable tree that was backported from
> upstream. I am not sure what the tag convention is for such a commit -
> so sending as a fix.

What you did here was just fine, now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]