Received: by mail.netbsd.org (Postfix, from userid 605) id 05E3384DCC; Tue, 11 Feb 2020 03:14:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8075484DCA for ; Tue, 11 Feb 2020 03:14:50 +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 zEOOVy5Fd76L for ; Tue, 11 Feb 2020 03:14:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CAB6E84D36 for ; Tue, 11 Feb 2020 03:14:49 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C3F66FBF4; Tue, 11 Feb 2020 03:14:49 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 11 Feb 2020 03:14:49 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200211031449.C3F66FBF4@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: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Tue Feb 11 03:14:49 UTC 2020 Modified Files: src/sys/kern: kern_lwp.c Log Message: Preserve pcu(9) state in fork. There should perhaps be a pcu_fork operation to keep this factored neatly but this will be simpler to pull up. In practical terms, this may not affect most architecture that use pcu(9) -- alpha, arm32, mips, powerpc, riscv -- but it does affect aarch64, in which v8-v15 are callee-saves, and GCC actually takes advantage of them, and for more than just floating-point data too. XXX pullup To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/sys/kern/kern_lwp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.