Hi Xishi, On Fri, Dec 14, 2012 at 11:06:56AM +0800, Xishi Qiu wrote: > On 2012/12/14 7:01, Naoya Horiguchi wrote: ... > > + ret = get_any_page(page, pfn, flags); > > + if (ret < 0) > > + return ret; > > + if (ret) { /* for in-use pages */ > > + if (PageHuge(page)) > > + soft_offline_huge_page(page, flags); > > ret = soft_offline_huge_page(page, flags); > > > + else > > + __soft_offline_page(page, flags); > > ret = __soft_offline_page(page, flags); right? Ah, you're right, Thanks! Naoya -- 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>