We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b71f3a + 28ae3ca commit e2469a9Copy full SHA for e2469a9
driver/others/init.c
@@ -90,9 +90,11 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
90
91
#if defined(BIGNUMA)
92
// max number of nodes as defined in numa.h
93
-// max cpus as defined in sched.h
+// max cpus as defined in most sched.h
94
+// cannot use CPU_SETSIZE directly as some
95
+// Linux distributors set it to 4096
96
#define MAX_NODES 128
-#define MAX_CPUS CPU_SETSIZE
97
+#define MAX_CPUS 1024
98
#else
99
#define MAX_NODES 16
100
#define MAX_CPUS 256
0 commit comments