[PATCH] mm/vmscan.c

From: Daniel Mehrmann (kernel.mehrmann@ping-net.de)
Date: Fri Oct 20 2000 - 11:55:30 EDT

  • Next message: John M. Flinchbaugh: "cpia_usb cameras"

    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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Oct 20 2000 - 13:35:26 EDT