[PATCH v3] eal: allow worker lcore stacks to be allocated from hugepage memory
Stephen Hemminger
stephen at networkplumber.org
Mon May 16 22:28:09 CEST 2022
On Mon, 16 May 2022 15:50:04 -0400
Don Wallwork <donw at xsightlabs.com> wrote:
> +static int
> +eal_parse_huge_worker_stack(const char *arg, size_t *huge_worker_stack_size)
> +{
> + size_t worker_stack_size;
> + char *end;
> + if (arg == NULL || arg[0] == '\0') {
> + *huge_worker_stack_size = WORKER_STACK_SIZE_FROM_OS;
> + return 0;
> + }
Looks good. Minor nit if you do another version.
Please put blank line after declarations.
More information about the dev
mailing list