Source-Changes archive

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

CVS commit: src/sys/arch/mips



Module Name:    src
Committed By:   simonb
Date:           Sun Aug 23 10:23:38 UTC 2020

Modified Files:
        src/sys/arch/mips/include: mips_param.h proc.h
        src/sys/arch/mips/mips: mipsX_subr.S vm_machdep.c

Log Message:
Use a 16kB USPACE (and larger kernel stack) for LP64 kernels.  Invert
the logic for setting the USPACE size.  Define a desired USPACE size
(16kB for LP64, 8kB otherwise) then divide by PAGE_SIZE to get UPAGES.

Fixes random segmap lossage, since the uarea usually sits immediately
above the segmap for a process.  Thanks to mrg@, skrll@ and dholland@
for testing, debugging and general help tracking down this problem.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/mips/include/mips_param.h
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/mips/include/proc.h
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/mips/mips/mipsX_subr.S
cvs rdiff -u -r1.161 -r1.162 src/sys/arch/mips/mips/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