From owner-cvs-all Wed Jun 27 23: 3:33 2001 Delivered-To: cvs-all@freebsd.org Received: from server.baldwin.cx (server.baldwin.cx [204.216.28.80]) by hub.freebsd.org (Postfix) with ESMTP id BDB0637B403; Wed, 27 Jun 2001 23:03:27 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (tserver.conference.usenix.org [199.103.159.3]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id XAA24069; Wed, 27 Jun 2001 23:05:02 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200106280514.f5S5EC548320@earth.backplane.com> Date: Wed, 27 Jun 2001 23:03:24 -0700 (PDT) From: John Baldwin To: Matt Dillon Subject: Re: cvs commit: src/sys/netinet tcp_input.c tcp_output.c tcp_sub Cc: bmilekic@FreeBSD.org, jlemon@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Mike Silbersack , "Brian F. Feldman" , Jonathan Lemon Alfred Perlstein , Doug Rabson Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 28-Jun-01 Matt Dillon wrote: >:Matt, I think you are forgetting that on BSD/OS, when a lightweight >:ithread hits a held mutex, it then converts to a fully scheduled >:heavyweight thread, at which point any kind of preemption you can think of >:can happen. >:... >:Doug Rabson Mail: dfr@nlsystems.com > > Yes, but that only applies to the interrupt thread, not the original > thread that was interrupted, Wrong. When the ithd that blocks does its fixup, it puts the interrupted thread on the runqueue. > and it doesn't happen at a random point... > it happens at a well defined point. The thread is interrupted at a random point, not a well defined point. Interrupts are asynchronous and unpredicted by nature. :) -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message