Changeset 201abde in mainline for kernel/test/mm/falloc2.c
- Timestamp:
- 2007-04-07T20:06:52Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e58979
- Parents:
- 6adbe3c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/falloc2.c
r6adbe3c2 r201abde 59 59 if (frames == NULL) { 60 60 if (!sh_quiet) 61 printf("Thread #% d(cpu%d): Unable to allocate frames\n", THREAD->tid, CPU->id);61 printf("Thread #%llu (cpu%d): Unable to allocate frames\n", THREAD->tid, CPU->id); 62 62 atomic_inc(&thread_fail); 63 63 atomic_dec(&thread_count); … … 70 70 for (order = 0; order <= MAX_ORDER; order++) { 71 71 if (!sh_quiet) 72 printf("Thread #% d(cpu%d): Allocating %d frames blocks ... \n", THREAD->tid, CPU->id, 1 << order);72 printf("Thread #%llu (cpu%d): Allocating %d frames blocks ... \n", THREAD->tid, CPU->id, 1 << order); 73 73 74 74 allocated = 0; … … 83 83 84 84 if (!sh_quiet) 85 printf("Thread #% d(cpu%d): %d blocks allocated.\n", THREAD->tid, CPU->id, allocated);85 printf("Thread #%llu (cpu%d): %d blocks allocated.\n", THREAD->tid, CPU->id, allocated); 86 86 87 87 if (!sh_quiet) 88 printf("Thread #% d(cpu%d): Deallocating ... \n", THREAD->tid, CPU->id);88 printf("Thread #%llu (cpu%d): Deallocating ... \n", THREAD->tid, CPU->id); 89 89 90 90 for (i = 0; i < allocated; i++) { … … 92 92 if (((uint8_t *) frames[i])[k] != val) { 93 93 if (!sh_quiet) 94 printf("Thread #% d(cpu%d): Unexpected data (%d) in block %p offset %#zx\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k);94 printf("Thread #%llu (cpu%d): Unexpected data (%d) in block %p offset %#zx\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k); 95 95 atomic_inc(&thread_fail); 96 96 goto cleanup; … … 101 101 102 102 if (!sh_quiet) 103 printf("Thread #% d(cpu%d): Finished run.\n", THREAD->tid, CPU->id);103 printf("Thread #%llu (cpu%d): Finished run.\n", THREAD->tid, CPU->id); 104 104 } 105 105 } … … 109 109 110 110 if (!sh_quiet) 111 printf("Thread #% d(cpu%d): Exiting\n", THREAD->tid, CPU->id);111 printf("Thread #%llu (cpu%d): Exiting\n", THREAD->tid, CPU->id); 112 112 atomic_dec(&thread_count); 113 113 }
Note:
See TracChangeset
for help on using the changeset viewer.