From nobody Wed May 24 15:08:16 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 4QRF1X3SY8z4Cphf; Wed, 24 May 2023 15:08:16 +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 4QRF1X2YDLz3rvF; Wed, 24 May 2023 15:08:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684940896; 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=rb4yzO8/s31orRTXFoBzKjdcdfpDw1zpOmubYFuS9tI=; b=FUcUBO/n/EQon9DkDElYFPFVt0jsccR3B31mejW+JR9+MAeWBqOkXziiHDvdctpS3BGsEy eYsO/MpBVqNXmzuRAlbAg8lux/5dmfRJeXZ3vzmxEPavPvxiX72N4EhXuSJFDgrC/2eiu6 S0YLfhc0vTRN0YxCWzvw7Sk75CznZnMp3KdYl4D9T/ikJ8iqo9S2lIVXcd7DccsWU0Nw/8 a0yPM9Ve4cgb40fC4eGAd+Z+0Ymp54NEsIeZxlewFnYNNg6bU8B4/vAfYRG/R4X2ZJFxvu H580Q8Yllap+5SLtiR6M+cwl2J/e40EmDddEakQhpb0naaOOMwXIZE9hgxIKwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684940896; 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=rb4yzO8/s31orRTXFoBzKjdcdfpDw1zpOmubYFuS9tI=; b=g8G1gtOhW9RLq5nQ32Yn0vO3t5dFCjOu8jfJBppH0ytL+lRnIv3rsNIMOD7gckXZZqCiB4 dAlmTply253tZ6bp09l6p473PtSSCFuE8HUywOEnjVSRiu50bfuD2NjA8ifwruGIKNnVe7 kJipaXeKD0qinrqk62dZhO6JL2kam3p10JYh+XoKioJmPY4YdejdMWCguuZxviI/qLSKV1 0+rSA/PqHh1nFXZ2DN9o69KNIwSJPigzZ3hXJnnN55c9yi2GygMsxuLgNSoCXjCuyL7wp+ qQSKbDojxV9PgbWqoJwTTOALiidkNZZze+QbXOVefW+bCfYXyQzamq6VUtfdDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684940896; a=rsa-sha256; cv=none; b=xrt+UTWJ3qH6Xc38mL0g02jElIkK4dZHupwway1PapFSRQgCNV55CuQ73aDl03QgvwkkPN 4yUj9C3HJdao7iWVNatjLCEPHInrf55u8qV/r6qONq3zrd6v27sOqjcfloC+jgXTG7Q0w5 a4iiztPpxAKUF1ojkaRFHvQfHpE/pqJjT1qmekwppUgPRbcHBQZNwi7Qg9rCOQifFkvcCT p/goANBLCa73erIMjBRK68rayIq+/uQEZFiEqD6XH7qa/StlcIKd8qNKc122/jne0r6Rfn Cbx8f91DB/OkOLVgUoS/1ws+XaxSN4/h+MUIP1p01O7ByBq8T/4wdLV/fiNsRA== 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 4QRF1X1bk6zn9s; Wed, 24 May 2023 15:08:16 +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 34OF8Gnj055676; Wed, 24 May 2023 15:08:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34OF8G16055675; Wed, 24 May 2023 15:08:16 GMT (envelope-from git) Date: Wed, 24 May 2023 15:08:16 GMT Message-Id: <202305241508.34OF8G16055675@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: d1639e43c589 - main - cpuset: increase userland maximum size to 1024 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d1639e43c589644510198dc53aef87e8908a1507 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=d1639e43c589644510198dc53aef87e8908a1507 commit d1639e43c589644510198dc53aef87e8908a1507 Author: Ed Maste AuthorDate: 2023-05-02 20:57:12 +0000 Commit: Ed Maste CommitDate: 2023-05-24 14:59:05 +0000 cpuset: increase userland maximum size to 1024 Hardware with more than 256 CPU cores is now available and will become increasingly common. Bump CPU_MAXSIZE (used for userland cpuset_t sizing) to 1024 to define the ABI for FreeBSD 14. This change is reapplied after a change to decouple cpuset from bhyve: commit e17eca327633 ("vmm: Avoid embedding cpuset_t ioctl ABIs"). PR: 269572, 271213 [exp-run] Reviewed by: mjg, jhb Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39941 (cherry picked from commit 76887e84be975698b14699d7d0dfb157d73e9990) --- sys/sys/_cpuset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/_cpuset.h b/sys/sys/_cpuset.h index e7dabe249aac..dde7a4a7e16f 100644 --- a/sys/sys/_cpuset.h +++ b/sys/sys/_cpuset.h @@ -40,7 +40,7 @@ #define CPU_SETSIZE MAXCPU #endif -#define CPU_MAXSIZE 256 +#define CPU_MAXSIZE 1024 #ifndef CPU_SETSIZE #define CPU_SETSIZE CPU_MAXSIZE