From owner-freebsd-current@FreeBSD.ORG Fri Apr 1 21:30:48 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14CAF106566C; Fri, 1 Apr 2011 21:30:48 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id D94378FC08; Fri, 1 Apr 2011 21:30:47 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p31LUi9f039416 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 1 Apr 2011 14:30:46 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4D96441E.7020702@freebsd.org> Date: Fri, 01 Apr 2011 14:31:10 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: John Baldwin References: <201103311437.19682.jhb@freebsd.org> <4D94EA1D.9010708@freebsd.org> <201103311731.36091.jhb@freebsd.org> In-Reply-To: <201103311731.36091.jhb@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Attilio Rao , freebsd-current@freebsd.org, Svatopluk Kraus Subject: Re: schedcpu() in /sys/kern/sched_4bsd.c calls thread_lock() on thread with un-initialized td_lock X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 21:30:48 -0000 On 3/31/11 2:31 PM, John Baldwin wrote: > On Thursday, March 31, 2011 4:54:53 pm Julian Elischer wrote: > > http://svn.freebsd.org/viewvc/base/head/sys/kern/kern_fork.c?annotate=83366 > > FreeBSD has always used this process to find a free PID. SVN and CVS history > does not lie. yep it's possible I'm remembering a change that never made it in...