* [patch] pagecache SMP locking bug, 2.4.10.
@ 2001-09-26 17:45 Ingo Molnar
2001-09-26 17:48 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2001-09-26 17:45 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
[-- 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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] pagecache SMP locking bug, 2.4.10.
2001-09-26 17:45 [patch] pagecache SMP locking bug, 2.4.10 Ingo Molnar
@ 2001-09-26 17:48 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2001-09-26 17:48 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
> there is a SMP locking bug in 2.4.10's invalidate_list_pages2() [...]
doh, there is no bug.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-26 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-26 17:45 [patch] pagecache SMP locking bug, 2.4.10 Ingo Molnar
2001-09-26 17:48 ` Ingo Molnar
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®