diff options
author | jhb <jhb@FreeBSD.org> | 2004-08-04 20:31:19 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-08-04 20:31:19 +0000 |
commit | fb7bd65f3fce5c3edbba481ccb297cf5aacf0308 (patch) | |
tree | 8c2622febe985c457c89f363f5b224e6c31a946a /usr.sbin | |
parent | f513ad537cff0033d6eb269c47350258e757e1ba (diff) | |
download | FreeBSD-src-fb7bd65f3fce5c3edbba481ccb297cf5aacf0308.zip FreeBSD-src-fb7bd65f3fce5c3edbba481ccb297cf5aacf0308.tar.gz |
Remove a potential deadlock on i386 SMP by changing the lazypmap ipi and
spin-wait code to use the same spin mutex (smp_tlb_mtx) as the TLB ipi
and spin-wait code snippets so that you can't get into the situation of
one CPU doing a TLB shootdown to another CPU that is doing a lazy pmap
shootdown each of which are waiting on each other. With this change, only
one of the CPUs would do an IPI and spin-wait at a time.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions