linux_dsm_epyc7002/arch
Brian Gerst 616d24835e sched/x86: Pass kernel thread parameters in 'struct fork_frame'
Instead of setting up a fake pt_regs context, put the kernel thread
function pointer and arg into the unused callee-restored registers
of 'struct fork_frame'.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1471106302-10159-6-git-send-email-brgerst@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-08-24 12:31:50 +02:00
..
alpha
arc
arm ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
arm64 ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
avr32
blackfin ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
c6x
cris
frv
h8300 h8300: Add missing include file to asm/io.h 2016-08-13 08:53:56 -07:00
hexagon
ia64 fork: Add generic vmalloced stack support 2016-08-24 12:11:41 +02:00
m32r
m68k
metag
microblaze ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
mips ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
mn10300
nios2
openrisc
parisc ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
powerpc ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
s390 ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
score
sh ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
sparc ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
tile ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
um
unicore32 unicore32: mm: Add missing parameter to arch_vma_access_permitted 2016-08-13 08:53:18 -07:00
x86 sched/x86: Pass kernel thread parameters in 'struct fork_frame' 2016-08-24 12:31:50 +02:00
xtensa
.gitignore
Kconfig fork: Add generic vmalloced stack support 2016-08-24 12:11:41 +02:00