On (09/12/17 11:37), Minchan Kim wrote: > + } else { > + /* skip swapcache */ > + page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, vmf->address); what if alloc_page_vma() fails? > + __SetPageLocked(page); > + __SetPageSwapBacked(page); > + set_page_private(page, entry.val); > + lru_cache_add_anon(page); > + swap_readpage(page, true); > + } -ss -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>