Re: macppc panic: vref used where vget required

2022-05-04 Thread Alexander Bluhm
On Wed, May 04, 2022 at 05:58:14PM +0200, Martin Pieuchot wrote: > I don't understand the mechanism around UVM_VNODE_CANPERSIST. I looked > for missing uvm_vnp_uncache() and found the following two. I doubt > those are the one triggering the bug because they are in NFS & softdep. It crashes

Re: macppc panic: vref used where vget required

2022-05-04 Thread Mark Kettenis
> Date: Wed, 4 May 2022 17:58:14 +0200 > From: Martin Pieuchot > > On 04/05/22(Wed) 09:16, Sebastien Marie wrote: > > [...] > > we don't have any vclean label ("vclean (inactive)" or "vclean (active)"), > > so > > vclean() was not called in this timeframe. > > So we are narrowing down the

Re: macppc panic: vref used where vget required

2022-05-04 Thread Martin Pieuchot
On 04/05/22(Wed) 09:16, Sebastien Marie wrote: > [...] > we don't have any vclean label ("vclean (inactive)" or "vclean (active)"), so > vclean() was not called in this timeframe. So we are narrowing down the issue: 1. A file is opened 2. Then mmaped 3. Some of its pages are swapped to disk 4.

Re: macppc panic: vref used where vget required

2022-05-04 Thread Sebastien Marie
On Tue, May 03, 2022 at 07:52:16PM +0200, Alexander Bluhm wrote: > On Mon, May 02, 2022 at 06:53:08AM +0200, Sebastien Marie wrote: > > New diff, with new iteration on vnode_history_*() functions. I added a > > label in > > the record function. I also changed when showing the stacktrace. powerpc