Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264778AbUD1NOi (ORCPT ); Wed, 28 Apr 2004 09:14:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264779AbUD1NOi (ORCPT ); Wed, 28 Apr 2004 09:14:38 -0400 Received: from [203.97.82.178] ([203.97.82.178]:20881 "EHLO treshna.com") by vger.kernel.org with ESMTP id S264778AbUD1NOc (ORCPT ); Wed, 28 Apr 2004 09:14:32 -0400 Message-ID: <408FADE8.6090705@treshna.com> Date: Thu, 29 Apr 2004 01:13:12 +1200 From: Dru User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Debian/1.6-3 X-Accept-Language: en MIME-Version: 1.0 To: Marc Giger CC: Ivan Kokshaysky , linux-xfs@oss.sgi.com, =?ISO-8859-1?Q?M=E5ns_Rullg=E5rd?= , linux-kernel@vger.kernel.org Subject: Re: status of Linux on Alpha? References: <20040328204308.C14868@jurassic.park.msu.ru> <20040328221806.7fa20502@vaio.gigerstyle.ch> <20040329205233.5b7905aa@vaio.gigerstyle.ch> <20040404121032.7bb42b35@vaio.gigerstyle.ch> <20040409134534.67805dfd@vaio.gigerstyle.ch> <20040409134828.0e2984e5@vaio.gigerstyle.ch> <20040409230651.A727@den.park.msu.ru> <20040413194907.7ce8ceb7@vaio.gigerstyle.ch> <20040427185124.134073cd@vaio.gigerstyle.ch> <20040427215514.A651@den.park.msu.ru> <20040427200830.3f485a54@vaio.gigerstyle.ch> In-Reply-To: <20040427200830.3f485a54@vaio.gigerstyle.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2209 Lines: 83 I've tested the patch on high loads and it handles it fine, its even still very responsive under those loads (can't say the same for my pentium4) Thanks a lot guys. I'll put it though some more heavier tests over the next few days to make certain its rock solid. I did notice one other very minor issue, which was if i set it the alpha system type to Nautilus instead of generic it doesnt boot. It cycles lost interupt when detecting drives, it doesnt time out (each lost intrupt times out but it keeps looking continally). Marc Giger wrote: >Hi Ivan, > >Cool! > >I will try your patch after I finished moving to my new flat:-) > >I wonder why it happens only with the XFS code. What I saw >rw_sem is used all over the place in the kernel. > >Thank you and Dru for the work and hopefully it will fix my problem. > >Regards > >Marc > > >On Tue, 27 Apr 2004 21:55:14 +0400 >Ivan Kokshaysky wrote: > > > >>On Tue, Apr 27, 2004 at 06:51:24PM +0200, Marc Giger wrote: >> >> >>>What's the current status of the problem? >>> >>> >>Hopefully resolved - thanks to Dru , who provided >>an easy way to reproduce the problem. >> >>What we have in lib/rwsem.c:__rwsem_do_wake(): >> int woken, loop; >> ^^^ >>and several lines below: >> loop = woken; >> woken *= RWSEM_ACTIVE_BIAS-RWSEM_WAITING_BIAS; >> woken -= RWSEM_ACTIVE_BIAS; >> >>However, rw_semaphore->count is 64-bit on Alpha, so >>RWSEM_WAITING_BIAS has been defined as -0x0000000100000000L. >>Obviously, this blows up in the write contention case. >> >>Ivan. >> >>--- linux.orig/lib/rwsem.c Mon Apr 26 20:11:36 2004 >>+++ linux/lib/rwsem.c Tue Apr 27 20:04:14 2004 >>@@ -40,8 +40,7 @@ static inline struct rw_semaphore *__rws >> { >> struct rwsem_waiter *waiter; >> struct list_head *next; >>- signed long oldcount; >>- int woken, loop; >>+ signed long oldcount, woken, loop; >> >> rwsemtrace(sem,"Entering __rwsem_do_wake"); >> >> >> >> >> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/