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

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Nov 17 11:10:18 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 DEBUG log that told users hugepages of a given size would be allocated anonymously in in-memory mode is dropped. It was useful when diagnosing memory setup, and now the in-memory path logs nothing per page size. Consider keeping it in the new block:

```c
	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 relocated comment uses a form that does not match DPDK multi-line comment style. It starts text on the opening line and is not written as sentences:

```c
	/* if we have kernel support for reserving hugepages
```

Since the block is being moved anyway, consider reformatting it as:

```c
	/*
	 * If we have kernel support ...
	 */
```

Review-Result: CLEAN


More information about the test-report mailing list