Re: [PATCH v2] PC, KVM, CMA: Fix regression caused by wrong get_order() use
From: Alexander Graf <hidden>
Date: 2014-08-14 13:41:10
Also in:
kvm, lkml
From: Alexander Graf <hidden>
Date: 2014-08-14 13:41:10
Also in:
kvm, lkml
On 14.08.14 07:13, Aneesh Kumar K.V wrote:
Alexey Kardashevskiy [off-list ref] writes:quoted
fc95ca7284bc54953165cba76c3228bd2cdb9591 claims that there is no functional change but this is not true as it calls get_order() (which takes bytes) where it should have called ilog2() and the kernel stops on VM_BUG_ON(). This replaces get_order() with order_base_2() (round-up version of ilog2). Suggested-by: Paul Mackerras <redacted> Cc: Alexander Graf <redacted> Cc: Aneesh Kumar K.V <redacted> Cc: Joonsoo Kim <redacted> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Alexey Kardashevskiy <redacted>Reviewed-by: Aneesh Kumar K.V <redacted>
So this affects 3.17? Alex