> >> + if (PageHWPoisonOnFree(page)) > >> + hwpoison_page_on_free(page); > > hwpoison_page_on_free() seems to be undefined when > > CONFIG_HWPOISON_ON_FREE is not defined. > > Yes, but I rely on the compiler never generating the call in this case > because > the test is zero. > > It would fail on a unoptimized build, but the kernel doesn't support > that anyways. Fair enough. Reviewed-by: Wu Fengguang <fengguang.wu@xxxxxxxxx> > Thanks for the review. :) Thanks, Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>