Partial contexts are those where the full context is split between the parts in
the struct and the parts still loaded in hardware.  These speed up all of our
syscalls and will be important when we support VM contexts natively.
    
I'm mostly curious if the rules in 6d43581fdfc4 ("Support partial contexts")
will work for VMs on x86.  If not, let me know.  =)

------------
You can also find these patches at:
        [email protected]:brho/akaros.git
        FROM: 535ec6030b9a master
        TO: cd169195e27c ctx

And view them at: 
        https://github.com/brho/akaros/compare/535ec6030b9a...cd169195e27c


Barret Rhoden (6):
  x86: Add swap_gs helper
  Make __proc_save_context_s assume the current_ctx
  Use a helper to copy out the current context
  Support partial contexts
  x86: Add support for partial contexts [1/2]
  x86: Use partial contexts for all entries [2/2]

 kern/arch/riscv/trap.h          |  9 +++++
 kern/arch/x86/arch.h            |  6 +++
 kern/arch/x86/process64.c       | 20 +++++++--
 kern/arch/x86/ros/trapframe64.h | 10 ++---
 kern/arch/x86/trap64.c          |  8 +++-
 kern/arch/x86/trap64.h          | 69 +++++++++++++++++++++++++++++++
 kern/arch/x86/trapentry64.S     | 90 +++++++++--------------------------------
 kern/include/process.h          |  2 +-
 kern/include/trap.h             | 30 ++++++++++++++
 kern/src/mm.c                   |  2 +-
 kern/src/process.c              | 31 ++++++++------
 kern/src/schedule.c             |  2 +-
 kern/src/syscall.c              |  4 +-
 kern/src/trap.c                 | 11 +++++
 14 files changed, 195 insertions(+), 99 deletions(-)

-- 
2.6.0.rc2.230.g3dd15c0

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to