From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 28 11:30:17 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE92416A4E2 for ; Fri, 28 Jul 2006 11:30:17 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from secnap2.secnap.com (secnap2.secnap.com [204.89.241.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CE4243D49 for ; Fri, 28 Jul 2006 11:30:17 +0000 (GMT) (envelope-from scheidell@secnap.net) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Jul 2006 07:30:16 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FBSD 5.5 and software timers Thread-Index: Acax5vgIWo3YcWOhSEWmmKyhnjQ2twAUejYg From: "Michael Scheidell" To: "M. Warner Losh" X-Mailman-Approved-At: Fri, 28 Jul 2006 14:34:37 +0000 Cc: freebsd-hackers@freebsd.org Subject: RE: FBSD 5.5 and software timers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 11:30:17 -0000 > -----Original Message----- > From: M. Warner Losh [mailto:imp@bsdimp.com]=20 > Sent: Thursday, July 27, 2006 9:39 PM > To: Michael Scheidell > Cc: freebsd-hackers@freebsd.org > Subject: Re: FBSD 5.5 and software timers > libc_r depends on absolute system time to do its sleeps and=20 > timeouts, and has since FreeBSD 3.4. This dependency has=20 Could be, but it worked up to and including 5.4. > been the result of many conversations over time, and has had=20 > several patches posted. Since libc_r is dead technology,=20 > there's little chance they will be adopted. I replaced libc_r with libthr and two things happen: One of my threads doesn't run, and it won't die (kill -9 doesn't even kill it) I replaced libc_r with libpthread and it immediately reboots the system! I am going to try to nail down just what and why this happens and post that. (reminder: even if this change happened in 3.4, it didn't affect me till 5.5)