Re: svn commit: r230984 - head/sys/kern

2012-02-06 Thread Ryan Stone
On Mon, Feb 6, 2012 at 6:34 AM, Ivan Voras wrote: > Shouldn't new threads inherit affinity from the threads which spawned them? Kernel threads were not inheriting affinity from the thread that spawned them. They were inheriting affinity from an arbitrary sibling thread in the same kernel process

Re: svn commit: r230984 - head/sys/kern

2012-02-06 Thread John Baldwin
On Monday, February 06, 2012 6:34:06 am Ivan Voras wrote: > On 4 February 2012 17:49, Ryan Stone wrote: > > Author: rstone > > Date: Sat Feb 4 16:49:29 2012 > > New Revision: 230984 > > URL: http://svn.freebsd.org/changeset/base/230984 > > > > Log: > > Whenever a new kernel thread is spawned, ex

Re: svn commit: r230984 - head/sys/kern

2012-02-06 Thread Ivan Voras
On 4 February 2012 17:49, Ryan Stone wrote: > Author: rstone > Date: Sat Feb  4 16:49:29 2012 > New Revision: 230984 > URL: http://svn.freebsd.org/changeset/base/230984 > > Log: >  Whenever a new kernel thread is spawned, explicitly clear any CPU affinity >  set on the new thread.  This prevents t