On Wed, 25 Oct 2000, Markus hennig wrote:

> hi,
> 
> kernel 2.4.0test10-pre4
> pentium mmx with 64MB ram
> if anybody interested in more details i will send .config
> 
> last log before freeze:
> 
> Kernel BUG at vmscan.c:102!
> invalid operand: 0000
> CPU:   0
> 

Hi Markus,

How about trying this patch? (I try to invent a new way of answering the
same FAQ question ;)

Tigran

--- linux/mm/vmscan.c   Fri Oct 13 04:34:57 2000
+++ work/mm/vmscan.c    Fri Oct 13 08:34:19 2000
@@ -98,10 +98,6 @@
        if (PageSwapCache(page)) {
                entry.val = page->index;
                swap_duplicate(entry);
-               if (pte_dirty(pte))
-                       BUG();
-               if (pte_write(pte))
-                       BUG();
                set_pte(page_table, swp_entry_to_pte(entry));
 drop_pte:
                UnlockPage(page);



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to