Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264650AbTE1KOu (ORCPT ); Wed, 28 May 2003 06:14:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264655AbTE1KOu (ORCPT ); Wed, 28 May 2003 06:14:50 -0400 Received: from c17870.thoms1.vic.optusnet.com.au ([210.49.248.224]:49319 "EHLO mail.kolivas.org") by vger.kernel.org with ESMTP id S264650AbTE1KOq (ORCPT ); Wed, 28 May 2003 06:14:46 -0400 From: Con Kolivas To: Andrew Morton , Matthias Mueller Subject: Re: 2.4.20: Proccess stuck in __lock_page ... Date: Wed, 28 May 2003 20:29:14 +1000 User-Agent: KMail/1.5.1 Cc: axboe@suse.de, m.c.p@wolk-project.de, manish@storadinc.com, andrea@suse.de, marcelo@conectiva.com.br, linux-kernel@vger.kernel.org References: <3ED2DE86.2070406@storadinc.com> <20030528101348.GA804@rz.uni-karlsruhe.de> <20030528032315.679e77b0.akpm@digeo.com> In-Reply-To: <20030528032315.679e77b0.akpm@digeo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305282029.14875.kernel@kolivas.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1262 Lines: 35 On Wed, 28 May 2003 20:23, Andrew Morton wrote: > Matthias Mueller wrote: > > Works fine on my notebook. Good throughput and no mouse hangs anymore. > > Interesting. > > Could you please work out which change caused it? Go back to stock 2.4 and > then apply this: > > > diff -puN drivers/block/ll_rw_blk.c~1 drivers/block/ll_rw_blk.c > --- 24/drivers/block/ll_rw_blk.c~1 2003-05-28 03:20:42.000000000 -0700 > +++ 24-akpm/drivers/block/ll_rw_blk.c 2003-05-28 03:20:57.000000000 -0700 > @@ -590,10 +590,10 @@ static struct request *__get_request_wai > register struct request *rq; > DECLARE_WAITQUEUE(wait, current); > > - generic_unplug_device(q); > add_wait_queue_exclusive(&q->wait_for_requests[rw], &wait); > do { > set_current_state(TASK_UNINTERRUPTIBLE); > + generic_unplug_device(q); > if (q->rq[rw].count == 0) > schedule(); > spin_lock_irq(&io_request_lock); It's not this because this is the layout in my -ck* and it still exhibits the pauses. - 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/