Re: [PATCH] cast current_wordsize to an int

2012-05-15 Thread Denys Vlasenko
On 04/28/2012 12:58 AM, Mike Frysinger wrote: > On 64bit systems with a single personality, we see: > count.c: In function 'call_summary': > count.c:223:5: warning: format '%u' expects type 'unsigned int', > but argument 3 has type 'long unsigned int' long??? Ah, I see. #ifndef PERSONALITY

strace scheduling fairness

2012-05-15 Thread Denys Vlasenko
#include #include #include #define NTHD 10 static int thd_no; static void *sub_thd(void *c) { printf("thread created: %d\n", ++thd_no); for (;;) getuid(); return NULL; } int main(int argc, char **argv) { int i; pthread_t thd; for (i = 0; i <