From: "Theo de Raadt" Subject: Re: Unlock sysctl kern.maxclusters To: Vitaliy Makkoveev Cc: Mark Kettenis , Alexander Bluhm , tech@openbsd.org Date: Tue, 03 Jun 2025 08:19:26 -0600 Can the operations in nmbclust_update() be done by sysctl storing a single new value, which is observed later in a codepath (which already needs locking against subsystems below), as being different from the current variable, and then it changes what it needs?