Source-Changes archive

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

CVS commit: [nathanw_sa] syssrc/sys/kern



Module Name:    syssrc
Committed By:   nathanw
Date:           Fri Dec 28 05:52:42 UTC 2001

Modified Files:
        syssrc/sys/kern [nathanw_sa]: kern_sa.c

Log Message:
Instead of using cpu_stashcontext() in sa_upcall(), get the ucontext_t and
keep it in the struct sadata_upcall, in kernel address space, until
sa_upcall_userret(). This avoids the possibility of a page fault during
copyout in sa_upcall(), which can be called from inside tsleep().

Align the upcall stack as required by the architecture (using ALIGNBYTES).

Add a couple of assertions for things that keep biting me.


To generate a diff of this commit:
cvs rdiff -r1.1.2.10 -r1.1.2.11 syssrc/sys/kern/kern_sa.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