lkml.org 
[lkml]   [2001]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] pagecache SMP locking bug, 2.4.10.

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
--- 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);
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.028 / U:0.808 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site