Re: [PATCH 5/6] mm/gup: Replace ACCESS_ONCE with READ_ONCE for STRICT_MM_TYPECHECKS
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-03-25 09:24:56
Also in:
linux-mm, lkml
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-03-25 09:24:56
Also in:
linux-mm, lkml
On Wed, 2015-03-25 at 10:18 +0100, Christian Borntraeger wrote:
Am 25.03.2015 um 10:11 schrieb Michael Ellerman:quoted
If STRICT_MM_TYPECHECKS is enabled the generic gup code fails to build because we are using ACCESS_ONCE on non-scalar types. Convert all uses to READ_ONCE.There is a similar patch from Jason Low in Andrews patch.
Ah sorry, I didn't think to check.
If that happens in 4.0-rc, we probably want to merge this before 4.0.
My series can wait, it's not urgent. So I'll plan to merge mine once Andrew's tree has gone into Linus' tree for 4.1. cheers