Description of problem:
timer_create with other than SIGEV_THREAD_ID leaks a task_struct.
Version-Release number of selected component (if applicable):
2.6.9-rc1, let's say
Steps to Reproduce:
1. use timer_create over and over in new processes,
e.g. try attached test program
2. check slabtop
3. watch task_struct count grow out of control
fix on the way
Created attachment 103703 [details]
test program to show timer_create leaking task_structs
gcc -o timerleak -g timerleak.c -lrt -Wall
Created attachment 103704 [details]
fix for task_struct leak in timer_create
I've submitted this fix upstream.
Fix went into Linus's tree.