From owner-cvs-all@FreeBSD.ORG Thu Sep 13 09:12:37 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6312A16A418; Thu, 13 Sep 2007 09:12:37 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 548E013C45E; Thu, 13 Sep 2007 09:12:37 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8D9Cb9S070508; Thu, 13 Sep 2007 09:12:37 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8D9Cbnv070507; Thu, 13 Sep 2007 09:12:37 GMT (envelope-from attilio) Message-Id: <200709130912.l8D9Cbnv070507@repoman.freebsd.org> From: Attilio Rao Date: Thu, 13 Sep 2007 09:12:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern subr_sleepqueue.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2007 09:12:37 -0000 attilio 2007-09-13 09:12:37 UTC FreeBSD src repository Modified files: sys/kern subr_sleepqueue.c Log: subr_sleepqueue.c presents a thread lock missing which leads to dangerous races for some struct thread members. More specifically, this bug seems responsible for some memory dumping problems people were experiencing. Fix this adding correct thread locking. Tested by: rwatson Submitted by: tegge Approved by: jeff Approved by: re Revision Changes Path 1.39 +2 -0 src/sys/kern/subr_sleepqueue.c