diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-07-29 18:31:12 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-07-29 18:31:12 +0000 |
commit | ac24c148389b1e7d3cadced1d7cd219e3ca280a5 (patch) | |
tree | 5d8afa506fd09ec8e8515d01617c9ffc5f76b674 /include/fnmatch.h | |
parent | 2d8712c8ebf00810368617a9f970123259391500 (diff) |
Get rid of non-equivalent aliases of the pcb by moving the fpu state out
of the pcb and using the p_addr member of 'struct proc' to calculate the
address of the kernel stack when switching to virtual mode after taking a trap.
Remove the now unecessary cache flushes; they're actually harmful since they
create non-equivalent aliases. This seems to fix the memory corruption we
have been observing from time to time.
This diff does not rename fpu_curpcb, which is now somewhat incorrectly named.
I hope to change things back again as soon as we are able to map the pcb 1:1.
Diffstat (limited to 'include/fnmatch.h')
0 files changed, 0 insertions, 0 deletions