Tonghao Zhang 5cf3814d9b memzone: check NUMA id when reserving a zone
If the socket_id is invalid (e.g. -2, -3), the
memzone_reserve_aligned_thread_unsafe should return the
EINVAL and not ENOMEM. To avoid it, we should check the
socket_id before calling malloc_heap_alloc.

Signed-off-by: Tonghao Zhang <nic@opencloud.tech>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2017-06-05 18:23:34 +02:00
..
2017-05-05 14:38:35 +02:00
2017-05-05 14:38:17 +02:00
2017-04-21 02:15:29 +02:00
2017-04-21 01:29:21 +02:00
2017-04-05 23:03:23 +02:00