/kernel/trunk/test/mm/slab1/test.c |
---|
File deleted |
/kernel/trunk/test/mm/falloc1/test.c |
---|
55,7 → 55,7 |
printf("Allocating %d frames blocks ... ", 1 << order); |
allocated = 0; |
for (i = 0; i < MAX_FRAMES >> order; i++) { |
frames[allocated] = frame_alloc(FRAME_ATOMIC | FRAME_KA, order, &status); |
frames[allocated] = frame_alloc(FRAME_NON_BLOCKING | FRAME_KA, order, &status); |
if (ALIGN_UP(frames[allocated], FRAME_SIZE << order) != frames[allocated]) { |
panic("Test failed. Block at address %X (size %dK) is not aligned\n", frames[allocated], (FRAME_SIZE << order) >> 10); |
/kernel/trunk/test/mm/falloc2/test.c |
---|
63,7 → 63,7 |
printf("Thread #%d: Allocating %d frames blocks ... \n", THREAD->tid, 1 << order); |
allocated = 0; |
for (i = 0; i < (MAX_FRAMES >> order); i++) { |
frames[allocated] = frame_alloc(FRAME_ATOMIC | FRAME_KA, order, &status); |
frames[allocated] = frame_alloc(FRAME_NON_BLOCKING | FRAME_KA, order, &status); |
if (status == 0) { |
memsetb(frames[allocated], FRAME_SIZE << order, val); |
allocated++; |