allocate_aligned_pages(): take user set NUMA policy into account

This commit is contained in:
Balazs Gerofi
2016-12-13 17:51:39 +09:00
parent 7ace35d737
commit df9f1f8f78
3 changed files with 96 additions and 18 deletions

View File

@@ -18,7 +18,7 @@
/* XXX: Physical memory management shouldn't be part of IHK */
struct node_distance {
int node;
int id;
int distance;
};