Re: [PATCH] Revert "random: Mix cputime from each thread that exits to the pool"

2013-03-04 Thread Russ Dill
On Mon, Mar 4, 2013 at 9:05 AM, Theodore Ts'o wrote: > Russ, how about this patch instead? Can you verify whether or not > this fixes your issue? If so, I'll push it to Linus. > > - Ted Yup, fixes the circular locking dependency. Tested-by: russ.d...@gmail.c

Re: [PATCH] Revert "random: Mix cputime from each thread that exits to the pool"

2013-03-04 Thread Theodore Ts'o
Russ, how about this patch instead? Can you verify whether or not this fixes your issue? If so, I'll push it to Linus. - Ted >From 24c598b5abd466f2bab954d0cc8c225e0d3a2a74 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 4 Mar 2013 11:59:12 -0500 Subj

[PATCH] Revert "random: Mix cputime from each thread that exits to the pool"

2013-03-04 Thread Russ Dill
This reverts commit 6133705494bb02953e1e2cc3018a4373981b3c97. The above commit introduces a circular locking dependacy. Existing code takes nonblocking_port.lock and then tasklist_lock. The code in this commit takes nonblocking_port.lock while talklist_lock is already held leading to a potential d