[RFC PATCH 01/10] arm64: mm: move assignment of 'high_memory' before its first use

Catalin Marinas catalin.marinas at arm.com
Tue Feb 23 04:14:36 PST 2016


On Mon, Feb 22, 2016 at 09:54:23PM +0100, Ard Biesheuvel wrote:
> The variable 'high_memory' ends up being referenced in the call to
> dma_contiguous_reserve(). So move the assignment before that call.
> 
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>

Does this need cc stable? It looks like we've had this issue for a while
and it ends up being used in cma_declare_contiguous(). So we either get
a high enough value to not affect this function or we don't trigger this
code path very often.

-- 
Catalin



More information about the linux-arm-kernel mailing list