From 24beddd369a7a93297d4f747eaf8a9dc263cac2d Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Mon, 20 Jul 2020 21:23:48 -0400 Subject: [PATCH] docs: preemption does not use fastpasth restore --- runtime/include/arch/context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/include/arch/context.h b/runtime/include/arch/context.h index 6bacce6..5560afc 100644 --- a/runtime/include/arch/context.h +++ b/runtime/include/arch/context.h @@ -56,8 +56,8 @@ arch_mcontext_restore(mcontext_t *active_context, struct arch_context *sandbox_c } /** - * Restore a sandbox that was previously executing and preempted for higher-priority work. - * This method restores only the instruction pointer and stack pointer registers rather than + * Restore a sandbox saved using a fastpath switch, restoring only the + * instruction pointer and stack pointer registers rather than * a full mcontext, so it is less expensive than arch_mcontext_restore. * @param active_context - the context of the current worker thread * @param sandbox_context - the context that we want to restore