Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   maxv
Date:           Thu Jan 18 07:25:34 UTC 2018

Modified Files:
        src/sys/arch/amd64/amd64: amd64_trap.S genassym.cf locore.S machdep.c
        src/sys/arch/amd64/include: frameasm.h
        src/sys/arch/x86/include: cpu.h pmap.h
        src/sys/arch/x86/x86: vm_machdep.c

Log Message:
Unmap the kernel heap from the user page tables (SVS).

This implementation is optimized and organized in such a way that we
don't need to copy the kernel stack to a safe place during user<->kernel
transitions. We create two VAs that point to the same physical page; one
will be mapped in userland and is offset in order to contain only the
trapframe, the other is mapped in the kernel and maps the entire stack.

Sent on tech-kern@ a week ago.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amd64/amd64/amd64_trap.S
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/amd64/amd64/genassym.cf
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.290 -r1.291 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/amd64/include/frameasm.h
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/x86/vm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index