lkml.org 
[lkml]   [2009]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 06/24] HWPOISON: abort on failed unmap
    >  	 * Now take care of user space mappings.
    > + * Abort on fail: __remove_from_page_cache() assumes unmapped page.
    > */
    > - hwpoison_user_mappings(p, pfn, trapno);
    > + if (hwpoison_user_mappings(p, pfn, trapno) != SWAP_SUCCESS) {
    > + res = -EBUSY;
    > + goto out;

    It would be good to print something in this case.

    Did you actually see it during testing?

    Or maybe loop forever in the unmapper.

    -Andi
    --
    ak@linux.intel.com -- Speaking for myself only.


    \
     
     \ /
      Last update: 2009-12-02 14:15    [W:0.021 / U:0.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site