[dpdk-dev] [PATCH 21.02] eal/linux: improve no hugepages logging
David Marchand
david.marchand at redhat.com
Tue Jan 12 12:17:07 CET 2021
On Tue, Nov 10, 2020 at 4:41 PM Anatoly Burakov
<anatoly.burakov at intel.com> wrote:
>
> When no hugepages are found, we log a message about it, but we never
> specify on which node. We also implicitly declare the page size based
> on the directory name, but that's not very user friendly.
>
> Fix both by changing the text of the message to note the NUMA node (if
> applicable) and explicitly mention page size in kilobytes.
Not sure it is worth aligning but another log uses bytes.
>From my tests (after unmounting 2M hugetlbfs mountpoint):
EAL: 512 hugepages of size 2097152 reserved, but no mounted hugetlbfs
found for that size
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
The rest lgtm.
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list