kernel: increase size of palloc.mem[] user page bank array
we'r hitting the limit of user page banks on some asrock mainboard, so doubling the size of the array twice to make running out unlikely.
This commit is contained in:
parent
d21af17367
commit
b76b5901ff
|
@ -491,13 +491,13 @@ struct Pallocmem
|
|||
struct Palloc
|
||||
{
|
||||
Lock;
|
||||
Pallocmem mem[4];
|
||||
Page *head; /* freelist head */
|
||||
ulong freecount; /* how many pages on free list now */
|
||||
Page *pages; /* array of all pages */
|
||||
ulong user; /* how many user pages */
|
||||
Rendez r; /* Sleep for free mem */
|
||||
QLock pwait; /* Queue of procs waiting for memory */
|
||||
Pallocmem mem[16]; /* physical user page banks */
|
||||
};
|
||||
|
||||
struct Waitq
|
||||
|
|
Loading…
Reference in a new issue