Liste des Groupes | Revenir à c arch |
On Fri, 4 Apr 2025 3:49:31 +0000, Robert Finch wrote:Would not writing to the GuestOs VAS and the application VAS be the result of separate system calls? Or does the hypervisor take over for the GuestOS?
On 2025-04-03 1:22 p.m., BGB wrote:-------------------Let us postulate you are running in RISC-V HyperVisor on core[j]>>
Or, to allow for NOMMU operation, or reduce costs by not having context
switches result in as large of numbers of TLB misses.
>
Also makes the kernel simpler as it doesn't need to deal with each
process having its own address space.
Have you seen the MPRV bit in RISCV? Allows memory ops to execute using
the previous mode / address space. The bit just has to be set, then do
the memory op, then reset the bit. Makes it easy to access data using
the process address space.
and you want to write into GuestOS VAS and into application VAS
more or less simultaneously.
Seems to me like you need a MPRV to be more than a single bitSo, there is a need to be able to go back two or three levels? I suppose it could also be done by manipulating the stack, although adding an extra bit may be easier. How often does it happen?
so it could index which layer of the SW stack's VAS it needs
to touch.
Les messages affichés proviennent d'usenet.