From owner-svn-src-all@FreeBSD.ORG Wed Feb 10 15:52:25 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ECF71065670; Wed, 10 Feb 2010 15:52:25 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 161C68FC13; Wed, 10 Feb 2010 15:52:24 +0000 (UTC) Received: from outgoing.leidinger.net (pD954FA02.dip.t-dialin.net [217.84.250.2]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 1514084411B; Wed, 10 Feb 2010 16:52:17 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id B3FB47DAFF; Wed, 10 Feb 2010 16:52:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1265817133; bh=pgRbgK5XNOBj6oCMC5REMFEYmah0r7QIwdisFaGsfck=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=FL7SDWF/ame54bMNCbnZklt95WBRTNf/K+Hczcbe9yjYhuO9MN8nYconsMnW0PAoC 3LYD8iVlp+qrayIbMpB5uK1TgKuQSPSB+PsLjS3tWmKlITWXgcO8gJ4Zcm9qKQNJzZ z3VjDUpYbdZhGQPq+vjDZccHb4tAJ1TezgAT+mBTH9ZglxBUdNGgzH1pm31EgBK4d9 Gf7PwKgb1QT/qk5/yyl1f1+GCt2NTSBRnstqMH9Ls6Wgo6ZGFMHNs6uvoosMIUXBKK iG4m3hxGTLe4lglHtvK3385DPenKTZ+4/4RFCg+lJENa1uzyrWC9PmRaivdc+Ha8mn 265v62stDsKFg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o1AFqDml036744; Wed, 10 Feb 2010 16:52:13 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 10 Feb 2010 16:52:13 +0100 Message-ID: <20100210165213.95990l8r0b7latrk@webmail.leidinger.net> Date: Wed, 10 Feb 2010 16:52:13 +0100 From: Alexander Leidinger To: David Xu References: <201002080731.o187V5Pk072517@svn.freebsd.org> In-Reply-To: <201002080731.o187V5Pk072517@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 1514084411B.84140 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.286, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, TW_DX 0.08, TW_SV 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1266421939.74212@PsWoDoDqnpmsvEPA1OaDaQ X-EBL-Spam-Status: No Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, mono@FreeBSD.org Subject: Re: svn commit: r203657 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 15:52:25 -0000 Quoting David Xu (from Mon, 8 Feb 2010 07:31:05 +0000 (UTC)): > Author: davidxu > Date: Mon Feb 8 07:31:05 2010 > New Revision: 203657 > URL: http://svn.freebsd.org/changeset/base/203657 > > Log: > Set waiters flag before checking semaphore's counter, > otherwise we might lose a wakeup. Tested on postgresql database server. Uhm... if I ktrace a hanging process and I see some semop()s (I assume it is waiting on some event to happen), where on Linux this process is working correctly, then I would like to test this patch to see if the process still has the same problem? Or differently asked: this affects the operation of semop(2)? Bye, Alexander. -- We only acknowledge small faults in order to make it appear that we are free from great ones. -- LaRouchefoucauld http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137