From owner-freebsd-threads@FreeBSD.ORG Sat Apr 22 06:46:26 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E12916A400; Sat, 22 Apr 2006 06:46:26 +0000 (UTC) (envelope-from sean@gothic.net.au) Received: from visi.gothic.net.au (visi.gothic.net.au [202.182.72.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED1C543D45; Sat, 22 Apr 2006 06:46:25 +0000 (GMT) (envelope-from sean@gothic.net.au) Received: from localhost (localhost [127.0.0.1]) by visi.gothic.net.au (Postfix) with ESMTP id 06BB426A1E; Sat, 22 Apr 2006 16:46:22 +1000 (EST) X-Virus-Scanned: amavisd-new at gothic.net.au Received: from localhost ([127.0.0.1]) by localhost (visi.gothic.net.au [127.0.0.1]) (amavisd-new, port 10026) with SMTP id XmvssngpwO4W; Sat, 22 Apr 2006 16:46:17 +1000 (EST) Received: from t22 (home.winn.id.au [202.182.72.30]) by visi.gothic.net.au (Postfix) with ESMTP id 8F4A426A0D; Sat, 22 Apr 2006 16:46:17 +1000 (EST) From: "Sean Winn" To: "'Kris Kennaway'" Date: Sat, 22 Apr 2006 16:46:13 +1000 Message-ID: <002301c665d8$72f3a7f0$2522630a@t22> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <001801c66372$a032e770$2522630a@t22> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZjKL+KlqYL/6KzSNWxRovjDdTIjwARuLqwAJnwoCA= Cc: 'Daniel Eischen' , freebsd-sparc64@freebsd.org, freebsd-threads@freebsd.org Subject: RE: pthread_mutex_timedlock on sparc64 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 06:46:26 -0000 owner-freebsd-sparc64@freebsd.org wrote: > Kris Kennaway wrote: >> On Tue, Apr 18, 2006 at 07:28:00PM +1000, Sean Winn wrote: >>> owner-freebsd-sparc64@freebsd.org wrote: >>>> >>>> libthr *is* the thread library on sparc64; as Daniel says, >>>> libpthread is not ported to sparc64. >>>> >>>> Kris >>> >>> Not yet in 6.x >>> >>> 19:25 Tue 18-Apr sean@bloody [~] uname -msr >>> FreeBSD 6.1-RC1 sparc64 >>> 19:25 Tue 18-Apr sean@bloody [~] ls -l /usr/lib/libpthread.so >>> lrwxrwxrwx 1 root wheel 9 Apr 17 04:05 /usr/lib/libpthread.so -> >>> libc_r.so >> >> Oops, I forgot about that..although so did David when he removed >> libc_r from 7.0 and broke sparc :-) >> >> So I guess this is a libc_r missing feature. Probably the solution >> is to use libthr on 6.x too (I don't know if it works well enough on >> 5.x). libthr causes witness panics under load on sparc64 though. >> >> Kris > > Would threading problems be related to sparc64/73413? I've noticed it > sitting idle for a long while, and the test case still core dumps. The > PR it references (sparc64/72998) also is open. > > And as a followup to these two PRs - the patches apply cleanly to 6.1RC1 and the test case in the PR certainly doesn't core dump anymore. Using mysqld 4.1.18 with super-smack update-select has had no panics or core dumps after these changes with both libkse and libthr; all that means of course is that it doesn't introduce something horribly wrong, not that it works - is there some regression test for threading? Note: all my testing is done on a single CPU AXi. > http://www.freebsd.org/cgi/query-pr.cgi?pr=sparc64/73413 > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to > "freebsd-sparc64-unsubscribe@freebsd.org"