From nobody Thu May 18 20:11:18 2023 X-Original-To: dev-commits-src-all@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 4QMh1z1lz1z4ByTn; Thu, 18 May 2023 20:11:19 +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 4QMh1z1G1cz3s84; Thu, 18 May 2023 20:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684440679; 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=z2rk5T8YzqO6B8A9NJNlIL9e9ZTGAQQI37R+AAWSsiw=; b=vBs2aB6ocop208WA64+OuH+LwGDwQ+ibc/IXz/XnF4AZXP/EHAwr8b+hOWk1NRqHIAce2y w3l2EnfybzdE+KFjprc74YOzcb5PkUoj5yVUs+0E6iquukmykbrmzavleJWY7q7wKjefnJ CMUEvHW7EKG2TL/ma7UfvlFdYqnFQzOY8cmDBk0gMKVtEhbjSUJQZ3BK4vxGHWoDNs5RVZ 4pyGMO/lMu4HPSB1UWVXr6Chlwun3BzFEId25WCmAS1FC/7Tpmg7hKuoQYIigcGcER0JFB VXGb6P0aKXl5g0IzRsQJ81C7SwGbt1ocOK4DHz6X+UQ/SleTMZOTlBktmzTW/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684440679; 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=z2rk5T8YzqO6B8A9NJNlIL9e9ZTGAQQI37R+AAWSsiw=; b=K4znGUNcPGJmXcE+/H79HuqzlvZiT3Qktj2OM5h3vqm6Eb6NqYyZ3G+Qlo9mA1+S1PipR4 g6oBZHp5PkqfXzTi4+lpU+tIYFA1QVXyl2/Wj/93CarAmc04rr/vviAPM+7y+wMRPSvsFE i0VDqyYPf/LhZAvDuRKnRMI4ZTbeWpXBpD7DIP4n66SYbgrAC/XQ22qaV4H0xouyrMfkA3 pVMxS5I+2slFfrGwooXZt5asA9ActDyQhEERvt1iFFANkOrO5l4CgSwpIOVc/o0RAqJIKC yJafgxu26eo84IaMd8W5HK/Tou5CAykQpz26HxBg9WWcEOsxbcMkAYhF5AeC3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684440679; a=rsa-sha256; cv=none; b=oSsojQjJ7sRUoZlsyyNNwO8hQJC/rBXzihGYABqqu2mgbt9uQZiNtumdOTcpc0bKsf1pPg e7/HI/AbqcxextJdzezjU3G2GzIpTCh6eq2sScBInKPHNPFbOwY6eBzHX8k4xAOZPlCLjx F5tmX7AzWEywdMp9NWouQsFsZg/C2wPpVp2R6phd3r0rRTPUDX/9GoreWqflEZEyOIYxvh 4X5kJsUsRS6c2uzXf7gY633Av8h/ZI50mOpUWqRFx5lv7TZtpa7qhEnqOvCnx6rZCPPoj1 Q98ujGmyhGWRULfrglefJdoOZDkp3DxJrRKfyw/EXOTam+XN5PrtPEzAzp6p7Q== 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 4QMh1z0K20zytk; Thu, 18 May 2023 20:11:19 +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 34IKBI6F028717; Thu, 18 May 2023 20:11:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34IKBIgB028716; Thu, 18 May 2023 20:11:18 GMT (envelope-from git) Date: Thu, 18 May 2023 20:11:18 GMT Message-Id: <202305182011.34IKBIgB028716@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 6ba1be38f67d - main - proc: s/short/u_char for td_stopsched List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ba1be38f67db2ea82db427fb1ff0c076f066f58 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=6ba1be38f67db2ea82db427fb1ff0c076f066f58 commit 6ba1be38f67db2ea82db427fb1ff0c076f066f58 Author: Mateusz Guzik AuthorDate: 2023-05-18 19:44:29 +0000 Commit: Mateusz Guzik CommitDate: 2023-05-18 19:44:29 +0000 proc: s/short/u_char for td_stopsched bool is not used because of massive header mess While here move it into a gap. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/sys/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 1292315990b3..54d586b06525 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -271,11 +271,11 @@ struct thread { const char *td_wmesg; /* (t) Reason for sleep. */ volatile u_char td_owepreempt; /* (k*) Preempt on last critical_exit */ u_char td_tsqueue; /* (t) Turnstile queue blocked on. */ + u_char td_stopsched; /* (k) Scheduler stopped. */ short td_locks; /* (k) Debug: count of non-spin locks */ short td_rw_rlocks; /* (k) Count of rwlock read locks. */ short td_sx_slocks; /* (k) Count of sx shared locks. */ short td_lk_slocks; /* (k) Count of lockmgr shared locks. */ - short td_stopsched; /* (k) Scheduler stopped. */ struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */ const char *td_lockname; /* (t) Name of lock blocked on. */ LIST_HEAD(, turnstile) td_contested; /* (q) Contested locks. */