print correct number
This commit is contained in:
parent
cf0c981dce
commit
d9b8d3be38
1 changed files with 4 additions and 2 deletions
|
@ -47,7 +47,8 @@ main(void)
|
|||
printf("main: start\n");
|
||||
FILE *device = fopen(LKM_DEVICE, "r+");
|
||||
|
||||
printf("main: spray to reduce TLB noise part 1: %u objects\n", SPRAY);
|
||||
printf("main: spray to reduce TLB noise part 1: %u objects\n",
|
||||
SPRAY / 2);
|
||||
for (size_t i = 0; i < SPRAY / 2; i++) {
|
||||
int ret;
|
||||
ret = pipe2(spray[i], O_NONBLOCK);
|
||||
|
@ -100,7 +101,8 @@ main(void)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
printf("main: spray to reduce TLB noise part 2: %u objects\n", SPRAY);
|
||||
printf("main: spray to reduce TLB noise part 2: %u objects\n",
|
||||
SPRAY / 2);
|
||||
size_t t_delta;
|
||||
size_t t_prev = -1;
|
||||
size_t last_slab = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue