From nobody Sun Aug 06 20:29:57 2023 X-Original-To: dev-commits-src-main@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 4RJrfY3Bl0z4mMpJ; Sun, 6 Aug 2023 20:29:57 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RJrfY2Wtfz4XpJ; Sun, 6 Aug 2023 20:29:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691353797; 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=0K8Wik3iHLfamsJWjMKUet0qd87Rlg/Y3RTtIO1tULM=; b=LGelKWwd7isJdRRWVI/evcw8aboLzY9Unda2asvdIJmPU7dkW74wR4cWpgw1UKXNMBXXxt HAisUoAgAUtDycyja5EIuc953z8sUehVjSphcmx+4aIH6ou6PHVIKx+kcBXUwUqBU0mqlW D/BuZuNVrYk+s98/QImDPXGfjam2Lx8SWkkDop+IiK5CqdreKeMfjQ8rnQbpePI2pXu88L 25d9Q64SKUOyVgf88OU2G8e/UbEY6CXdzILtMFbD0eGOohLgMXWOA23R/bmtCQZ8FROION QgTWbp2Y5XNz7bSZ5nM7m46OYxa7/xfr5A1EXjAJMpDfnwKRB+oy41TKuaEEvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691353797; 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=0K8Wik3iHLfamsJWjMKUet0qd87Rlg/Y3RTtIO1tULM=; b=qSqpZiDhLFDWtC6FeYLTCrd1/fHva1VPZk18tvb263wRiad+f241qHvAivo7GbrSXQ/9FL fK183hbN+UgsQKk4OzO+5eUkBpPLQs4FAroWI3BqeakjPObk47D7z36XSf2ezhjchneLFR hn9yldpvQBbU5SW0VW2QRPmHVfTlT/L+6CPl6RZHFZYF8ZraHpbnu+1HUGQkie8UDV4vET IKlpBIq+c7rujm4slIsKCzJsdtXnoTcz+ikTC2fI+RRAmodLJXJr64TjkRNvmvITNcG9l5 WJC63jlF0BV0cV6RQOVwcgN2HlVeWK4x5yDXG51tmVa6x/WEN4CLf3eKSndmSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691353797; a=rsa-sha256; cv=none; b=BFktU1h1UVQSp7MpwGDdoLeX4x+mxCCQ3VWSU1zl58ZQUEqsvXUZNdldRORW+dIVWVQC7S bv3LAj26nw1QjTUsQnswtmRfqJp/k8zNBY3gGxNNiHwFUwjB5d2WXu0Pl/5LvoWmD0ESZ3 LeBjs5l5m7O5KtLye+TwhEWlb1JYXEwn4VKaN8l83ZRbjg+PW8EGNaFeTbpzizWI2bMZ0e qIFxvM/yo0rStmqXnt0mHRZNUxmFmp5ImN4Uj4wm5PqkVxoI8BgaF741hvCCk6f25JKU8F CSnKeL68NkcHghzIhtN21CT8Rpbz+5BXScZi/G54xvY0N/xFE/iPBNKU4wkGEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RJrfY1LwSz8np; Sun, 6 Aug 2023 20:29:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 376KTv9D025812; Sun, 6 Aug 2023 20:29:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376KTvj6025811; Sun, 6 Aug 2023 20:29:57 GMT (envelope-from git) Date: Sun, 6 Aug 2023 20:29:57 GMT Message-Id: <202308062029.376KTvj6025811@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Marius Strobl Subject: git: 96c76d930656 - main - exit1(): Revert sparc64 workaround List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: marius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 96c76d930656f13d3c041dc8d8f2fc3dd1e5e05a Auto-Submitted: auto-generated The branch main has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=96c76d930656f13d3c041dc8d8f2fc3dd1e5e05a commit 96c76d930656f13d3c041dc8d8f2fc3dd1e5e05a Author: Marius Strobl AuthorDate: 2023-08-06 19:54:57 +0000 Commit: Marius Strobl CommitDate: 2023-08-06 20:26:01 +0000 exit1(): Revert sparc64 workaround If this still is a problem on other architectures, it should be fixed properly. This reverts commit 5486ffc898503a846ecaf3f5ef9f9269beb4540e. --- sys/kern/kern_exit.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index cb0939ded6e1..e3345c14df26 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -238,13 +238,7 @@ exit1(struct thread *td, int rval, int signo) TSPROCEXIT(td->td_proc->p_pid); p = td->td_proc; - /* - * XXX in case we're rebooting we just let init die in order to - * work around an unsolved stack overflow seen very late during - * shutdown on sparc64 when the gmirror worker process exists. - * XXX what to do now that sparc64 is gone... remove if? - */ - if (p == initproc && rebooting == 0) { + if (p == initproc) { printf("init died (signal %d, exit %d)\n", signo, rval); panic("Going nowhere without my init!"); }