tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VFS_MOUNT reverses sense of IMNT_MPSAFE test?



On Thu 07 May 2026 at 07:41:54 -0700, Konrad Schroder wrote:
> While hunting down a deadlock involving mount_null, I ran into a reversed
> test for IMNT_MPSAFE in VFS_MOUNT().  I'm not sure if this is what's causing
> my problem, but it's almost certainly wrong.  Is there something I'm
> missing, or should I commit?

The pattern you spotted indeed looks wrong compared to the other cases
in the same file.

I also had some deadlock when playing with bob some time ago. It does a
lot of null mounts, and if they should have locking but do not (because
of this bug) then this could definitely explain it. (But I don't know if
null mounts are supposed to be MPSAFE or not, so it could still be a
red herring).

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index