allocate_aligned_pages_node(): debug msg format

This commit is contained in:
Balazs Gerofi
2016-12-31 16:25:14 +09:00
parent 21df56b233
commit e3f0662130

View File

@@ -541,8 +541,13 @@ static void *mckernel_allocate_aligned_pages_node(int npages, int p2align,
break;
}
if (pa)
if (pa) {
return phys_to_virt(pa);
}
else {
dkprintf("%s: couldn't fulfill user policy for %d pages\n",
__FUNCTION__, npages);
}
distance_based:
node = ihk_mc_get_numa_id();