Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Mike Larkin
On Wed, May 09, 2018 at 06:21:54PM +0200, Hans-Joerg Hoexer wrote: > Hi, > > I think this fallout from using interrupt gates now. I did not properly > enable interrupts for dna, fpu and f00f_redirect: Thux npxintr() tries to > get the kernel lock with interrupts disabled. Meanwhile the IPI for

Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Alexander Bluhm
On Wed, May 09, 2018 at 06:21:54PM +0200, Hans-Joerg Hoexer wrote: > Hi, > > I think this fallout from using interrupt gates now. I did not properly > enable interrupts for dna, fpu and f00f_redirect: Thux npxintr() tries to > get the kernel lock with interrupts disabled. Meanwhile the IPI for

Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Hans-Joerg Hoexer
Hi, I think this fallout from using interrupt gates now. I did not properly enable interrupts for dna, fpu and f00f_redirect: Thux npxintr() tries to get the kernel lock with interrupts disabled. Meanwhile the IPI for tlb shootdown is pending for delivery. When the sender of the IPI is

Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Mike Larkin
On Wed, May 09, 2018 at 11:01:58AM +0200, Alexander Bluhm wrote: > Hi, > > While running my nightly regression tests, I compiled > /ports/misc/posixtestsuite. It was the first time that I was running > regress while having some other load on the machine. During > regress/lib/libc/ieeefp/except

hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Alexander Bluhm
Hi, While running my nightly regression tests, I compiled /ports/misc/posixtestsuite. It was the first time that I was running regress while having some other load on the machine. During regress/lib/libc/ieeefp/except the machine hang. It has 2 CPUs. The final output of the test: ===>