Robert Watson wrote:
On Sat, 9 Oct 2010, David Xu wrote:
Create a global thread hash table to speed up thread lookup, use
rwlock to protect the table. In old code, thread lookup is done with
process lock held, to find a thread, kernel has to iterate through
process and thread list, this is
On Sat, 9 Oct 2010, David Xu wrote:
Create a global thread hash table to speed up thread lookup, use
rwlock to protect the table. In old code, thread lookup is done with
process lock held, to find a thread, kernel has to iterate through
process and thread list, this is quite inefficient.
Wi
Author: davidxu
Date: Sat Oct 9 02:50:23 2010
New Revision: 213642
URL: http://svn.freebsd.org/changeset/base/213642
Log:
Create a global thread hash table to speed up thread lookup, use
rwlock to protect the table. In old code, thread lookup is done with
process lock held, to find a thread