Re: [PATCH] sigqueue_free: fix the race with collect_signal()

2007-08-26 Thread taoyue
Oleg Nesterov wrote: On 08/24, Sukadev Bhattiprolu wrote: Oleg Nesterov wrote: On 08/24, taoyue wrote: Oleg Nesterov wrote: collect_signal: sigqueue_free: list_del_init(&first-&

Re: [PATCH] sigqueue_free: fix the race with collect_signal()

2007-08-24 Thread taoyue
Oleg Nesterov wrote: On 08/24, taoyue wrote: Oleg Nesterov wrote: --- t/kernel/signal.c~SQFREE2007-08-22 20:06:31.0 +0400 +++ t/kernel/signal.c 2007-08-23 16:02:57.0 +0400 @@ -1297,20 +1297,19 @@ struct sigqueue *sigqueue_alloc(void) void sigqueue_free(struct

Re: [PATCH] sigqueue_free: fix the race with collect_signal()

2007-08-23 Thread taoyue
Oleg Nesterov wrote: Spotted by taoyue <[EMAIL PROTECTED]> and Jeremy Katz <[EMAIL PROTECTED]>. collect_signal: sigqueue_free: list_del_init(&first->list); if (!

Re: [BUG]: posix timer: slab error 'double free'

2007-08-23 Thread taoyue
Oleg Nesterov wrote: (maintainers cc'ed) On 08/21, taoyue wrote: I write a simple stress test program for posix timer subsystem, to reproduce the problem in the lastest mainline kernel. My test program creates 200 threads, and each thread does the following job: Please see my test pr

[BUG]: posix timer: slab error 'double free'

2007-08-20 Thread taoyue
Hi everyone: A posix timer race condition is found in current kernel source tree. Jeremy has actually reported the same problem. I write a simple stress test program for posix timer subsystem, to reproduce the problem in the lastest mainline kernel. My test program creates 200 threads, and e