lkml.org 
[lkml]   [2008]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][RFC] fix kernel BUG at mm/migrate.c:719! in 2.6.26-rc5-mm3
    > @@ -715,13 +725,7 @@ unlock:
    > * restored.
    > */
    > list_del(&page->lru);
    > - if (!page->mapping) {
    > - VM_BUG_ON(page_count(page) != 1);
    > - unlock_page(page);
    > - put_page(page); /* just free the old page */
    > - goto end_migration;
    > - } else
    > - unlock = putback_lru_page(page);
    > + unlock = putback_lru_page(page);
    > }
    >
    > if (unlock)

    this part is really necessary?
    I tryed to remove it, but any problem doesn't happend.

    Of cource, another part is definitly necessary for specurative pagecache :)






    \
     
     \ /
      Last update: 2008-06-17 17:37    [W:3.217 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site