mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-06 19:20:09 +00:00
Pistachio: limit max threads per PD to 128
This change avoids cap ref-count overflows when creating many threads as done by the thread test.
This commit is contained in:
parent
57ec61fb4b
commit
02e50ce5d7
@ -37,7 +37,7 @@ namespace Genode {
|
|||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
PD_BITS = 9,
|
PD_BITS = 9,
|
||||||
THREAD_BITS = 9,
|
THREAD_BITS = 7,
|
||||||
VERSION_BITS = 14 - 1, /* preserve 1 bit, see 'make_l4_id' */
|
VERSION_BITS = 14 - 1, /* preserve 1 bit, see 'make_l4_id' */
|
||||||
PD_FIRST = 0,
|
PD_FIRST = 0,
|
||||||
PD_MAX = (1 << PD_BITS) - 1,
|
PD_MAX = (1 << PD_BITS) - 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user