lkml.org 
[lkml]   [2018]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [lkp-robot] [x86/asm] 51bad67ffb: int3:#[##]
On Tue, May 15, 2018 at 3:25 PM Thomas Gleixner <tglx@linutronix.de> wrote:

> On Wed, 16 May 2018, Alexey Dobriyan wrote:

> --- a/arch/x86/entry/entry_32.S
> +++ b/arch/x86/entry/entry_32.S
> @@ -338,6 +338,11 @@ END(ret_from_fork)
> cmpl $USER_RPL, %eax
> jb resume_kernel # not returning to v8086
or userspace

> + /*
> + * Jump over the alignment padding which is filled with int3
instructions
> + */
> + jmp resume_userspace
> +
> ENTRY(resume_userspace)

The problem is already solved, but NAK to this concept. If we're going to
make ENTRY supply int3 alignment, then we need to avoid using ENTRY if we
fall through. Jumping over the alignment is just silly. The macro we
should use is GLOBAL.

\
 
 \ /
  Last update: 2018-05-16 00:29    [W:1.845 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site