On 1/11/2016 2:43 AM, Tan, Jianfeng wrote:
[snip]
> +#include
> +#include
> +#include
> +#include
Please remove unreferenced header files.
>
> #include
> #include
> @@ -92,6 +96,9 @@
> #include
> #include
>
> +#define _GNU_SOURCE
> +#include
> +
> #include "eal_private.h"
[snip
Originally, there're two cons in using hugepage: a. needs root
privilege to touch /proc/self/pagemap, which is a premise to
alllocate physically contiguous memseg; b. possibly too many
hugepage file are created, especially used with 2M hugepage.
For virtual devices, they don't care about physical-
2 matches
Mail list logo