Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2023 08:59:28 +0200
From:      Corvin =?ISO-8859-1?Q?K=F6hne?= <corvink@FreeBSD.org>
To:        Ed Maste <emaste@FreeBSD.org>, src-committers@FreeBSD.org,  dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 76887e84be97 - main - cpuset: increase userland maximum size to 1024
Message-ID:  <0dadaa17917629e3399fe9acbab17eb60b63575d.camel@FreeBSD.org>
In-Reply-To: <202305081826.348IQm9N040108@gitrepo.freebsd.org>
References:  <202305081826.348IQm9N040108@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, 2023-05-08 at 18:26 +0000, Ed Maste wrote:
> The branch main has been updated by emaste:
> 
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=76887e84be975698b14699d7d0dfb157d73e9990
> 
> commit 76887e84be975698b14699d7d0dfb157d73e9990
> Author:     Ed Maste <emaste@FreeBSD.org>
> AuthorDate: 2023-05-02 20:57:12 +0000
> Commit:     Ed Maste <emaste@FreeBSD.org>
> CommitDate: 2023-05-08 18:25:15 +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.
>     
>     PR:             269572, 271213 [exp-run]
>     Reviewed by:    mjg, jhb
>     Relnotes:       yes
>     Sponsored by:   The FreeBSD Foundation
>     Differential Revision: https://reviews.freebsd.org/D39941
> ---
>  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 b75ee595da3c..676f9855f384 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

Hi Ed,

this somehow breaks bhyve on my system. It immediately exits with
"vm_run error -1" on startup.


-- 
Kind regards,
Corvin

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmRZ71AACgkQ2FTaVjFe
Amq05A//WpPiVNciNqz1p2d/4UCyAgywFr/s3J5bbdC/YW7GMCSR+3yg5cBzJK4H
EZi0mOqo2JHJnr56Sk6Iy1Z751eDMGuGLO44KQ+Z+3Jl6KlwbWZ9Q9b0Y5hfJJG/
4DYTkUD0iHRDPzuru/76rZKmCkf/+BzblSeW71a7E+y/Wi80spJhEEAF+57FpGea
aWL2JUrRnM5GYIitqNYL+3cQEE7jpm/xKcqG5iGZaaULUOmFt+dBoF4qqjDI2VOA
PgJ4Dq6irlo7Hn8oII1FY2BYTKowg9Tm9NZyh8yYsb4D4MhpO0s57d28y6A2rYGq
BSrLBUE/uCZ55PDYibBR1PXfI4gp0Wxd+KxTBSOdDUU+osDmoiqtUsqbdYqG10qq
3BWT90aaWinv7SHyR/icxL0K4Sn/cstEXxfo4X+u1/7dbL7yqYTeSwKL0rwGmvCX
LiSHWJH8Cqtuc8wmuVHcit07VpdQM1C2BDkyCMZucWJxpIwKXlUDV1vfYUH0/4q+
Y9mj80v0cznhN5TX5agtv9rxFAufhrYL7X+rLVcpq/EAvy8v5p/NBUkbBG5q56dK
EGgqRIOxzKhKFWewSm9P6hWnPuKujSdg+yjIEK5bwbubW43jWf+QaWmrPtOgihij
yoC369GKZVvN0RizLOBfeWB0Qp1H1VoCIh7ZM4rcn/HdXKDgkYs=
=WlKT
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0dadaa17917629e3399fe9acbab17eb60b63575d.camel>