From nobody Thu Jan 22 20:23:37 2026 X-Original-To: freebsd-hackers@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 4dxsw51tnfz6QGQf for ; Thu, 22 Jan 2026 20:23:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dxsw458xFz3G02 for ; Thu, 22 Jan 2026 20:23:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-88a367a1dbbso22308616d6.0 for ; Thu, 22 Jan 2026 12:23:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769113428; cv=none; d=google.com; s=arc-20240605; b=kUyJEASoyttCYx2YYx9O9woMKWlx06oayqLfykajcTJOCvDy0+DMN2V00jfNu1zvtF 13YDs7geOAdl6vj+nVgXwR5N61G/buxdvNkYmSbO4pQXXO5k4/pAS8RMtDc4ownqMAxX bB5faifNnui1wPCA/S3c3k4i2UH+mfqAtKqaENgZpARZ6WimeNa/PitQfe0y6RRURWUE gaspW5OVezKanqLiaJR8AS+uR3bohZkVc9BIlGxirVYb/1d9EiGajfWDWDlzOMNTLwLn DqRCZ/1mtXTvM+m6zAEpwJJh4qPbBWItJUXM3HmRiMHuWFNiwC4cJ5wo9sLq8OQLdVIT uB3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=+rF9n0rhcrvgBttKG4DURhdNie9a4uOmZrk40jZYHjU=; fh=qYohsvxjyHkHPP1f8MeFCVVYdKF31ahSMlU36QjKnCU=; b=ld1W7Nrfg0iSU2nRM+LlLavJMIFfv7FxTWd2Y651lRUKzKZW8lh9zlrBApcrDMr2MN 6SiMz0xHlccy5TLLIX2yxL4+LazGH6fhtQSpH9d9WahkWjq67GrZF4CAK0YaoCi45bAI 4wTyvzFVsnJbV0dY40I2vJy+TZj/AlFklgLu0iaJUyYj2XEbSvgnAwWyM0MR+YDrrVOT 1MHzgRjWc0+ZtpJ6xWrAX0/DPU4tV/g5Eh7Wb4v+2Wm0XB/Kcq8/RXTIAf44kjNTrlBC 8zztXDTKWfagZFpwpc/bx6psVeNJ5Rv9UWGjp1JalbFpBdhIdWvoBdBKND2TRKl6g1qv aliw==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769113428; x=1769718228; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+rF9n0rhcrvgBttKG4DURhdNie9a4uOmZrk40jZYHjU=; b=XsfG+ef3plZphRB/VNj1kyoBFltXkH6m1VVEdhXUl7w3G65FImonR+Rhcpc18DY0Zi 065osarzxOghyQNMUalX3un8v0JGNPHRKLwRknQEFEPrC9a+1NEEQF+YcxLnSuFb1/L6 3ozcZ3BtpVDdjjO3a9QpQTw17U1wvSqKahrngaYBqVYZX94desag3TdnmNdXj1pPQ5qA QirmHkEOCC/T8lXxHY26/HjiqE3RVBne8cGBEQqFqhlydPkIlJp14gAa83+421Mj8Eup LkCp032cxqmjNozq5V52Fzxew/wsGx7JXkYsd1nQueRvHG4wsmQL0OL9rm0UL+neddY6 V7rA== X-Forwarded-Encrypted: i=1; AJvYcCVSlr8AQYwQPUSjh9/Y+Knzkknq55YsKj/2X6Yap9iYjCGeezUNkJNCt5WaX5f7bzwAKSF5+CfSSDaPykbFekg=@freebsd.org X-Gm-Message-State: AOJu0YzPeZTFe1HuF3x0NpxhDvZ47umPGCB4YAzMo8RP22W/Qv7QIxCz 9xAZzZnpjp4QDsvvc+AMLDHcfGP90SZC9dqY2zRwNoMpLFdBE8o045sBPHAkMP9A5lKmHaSD6/A jIoFIvwzLBTRDDN406lr6/w3WDuh/4XAbzA== X-Gm-Gg: AZuq6aIO8LSAXSuscTW7GcVMdontaltZsYWtF3ZsoKtDvphm0KDqqoiSCbc9WLhsUDT qeQc5ODhPJpY0bGWKfiqqCth3vajU99IO3MfB4oUGjvcPHkZYL5tDkTqaKr2bXeSTolqAFaTZ8c We7RF9b9+4L77N2paPa15OBlwr2QMt/wL8c125/oUBLO2UVxq8FYwWQUBFUIHipVBvIRgWmgG9k Cc3WA/eRdjvMUH1kjHN7nMWQOUOa78EuPcc1d9ZAHwcKi20/3ZNbimeMKTDyyEr6WBeCt6HRlIn fh3QQkxh/EICUFRPjsVlsWmSYneAqA== X-Received: by 2002:ad4:5b87:0:b0:894:6f43:7de9 with SMTP id 6a1803df08f44-894901aca4bmr10734856d6.26.1769113427850; Thu, 22 Jan 2026 12:23:47 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <4fa5ed8a-5299-4835-9c80-e4be2b63b77b@m5p.com> <202601221909.60MJ9BD4075567@gndrsh.dnsmgr.net> <82fec599-ab71-4e33-9715-34d63095585d@m5p.com> In-Reply-To: From: Adrian Chadd Date: Thu, 22 Jan 2026 12:23:37 -0800 X-Gm-Features: AZwV_QjdQUGBJXMNuD-cNsv6vdhQNjnwWYdTzvMIYnx5edAgglW2s5joXNrSxT0 Message-ID: Subject: Re: Current ULE state and plans (was Re: HMP scheduling on FreeBSD) To: Warner Losh Cc: George Mitchell , freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dxsw458xFz3G02 On Thu, 22 Jan 2026 at 12:12, Warner Losh wrote: > > > > On Thu, Jan 22, 2026 at 12:57=E2=80=AFPM George Mitchell wrote: >> >> On 1/22/26 14:21, Konstantin Belousov wrote: >> > Selecting an arbitrary message to reply in the thread. >> > Also added arch@, perhaps hackers@ should be dropped for replies. >> > >> > I wrote a patch that allows to compile both ULE and 4BSD into same ker= nel, >> > and select the scheduler at boot. See https://reviews.freebsd.org/D54= 831 >> > First comment on the review contains important usage information and >> > some special note about armv7. >> >> Wow! Could we send this, say, fifteen years back in the time machine? > > > ifuncs are 15 years old. And we'd need to get armv7 working with ifuncs s= ince this utterly breaks armv7 w/o them. I think this is a pretty good reason to sit down and just get kernel ifuncs working / checked on every platform in -HEAD. It's about time. :-) (and if this would ever be MFCed, even more..) Anyway, the diff also does change a few things which i do remember causing interesting issues on MIPS with performance and preemption and timekeeping when all of = that fun stuff was in-flight. (I remember having to even fix the MIPS enter idle / interrupt disable stuff due to latency issues the timekeeping/scheduling stuff introduced.) So I could totally believe some un-diagnosed issues and weird corner cases = were mis-attributed to "must be ULE vs 4BSD" when it was some side effect we did= n't quite get. (Also, now i wonder if ifuncs work on ppc/ppc64..) -a