summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-01-26 02:26:04 +0000
committerneel <neel@FreeBSD.org>2010-01-26 02:26:04 +0000
commitc282e9faa80007004c23a815b0193d2cefad60d0 (patch)
tree2e2413e2ce5390af0080b0b0e8ae4545ba2c36f7 /MAINTAINERS
parent5cd5dea33bd9e5836617934509e913f7c130c4d8 (diff)
downloadFreeBSD-src-c282e9faa80007004c23a815b0193d2cefad60d0.zip
FreeBSD-src-c282e9faa80007004c23a815b0193d2cefad60d0.tar.gz
Fix a problem seen when a new process was returning to userland
through fork_trampoline. This was caused because we were clearing the SR_INT_IE and setting SR_EXL bits of the status register at the same time. This meant that if an interrupt happened while this MTC0 was making its way through the pipeline the exception processing would see the status register with SR_EXL bit set. This in turn would mean that the COP_0_EXC_PC would not be updated so the return from exception would be to an incorrect address. It is easy to verify this fix by a program that forks in a loop and the child just exits: while (1) { pid_t pid = vfork(); if (pid == 0) _exit(0); if (pid != -1) waitpid(pid, NULL, 0); } Also remove two instances where we set SR_EXL bit gratuitously in exception.S. Approved by: imp (mentor)
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud