Re: [PATCH] x86/unwind/orc: fix inactive tasks with sp in sp

2020-10-13 Thread Jiri Slaby
On 07. 10. 20, 16:54, Josh Poimboeuf wrote: -ENOPARSE on $SUBJECT. Also please address it to x...@kernel.org, I think the tip maintainers can pick up the fix directly. Hmm, weird, I must have sent an older version as my current patch in the tree has: Cc: Miroslav Benes Cc: Josh Poimboeuf C

Re: [PATCH] x86/unwind/orc: fix inactive tasks with sp in sp

2020-10-07 Thread Josh Poimboeuf
-ENOPARSE on $SUBJECT. Also please address it to x...@kernel.org, I think the tip maintainers can pick up the fix directly. Also it might be a good idea to Cc the live-patching mailing list, I presume this causes a livepatch stall? On Wed, Oct 07, 2020 at 10:19:09AM +0200, Jiri Slaby wrote: > gc

[PATCH] x86/unwind/orc: fix inactive tasks with sp in sp

2020-10-07 Thread Jiri Slaby
gcc-10 optimizes the scheduler code differently than its predecessors, depending on DEBUG_SECTION_MISMATCH=y config -- the config sets -fno-inline-functions-called-once. Until now, __schedule contained the usual prologue (push bp; mov sp,bp). ORC unwinder simply picked sp from bp and unwound from _