[PATCH 1/7] arm: use generic fixmap.h

Max Filippov jcmvbkbc at gmail.com
Thu Aug 7 08:15:51 PDT 2014


Hi,

On Wed, Aug 6, 2014 at 11:32 PM, Kees Cook <keescook at chromium.org> wrote:
> ARM is different from other architectures in that fixmap pages are indexed
> with a positive offset from FIXADDR_START.  Other architectures index with
> a negative offset from FIXADDR_TOP.  In order to use the generic fixmap.h

Does anybody know if there's any reason why generic fixmap.h uses negative
offsets? It complicates things with no obvious benefit if you e.g. try to align
virtual address in the fixmap region with physical page color (that's why I've
switched xtensa to positive fixmap addressing in v3.17).

-- 
Thanks.
-- Max



More information about the linux-arm-kernel mailing list