Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2023 17:05:09 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ea6dd3d1d451 - main - Revert "cpuset: increase userland maximum size to 1024"
Message-ID:  <202305091705.349H59t9080002@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=ea6dd3d1d4519c2798f7417c826afd6739b84383

commit ea6dd3d1d4519c2798f7417c826afd6739b84383
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-05-09 13:40:27 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-05-09 17:05:00 +0000

    Revert "cpuset: increase userland maximum size to 1024"
    
    This reverts commit 76887e84be975698b14699d7d0dfb157d73e9990.
    
    struct vm_exit currently requires that cpuset_t be identical in userland
    and kernel.  This will be recommitted after these are decoupled.
    
    PR:             271330, 269572
    Reported by:    corvink
    Sponsored by:   The FreeBSD Foundation
---
 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 676f9855f384..b75ee595da3c 100644
--- a/sys/sys/_cpuset.h
+++ b/sys/sys/_cpuset.h
@@ -40,7 +40,7 @@
 #define	CPU_SETSIZE	MAXCPU
 #endif
 
-#define	CPU_MAXSIZE	1024
+#define	CPU_MAXSIZE	256
 
 #ifndef	CPU_SETSIZE
 #define	CPU_SETSIZE	CPU_MAXSIZE



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