Re: [PATCH 4/6] x86/coredump: use core regs, rather that TIF_IA32 flag

From: Dmitry Safonov
Date: Fri Jun 03 2016 - 05:58:06 EST

On 06/03/2016 12:51 PM, Cyrill Gorcunov wrote:
On Wed, Jun 01, 2016 at 04:11:35PM +0300, Dmitry Safonov wrote:
As we have here core registers, use them to determine application's
mode and sizes of register set and elf_prstatus instead of TIF_IA32

Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: linux-fsdevel@xxxxxxxxxxxxxxx
Signed-off-by: Dmitry Safonov <dsafonov@xxxxxxxxxxxxx>

This can be used unrelated to vdso re-mapping idea, right?

Right -- 4,5,6 are pathes for dropping TIF_IA32 flag.
I put them in this patches set because of their goal,
to make tasks independent of presence of TIF_IA32.