Subject: CVS commit: src/sys/arch/arm
To: None <source-changes@NetBSD.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 01/19/2008 15:04:10
Module Name:	src
Committed By:	chris
Date:		Sat Jan 19 15:04:10 UTC 2008

Modified Files:
	src/sys/arch/arm/arm32: arm32_machdep.c cpuswitch.S genassym.cf
	    vm_machdep.c
	src/sys/arch/arm/include: pcb.h
	src/sys/arch/arm/include/arm32: param.h

Log Message:
With the removal of IPKDB on arm, the undefined stack is only used to
bounce into SVC32 mode, there is no per-process data stored on it.

We can therefore use the undefined stack setup by the platform machdep.c
as a system wide undefined stack.

This removes the need for a per-process undefined stack, and the processor
mode switching overhead it causes in cpu_switchto.

The space freed in the USPACE is used to increase the per process kernel
stack size.


To generate a diff of this commit:
cvs rdiff -r1.54 -r1.55 src/sys/arch/arm/arm32/arm32_machdep.c
cvs rdiff -r1.53 -r1.54 src/sys/arch/arm/arm32/cpuswitch.S
cvs rdiff -r1.37 -r1.38 src/sys/arch/arm/arm32/genassym.cf
cvs rdiff -r1.41 -r1.42 src/sys/arch/arm/arm32/vm_machdep.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/arm/include/pcb.h
cvs rdiff -r1.12 -r1.13 src/sys/arch/arm/include/arm32/param.h

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