Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1621D84CF7 for ; Fri, 7 Jul 2023 17:04:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ZxpSfUyhNKXw for ; Fri, 7 Jul 2023 17:04:50 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 31D7E84CFE for ; Fri, 7 Jul 2023 17:04:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1DD13FBDB; Fri, 7 Jul 2023 17:04:50 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 7 Jul 2023 17:04:50 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org Approved: for-source-only Reply-To: riastradh@netbsd.org X-Mailer: log_accum Message-Id: <20230707170450.1DD13FBDB@cvs.NetBSD.org> Module Name: src Committed By: riastradh Date: Fri Jul 7 17:04:50 UTC 2023 Modified Files: src/sys/kern: subr_xcall.c Log Message: xcall(9): If !mp_online, raise spl or set LP_BOUND to call func. High-priority xcalls may reasonably assume that the spl is raised to splsoftserial, so make sure to do that in xc_broadcast. Low-priority xcalls may reasonably enter paths that assume the lwp is bound to a CPU, so let's make it assertable even if it doesn't have any other consequences when !mp_online. XXX pullup-8 XXX pullup-9 XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/kern/subr_xcall.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.