Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: [PATCH] riscv: fix locking violation in page fault handler | Date | Tue, 07 May 2019 16:36:02 +0200 |
| |
On Mai 07 2019, Nikolay Borisov <nborisov@suse.com> wrote:
> On 7.05.19 г. 17:12 ч., Andreas Schwab wrote: >> On Mai 07 2019, Nikolay Borisov <nborisov@suse.com> wrote: >> >>> At the very least the code under >>> no_context label could go into it's own function since it just kills the >>> process and never returns? >> >> This is not true. > > Be more specific, according to do_task_dead after the last __schedule is > called the calling context is no more?
/* Are we prepared to handle this kernel fault? */ if (fixup_exception(regs)) return;
Andreas.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
| |