|SUCCESS| eal/linux: skip hugetlbfs locking for in-memory

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Nov 17 10:47:50 CET 2026


Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172949

_AI Code Review_

=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-17

Info

1. The patch drops the debug message that said in-memory mode would allocate this page size anonymously:

       EAL_LOG(DEBUG, "In-memory mode enabled, "
               "hugepages of size %" PRIu64 " bytes "
               "will be allocated anonymously",
               hpi->hugepage_sz);

   This line is useful when diagnosing hugepage setup. Since the new early-continue block now covers every in-memory case, the message could be kept there:

       if (internal_conf->in_memory) {
               EAL_LOG(DEBUG, "In-memory mode enabled, hugepages of size %" PRIu64
                       " bytes will be allocated anonymously",
                       hpi->hugepage_sz);
               calc_num_pages(hpi, dirent, 0);
               num_sizes++;
               continue;
       }

2. The moved comment uses the non-standard multi-line form, with text on the opening `/*` line and lowercase sentence starts:

       /* if we have kernel support for reserving hugepages

   Since the block is being rewritten anyway, it could use the DPDK multi-line comment style, starting with a bare `/*` line and written as full sentences.

Review-Result: CLEAN


More information about the test-report mailing list