[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160415091859.GA10167@gmail.com>
Date: Fri, 15 Apr 2016 11:18:59 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Andy Lutomirski <luto@...capital.net>
Cc: Dmitry Safonov <dsafonov@...tuozzo.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Dmitry Safonov <0x7f454c46@...il.com>
Subject: Re: [PATCHv2] x86/vdso: add mremap hook to vm_special_mapping
* Andy Lutomirski <luto@...capital.net> wrote:
> > + if (regs->ip == (unsigned long)current->mm->context.vdso +
> > + vdso_image_32.sym_int80_landing_pad
> > +#ifdef CONFIG_IA32_EMULATION
> > + && current_thread_info()->status & TS_COMPAT
> > +#endif
>
> Instead of ifdef, use the (grossly misnamed) is_ia32_task() helper for
> this, please.
Please also let's do the rename.
Thanks,
Ingo
Powered by blists - more mailing lists