The branch main has been updated by emaste:

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

commit ea6dd3d1d4519c2798f7417c826afd6739b84383
Author:     Ed Maste <[email protected]>
AuthorDate: 2023-05-09 13:40:27 +0000
Commit:     Ed Maste <[email protected]>
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

Reply via email to