From owner-freebsd-current Tue Jan 30 18:19: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (Postfix) with ESMTP id C157337B6B6 for ; Tue, 30 Jan 2001 18:18:47 -0800 (PST) Received: (from akm@localhost) by mail.theinternet.com.au (8.9.3/8.9.3) id MAA46680; Wed, 31 Jan 2001 12:25:35 +1000 (EST) (envelope-from akm) Date: Wed, 31 Jan 2001 12:25:35 +1000 From: Andrew Kenneth Milton To: Jason Evans Cc: Andrew Kenneth Milton , current@freebsd.org Subject: Re: Voodoo3 + XFree4 + DRM - simple_lock ? :-) Message-ID: <20010131122535.S11513@zeus.theinternet.com.au> References: <20010131045430.R11513@zeus.theinternet.com.au> <20010130131111.F17900@canonware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20010130131111.F17900@canonware.com>; from Jason Evans on Tue, Jan 30, 2001 at 01:11:11PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG +-------[ Jason Evans ]---------------------- | | > What are the 'new' corresponding structures and calls for simple_lock ? | | Mutexes should be used in places where simplelocks were used. With few | exceptions, sleep mutexes should be used (even though simplelocks were spin | locks). See mutex(9) for details. Be forewarned that there is work in | progress to clean up the mutex API that will probably be checked in within | a week. Transitioning from the current mutex API to the upcoming one will | be trivial, but it will have to be done if you convert to mutexes in the | next few days. I can wait a week to fix the code, I guess I should send it back to VA to see if they'll actually include it in the base XFree Release. Someone else is already working on a Glide3 port, so X would be looking pretty useful for Voodoo3 owners d8) Too bad I need those locks, the pulsar hack that comes with xscreensaver normally runs around 50fps (or 0.5 fps w/o drm) -- I get way over 200fps with all the locks disabled d8) Of course if I suspend it while its running the machine freezes... I can live with that for a while anwyay. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message