mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: [patch] pagecache SMP locking bug, 2.4.10.
Date: Wed, 26 Sep 2001 19:45:09 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0109261933360.6884-200000@localhost.localdomain> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 158 bytes --]


there is a SMP locking bug in 2.4.10's invalidate_list_pages2() that can
lead to a double spinlock acquire & result in a soft lockup. Patch
attached.

	Ingo

[-- Attachment #2: Type: TEXT/PLAIN, Size: 273 bytes --]

--- linux/mm/filemap.c.orig	Wed Sep 26 19:17:33 2001
+++ linux/mm/filemap.c	Wed Sep 26 19:18:25 2001
@@ -364,6 +364,7 @@
 				curr = curr->prev;
 				continue;
 			}
+			spin_unlock(&pagecache_lock);
 		} else {
 			/* Restart on this page */
 			list_del(head);

             reply	other threads:[~2001-09-26 17:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-26 17:45 Ingo Molnar [this message]
2001-09-26 17:48 ` Ingo Molnar

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=Pine.LNX.4.33.0109261933360.6884-200000@localhost.localdomain \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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®