Received: by mail.netbsd.org (Postfix, from userid 605) id 6C92884DAA; Fri, 6 Dec 2019 18:33:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E09A784DA7 for ; Fri, 6 Dec 2019 18:33:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id OInMfk8NhWYY for ; Fri, 6 Dec 2019 18:33:19 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 864E784CEA for ; Fri, 6 Dec 2019 18:33:19 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7FE15FA97; Fri, 6 Dec 2019 18:33:19 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 6 Dec 2019 18:33:19 +0000 From: "Andrew Doran" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191206183319.7FE15FA97@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Andrew Doran" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: ad Date: Fri Dec 6 18:33:19 UTC 2019 Modified Files: src/sys/kern: sched_4bsd.c sched_m2.c Log Message: sched_tick(): don't try to optimise something that's called 10 times a second, it's a fine way to introduce bugs (and I did). Use the MI interface for rescheduling which always does the correct thing. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/kern/sched_4bsd.c cvs rdiff -u -r1.36 -r1.37 src/sys/kern/sched_m2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.