lkml.org 
[lkml]   [2002]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] __free_pages_ok oops
Sorry, no solution, but maybe another oops in __free_pages_ok might help?

Hugh

--- 2.4.18-pre8/mm/page_alloc.c Tue Feb 5 12:55:36 2002
+++ linux/mm/page_alloc.c Wed Feb 6 18:31:07 2002
@@ -73,9 +73,11 @@
/* Yes, think what happens when other parts of the kernel take
* a reference to a page in order to pin it for io. -ben
*/
- if (PageLRU(page))
+ if (PageLRU(page)) {
+ if (in_interrupt())
+ BUG();
lru_cache_del(page);
-
+ }
if (page->buffers)
BUG();
if (page->mapping)
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.127 / U:5.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site