>Once Dimitar posts his test program, we'll be able to generate a more
>clear picture about what's really happening.  Until then, please control
>the ranting.

Am I the only one who saw that he attached it to his 1st mail?

Here you go:

#include <stdlib.h>
#include <string.h>
#include <stdio.h>

#define MALLOC_SIZE 1024*1024*256

int main(int argc, char **argv) {
   char *ptr;
   int i, i_count;
   int j;

   ptr = (char *) malloc(MALLOC_SIZE);
   bzero(ptr, MALLOC_SIZE);

   i_count = MALLOC_SIZE / 16;
   fprintf(stderr, "*");
   for (i = 0; i < i_count; i ++) {
       ptr[i >> 4] = ptr[(i >> 3) + 1]++;
   }
   fprintf(stderr, "#");
   for (j = 0; j < i_count; j ++) {
       ptr[j << 4] = ptr[(j >> 3) + 1]++;
   }

   free(ptr);
   return 0;
}


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to