On Tue, Oct 12, 2021 at 6:06 PM John Levon <john.le...@nutanix.com> wrote:
>
> get_hugepage_dir() was implemented in such a way that a --huge-dir
> option had to exactly match the mountpoint, but there's no reason for
> this restriction: DPDK might not be the only user of hugepages, and
> shouldn't assume it owns an entire mountpoint. For example, if I have
> /dev/hugepages/myapp, and /dev/hugepages/dpdk, I should be able to
> specify:
>
> --huge-dir=/dev/hugepages/dpdk/
>
> and have DPDK only use that sub-directory.
>
> Fix the implementation to allow a sub-directory within a suitable
> hugetlbfs mountpoint to be specified, preferring the closest match.
>
> Signed-off-by: John Levon <john.le...@nutanix.com>
> Acked-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com>
Reviewed-by: David Marchand <david.march...@redhat.com>

Applied, thanks.


> diff --git a/doc/guides/rel_notes/release_21_11.rst 
> b/doc/guides/rel_notes/release_21_11.rst
> index 54718ff367..9fe689356b 100644
> --- a/doc/guides/rel_notes/release_21_11.rst
> +++ b/doc/guides/rel_notes/release_21_11.rst
> @@ -154,7 +159,6 @@ New Features
>    * Added tests to verify tunnel header verification in IPsec inbound.
>    * Added tests to verify inner checksum.
>
> -

Restored this empty line: sections in doc are separated with two empty lines.

>  Removed Items
>  -------------
>

-- 
David Marchand

Reply via email to