This commit is contained in:
26
glibc-cpusetsize.diff
Normal file
26
glibc-cpusetsize.diff
Normal file
@@ -0,0 +1,26 @@
|
||||
Index: glibc-2.4/bits/sched.h
|
||||
===================================================================
|
||||
--- bits/sched.h 2007-08-22 08:02:57.124247019 -0500
|
||||
+++ bits/sched.h 2007-08-22 08:03:36.149061686 -0500
|
||||
@@ -38,7 +38,7 @@ struct sched_param
|
||||
#if defined _SCHED_H && !defined __cpu_set_t_defined
|
||||
# define __cpu_set_t_defined
|
||||
/* Size definition for CPU sets. */
|
||||
-# define __CPU_SETSIZE 1024
|
||||
+# define __CPU_SETSIZE 4096
|
||||
# define __NCPUBITS (8 * sizeof (__cpu_mask))
|
||||
|
||||
/* Type for array elements in 'cpu_set'. */
|
||||
Index: glibc-2.4/sysdeps/unix/sysv/linux/bits/sched.h
|
||||
===================================================================
|
||||
--- sysdeps/unix/sysv/linux/bits/sched.h 2006-02-08 13:09:06.000000000 -0600
|
||||
+++ sysdeps/unix/sysv/linux/bits/sched.h 2007-08-22 08:04:00.988126075 -0500
|
||||
@@ -97,7 +97,7 @@ struct __sched_param
|
||||
#if defined _SCHED_H && !defined __cpu_set_t_defined
|
||||
# define __cpu_set_t_defined
|
||||
/* Size definition for CPU sets. */
|
||||
-# define __CPU_SETSIZE 1024
|
||||
+# define __CPU_SETSIZE 4096
|
||||
# define __NCPUBITS (8 * sizeof (__cpu_mask))
|
||||
|
||||
/* Type for array elements in 'cpu_set_t'. */
|
Reference in New Issue
Block a user