Index | Thread | Search

From:
Janne Johansson <icepic.dz@gmail.com>
Subject:
Re: Push netlock down to ifconf() and move copyout() out of netlock
To:
Vitaliy Makkoveev <mvs@openbsd.org>
Cc:
Alexander Bluhm <bluhm@openbsd.org>, tech@openbsd.org
Date:
Thu, 13 Nov 2025 19:58:21 +0100

Download raw body.

Thread
Den tors 13 nov. 2025 kl 19:46 skrev Vitaliy Makkoveev <mvs@openbsd.org>:
>
> The pagefault handler releases exclusive netlock while copyout(9) needs
> to load pages from swap. So in the cases like ifconf() netlock protected
> lists could became inconsistent. Since we use shared netlock, pagefault
> handler leaves it held, but this breaks swap on NFS. I doubt someone
> uses swap on NFS, but we hold netlock for unpredictable time.

I use this at times on my octeons, so please don't break it.


-- 
May the most significant bit of your life be positive.