From: Andrew Morton <akpm@osdl.org>
To: Toufeeq Hussain <toufeeqh@gmail.com>
Cc: linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: 2.6.13-rc1 problems
Date: Wed, 29 Jun 2005 12:02:10 -0700 [thread overview]
Message-ID: <20050629120210.489db9fd.akpm@osdl.org> (raw)
In-Reply-To: <42C2EAE4.90007@gmail.com>
Toufeeq Hussain <toufeeqh@gmail.com> wrote:
>
> After upgrading to 2.6.13-rc1 my system crashes after running for around
> 10 minutes.
Try this:
--- 25/drivers/block/ll_rw_blk.c~get_request-nastiness 2005-06-29 09:36:27.000000000 -0700
+++ 25-akpm/drivers/block/ll_rw_blk.c 2005-06-29 09:36:27.000000000 -0700
@@ -1918,10 +1918,9 @@ get_rq:
* limit of requests, otherwise we could have thousands of requests
* allocated with any setting of ->nr_requests
*/
- if (rl->count[rw] >= (3 * q->nr_requests / 2)) {
- spin_unlock_irq(q->queue_lock);
+ if (rl->count[rw] >= (3 * q->nr_requests / 2))
goto out;
- }
+
rl->count[rw]++;
rl->starved[rw] = 0;
if (rl->count[rw] >= queue_congestion_on_threshold(q))
_
next prev parent reply other threads:[~2005-06-29 19:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 18:39 Toufeeq Hussain
2005-06-29 19:02 ` Andrew Morton [this message]
2005-06-30 16:51 ` Toufeeq Hussain
-- strict thread matches above, loose matches on Subject: below --
2005-06-29 16:34 Ismail Donmez
2005-06-29 17:07 ` randy_dunlap
[not found] ` <Pine.LNX.4.61.0506291805090.3940@goblin.wat.veritas.com>
2005-06-29 17:15 ` Ismail Donmez
2005-06-29 17:51 ` Hugh Dickins
2005-06-29 17:55 ` Ismail Donmez
2005-06-29 18:08 ` randy_dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050629120210.489db9fd.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=toufeeqh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®