Re: [PATCH v2 8/9] x86: Convert mmu context ia32_compat into a proper flags field

2020-10-01 Thread Andy Lutomirski
On Thu, Oct 1, 2020 at 1:59 PM Gabriel Krisman Bertazi wrote: > > The ia32_compat attribute is a weird thing. It mirrors TIF_IA32 and > TIF_X32 and is used only in two very unrelated places: (1) to decide if > the vsyscall page is accessible (2) for uprobes to find whether the > patched

[PATCH v2 8/9] x86: Convert mmu context ia32_compat into a proper flags field

2020-10-01 Thread Gabriel Krisman Bertazi
The ia32_compat attribute is a weird thing. It mirrors TIF_IA32 and TIF_X32 and is used only in two very unrelated places: (1) to decide if the vsyscall page is accessible (2) for uprobes to find whether the patched instruction is 32 or 64 bit. In preparation to remove the TI flags, we want new