diff options
| author | Hanjie Wu <hanjiew@andrew.cmu.edu> | 2023-04-28 21:14:37 -0400 |
|---|---|---|
| committer | Hanjie Wu <hanjiew@andrew.cmu.edu> | 2023-04-28 21:14:37 -0400 |
| commit | 119b5e6fde37c53a5037a6ba959ba60c882bd6d0 (patch) | |
| tree | a41be842bfc966befb80324cc405414b35cf91d2 /kern/mm.c | |
| parent | ff90341c64565ac7d8034d2f8cf460532a5b51fd (diff) | |
Diffstat (limited to 'kern/mm.c')
| -rw-r--r-- | kern/mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ static unsigned char* user_page_bitmap; /** minimum size of last bin */ #define LAST_BIN_SIZE (1 << (NUM_BINS - 1)) /** bins for free chunks */ -static pa_t bins[9]; +static pa_t bins[NUM_BINS]; mutex_t mm_lock = MUTEX_INIT; |
