Add a comment explaining the discrepancy in size between kernel and
userland of cpuset_t. Discussed with: jhb
This commit is contained in:
parent
6106275bd4
commit
3d9f29d0f7
@ -36,6 +36,10 @@
|
||||
#define CPU_SETSIZE MAXCPU
|
||||
#endif
|
||||
|
||||
/*
|
||||
* In userland a bigger cpuset structure is preferable in order to cope
|
||||
* with kernel bumping of MAXCPU and still have a compatible layout.
|
||||
*/
|
||||
#define CPU_MAXSIZE (4 * MAXCPU)
|
||||
|
||||
#ifndef CPU_SETSIZE
|
||||
|
Loading…
Reference in New Issue
Block a user