On Tue, Apr 22, 2025 at 04:42:52PM +0200, Marco Elver wrote: > Seqlocks are generally supported, but have caused headaches in the > past, esp. if the reader-side seqlock critical section does not follow > the typical do-seqbegin-while-retry pattern, or the critical section > is too large. If I read this right, the > > struct dentry *mountpoint = m->mnt_mountpoint; > > is before the seqlock-reader beginning with "*seqp = > read_seqcount_begin(&mountpoint->d_seq);" ? Different seqlock - mount_lock protects mount tree and it's been sampled all way back in the beginning of RCU pathwalk...