From nobody Wed Jun 21 05:44:48 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 4QmCBS4fpsz4g1n3; Wed, 21 Jun 2023 05:44: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmCBS45v9z3mkq; Wed, 21 Jun 2023 05:44:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687326288; 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=Akr2hSyodrAYLPwgti8g6nB2uEJTYm9rcsWWBSY+Pp8=; b=wrJIPVM+D0B4h1jZmJrv7fL7/epdk1Ey/ili6lNo5dwmlKUcPsUNB8QEh5cq0zhwfpM2zz JezTWfaIJn6mWZl1IFwbVuRLrKPCpDBYvNSdiyHSZmiXj5Rm5NoJBKi/O48SNqGnfE4Bf/ BfF9ttAu8dNeSmcyN7r7Q7mpfg358XMTc89tGhWcg3jQUg10OmeFJkxlUFRQDuvlsgJo4i vMRagDZvqIgurFsUgfqDf/pQnhg4vYyX2veQzbpKCyDnR9xNNhXSgR9AdhEx0sNI2Ornt+ VSmOiJNihJbDsnpmN0HRKjLoCZJ6FR4UU34Xs7tyMvDgF0cGEDHhB/3wEB0fUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687326288; 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=Akr2hSyodrAYLPwgti8g6nB2uEJTYm9rcsWWBSY+Pp8=; b=TGZt9AWpf+2yqzNdrlZXwMnl5X8BPYudMxRwr285bS+WrqoCyKC2M3MDT4uDWjcL/m+aK9 /wVcLZZzaZ/ZUiAulH1gNP0L2YCxNe4F8ToGIPxAo/PTSlkjjt/JuZxKME+ODI6/Jj/0B4 lu5431QM5QsAmy/nL8hqj2FPaqlQAjFpLaKa9OVC4I1IgTSaJUthebaJ1Juy1dDIwx37hJ EddTpFn6+gbAXyxPrwPbpKxLueUZ5brJrJB4517sRrtu3tkotGMWKWk1FfiB3adD3s5dUW aEEd7jRSQ3HVlFN6nHQd0PSqsLJ/Z2RHb1LrG1+vKJ7ujpWTtab+XMxFHLxSWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687326288; a=rsa-sha256; cv=none; b=S5nAIKVuvaN1Qplv514zfnucpoiU/yxNdikOXIIZlUi6RVoVQPSVXj6SCtvNVJbrK79T1w P1N4onGnchMaSE9bAI31agX0ITqTYncuk7sbRmKNQwQoCi/EObssVFK/yNxGjBT1O0idgK TUbwo7rXlw+T5e5QNhEkfSthDdF9k8M3vhjmRPba/4Gh015+FJKC1QfzTcX/qe+mchIJE+ AC4bbm/AP5alIRgjH/poTI+YbFIOmCZQlChO0jHkUKAmmSWIYfvsvb7VedXC4fTw6HZCl2 zG6CP6GLVTWs0SpMFzp5XmYdRQQLpu22xkuvrOEk+/nzUb1WQ4hahc6mAYbgqw== 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 4QmCBS3BrczVX9; Wed, 21 Jun 2023 05:44:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35L5imiJ064758; Wed, 21 Jun 2023 05:44:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35L5imsh064757; Wed, 21 Jun 2023 05:44:48 GMT (envelope-from git) Date: Wed, 21 Jun 2023 05:44:48 GMT Message-Id: <202306210544.35L5imsh064757@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 5bd5470a2c97 - main - top(8): restore erronously removed SWAIT array element 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5bd5470a2c975b8d3c841a68ac66bd0a3acdf966 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5bd5470a2c975b8d3c841a68ac66bd0a3acdf966 commit 5bd5470a2c975b8d3c841a68ac66bd0a3acdf966 Author: Konstantin Belousov AuthorDate: 2023-06-21 05:43:11 +0000 Commit: Konstantin Belousov CommitDate: 2023-06-21 05:43:11 +0000 top(8): restore erronously removed SWAIT array element due to bad rebase. Noted by: kevans Sponsored by: The FreeBSD Foundation MFC after: 1 week Fixes: 6a5e6a50bd55c3fb4933abe1edaad3a928700c42ESC --- usr.bin/top/machine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 1785db8b9dc4..414b92560523 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -1267,6 +1267,7 @@ static const int sorted_state[] = { [SSLEEP] = 6, /* sleeping */ [SSTOP] = 5, /* stopped/suspended */ [SZOMB] = 2, /* zombie */ + [SWAIT] = 4, /* intr */ [SLOCK] = 7, /* blocked on lock */ };