This patchset is the result of discussion: https://lkml.org/lkml/2017/7/31/454
First patch introduces MMCF flags for mm_context_t ->flags to separate it from TIF ones. And second patch moves personality-related setup code from SET_PERSONALITY() to the helper. CC: Catalin Marinas <catalin.mari...@arm.com> CC: Pratyush Anand <pan...@redhat.com> Yury Norov (2): arm64: introduce separated bits for mm_context_t flags arm64: cleanup {COMPAT_,}SET_PERSONALITY() macro arch/arm64/include/asm/elf.h | 15 +++++++++------ arch/arm64/include/asm/mmu.h | 2 ++ arch/arm64/include/asm/thread_info.h | 3 +++ arch/arm64/kernel/probes/uprobes.c | 2 +- arch/arm64/kernel/process.c | 17 +++++++++++++++++ 5 files changed, 32 insertions(+), 7 deletions(-) -- 2.11.0