--- - branch: MAIN date: Fri Nov 6 15:30:59 UTC 2015 files: - new: '1.386' old: '1.385' path: src/sys/arch/sparc64/sparc64/locore.s pathrev: src/sys/arch/sparc64/sparc64/locore.s@1.386 type: modified - new: '1.101' old: '1.100' path: src/sys/arch/sparc64/sparc64/vm_machdep.c pathrev: src/sys/arch/sparc64/sparc64/vm_machdep.c@1.101 type: modified id: 20151106T153059Z.c747c6e4627435a8cac49769ec01df2efc4eace3 log: "Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:\n\n\tRemove special case handling for userland lwps from cpu_lwp_fork,\n\tinstead do it in lwp_trampoline when we first return to userland.\n\nwhich was a stupid idea - since we did now set all fork child's %tstate\n(and thus %pstate when back in userland) to the current kernel's userland\ndefault. This meant we lost the address mask bit for 32bit processes and\nall memory model details for 64bit ones.\n\nMove it back to cpu_lwp_fork and fix the condition to only do it once when\nforking init.\n" module: src subject: 'CVS commit: src/sys/arch/sparc64/sparc64' unixtime: '1446823859' user: martin