From nobody Thu Oct 08 12:21:47 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4j0pyN2f57z6vZKQ for ; Thu, 08 Oct 2026 12:21:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4j0pyM2X95z4MTZ for ; Thu, 08 Oct 2026 12:21:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791462107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1tg5Q+QEmGTp5DNXi5oe6uy6CbtnaG8jJlPXe4qq4Ug=; b=jT1UHj1SaC4vcXO1WFQS5P6lTkTagMkuYCMqwYIhYGClEec2brqnRZ0RC8U5DZBa+SKDc2 +5reCAWfO4Ug0Sfnrfjo8MK+/WxKHUYM2jD5veE7uw+NY+NYZG3rwUaJMcWPV1rF+k8V/k +fCgEQSWsPACIMC59pLycJBe05V5XDxa6r+NrFfziSozIxJ1teocqmD4iKrEwkREeYGEVe KgS+0oRkRl3+Obj4JeqPG3eUk6MwJEvyi/8Me51em0crnTK4ogYDweICLmNsutIque/Sko aRAwzutvmWLEqiMV0lyFqygcBExqu1snHvLZnc8QzW7x9NXGYFwdR8tBPcSnZg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791462107; b=blWlTAA+UnmEMPx+GAQQf+tmffwk6WB8EMfVfuWbTfqvOfaHPcrniQYK2t9F2rV70Bqajg unLqX6lQY7E+1f38Z2ytKS5mlKzhYNfxtUHRyvwMSt3r/hIStY7KiMqlD6p7uiVSth2hNo 9Hu47HBPasCKgB8h0BS/RfdOzBVRxzZC9YSY2ZEOnORDzBLQ412rCyX/srzgy8pQmGQTLM /7E792FsmWot2sHrMg+3Zf8OlWi0lelKNlS5OwX0c8KXgNzRlaPaj9eKKjekgiMXZ/fyp/ Co30WSYDveUmai1/tDDoSxh+X3DpAocOgxslhPFeIAG+iU/tftqysyQ1rXlaig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791462107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1tg5Q+QEmGTp5DNXi5oe6uy6CbtnaG8jJlPXe4qq4Ug=; b=MMyNFG4HiazdpHAprtP2oYzLRAR1XZVDJ820HdxprtqSMqFJKaFQYNnBUPZpl1VJwuIaW8 iwXWznxD6lafg8p4O1GIdco4UwnBi9ePDPYdm5MmWaRKFlMmaJXRN91FqT3Q872K7CZJOl Jr1cd1uFf2TgjiLxBdVfppcorzLv7DaZR0rcl0YIOEYWmOv0McjmAEpqZk9ISQxVDN/zip 5aPqgnshDpxiFBpHxXQNQDcAY/+amGWPzMK+cjVBaNAcjdNGmWjeLxhYPvNi5usasJljF2 osOtlG4y346+pMqIRfW821Z6yo/6+L9U5a51JNwWvIQNmcWUyh+sHuDGsIJHiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4j0pyM1N0Czgln for ; Thu, 08 Oct 2026 12:21:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1c5fe by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 08 Oct 2026 12:21:47 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: b9a11a353454 - stable/15 - NOTES: Multiple schedulers can be compiled in at once List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: b9a11a3534548deda63498074a4c2354b96fd6e4 Auto-Submitted: auto-generated Date: Thu, 08 Oct 2026 12:21:47 +0000 Message-Id: <6ac78adb.1c5fe.2c8c908@gitrepo.freebsd.org> The branch stable/15 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=b9a11a3534548deda63498074a4c2354b96fd6e4 commit b9a11a3534548deda63498074a4c2354b96fd6e4 Author: Olivier Certner AuthorDate: 2026-09-24 16:23:05 +0000 Commit: Olivier Certner CommitDate: 2026-10-08 12:20:08 +0000 NOTES: Multiple schedulers can be compiled in at once Mention that ULE is the default scheduler when multiple ones are compiled in and how the tunable 'kern.sched.name' can be used to select another one. While here, regroup SCHED_ULE and SCHED_4BSD, as they control if the respective scheduler instances are compiled in, putting SCHED_STATS aside. Reviewed by: mchoo Fixes: 75a66a92c92f ("- Add an option to compile in SCHED_STATS. ...") Fixes: 1322760fd127 ("sys: enable both SCHED_ULE and SCHED_4BSD for some configs") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60014 (cherry picked from commit 754d2c69f3589cdd0bc4649d9e85ecd59935d9d3) --- sys/conf/NOTES | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 63ccd85c2317..494303203e2f 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -192,8 +192,12 @@ options ROOTDEVNAME=\"ufs:da0s2e\" ##################################################################### # Scheduler options: # -# Specifying one of SCHED_4BSD or SCHED_ULE is mandatory. These options -# select which scheduler is compiled in. +# The options below select the schedulers that are compiled in. Specifying at +# least one is mandatory. Multiple ones can be compiled in. At boot, the +# kernel will use ULE by default if present, with a fallback to one of the +# compiled-in options. A specific scheduler can be requested by setting the +# 'kern.sched.name' tunable to a scheduler name, i.e., one of the options below +# with the SCHED_ prefix removed. # # SCHED_4BSD is the historical, proven, BSD scheduler. It has a global run # queue and no CPU affinity which makes it suboptimal for SMP. It has very @@ -202,15 +206,14 @@ options ROOTDEVNAME=\"ufs:da0s2e\" # SCHED_ULE provides significant performance advantages over 4BSD on many # workloads on SMP machines. It supports cpu-affinity, per-cpu runqueues # and scheduler locks. It also has a stronger notion of interactivity -# which leads to better responsiveness even on uniprocessor machines. This -# is the default scheduler. -# +# which leads to better responsiveness even on uniprocessor machines. +options SCHED_4BSD +options SCHED_ULE + # SCHED_STATS is a debugging option which keeps some stats in the sysctl # tree at 'kern.sched.stats' and is useful for debugging scheduling decisions. # -options SCHED_4BSD options SCHED_STATS -options SCHED_ULE ##################################################################### # SMP OPTIONS: