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    [from the cache]
©2003-2011 Jasper Spaans