Hi !
I think we don't need a 'bug()' return from 'pte'.
--- vmscan.c.old Thu Oct 19 23:22:15 2000
+++ vmscan.c Fri Oct 20 03:24:10 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);
--
Regards,
Daniel
-----------------------------
http://www.futuregate.ping-net.de
ftp://futuregate.ping-net.de
-
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/