-
Naoya Horiguchi authored
This check is necessary to avoid race between dequeue and allocation, which can cause a free hugepage to be dequeued twice and get kernel unstable. Signed-off-by:
Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by:
Wu Fengguang <fengguang.wu@intel.com> Acked-by:
Mel Gorman <mel@csn.ul.ie> Reviewed-by:
Christoph Lameter <cl@linux.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com>
6de2b1aa