patch 'mem: update comment on virtual area reservation' has been queued to stable release 24.11.7

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Jun 11 15:20:32 CEST 2026


Hi,

FYI, your patch has been queued to stable release 24.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/13/26. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/2e02ec56c93bc40eea48174e4d25560206f1058f

Thanks.

Luca Boccassi

---
>From 2e02ec56c93bc40eea48174e4d25560206f1058f Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel at telka.sk>
Date: Fri, 19 Dec 2025 20:15:54 +0100
Subject: [PATCH] mem: update comment on virtual area reservation

[ upstream commit 83e04ed708b6f3c8aaf775d5d29f0c2811a73a67 ]

The mmap-ing of *size bytes in /dev/zero has been removed,
but the comment was not updated accordingly.

Bugzilla ID: 1853
Fixes: b7cc54187ea4 ("mem: move virtual area function in common directory")

Signed-off-by: Marcel Telka <marcel at telka.sk>
---
 .mailmap                           | 1 +
 lib/eal/common/eal_common_memory.c | 9 ++++-----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.mailmap b/.mailmap
index 2c1932d9d7..4a0b27a594 100644
--- a/.mailmap
+++ b/.mailmap
@@ -954,6 +954,7 @@ Mao Jiang <maox.jiang at intel.com>
 Marat Khalili <marat.khalili at huawei.com>
 Marcel Apfelbaum <marcel at redhat.com>
 Marcel Cornu <marcel.d.cornu at intel.com>
+Marcel Telka <marcel at telka.sk>
 Marcelo Ricardo Leitner <marcelo.leitner at gmail.com>
 Marcin Baran <marcinx.baran at intel.com>
 Marcin Danilewicz <marcinx.danilewicz at intel.com>
diff --git a/lib/eal/common/eal_common_memory.c b/lib/eal/common/eal_common_memory.c
index 0c997201bd..cf2ad2e3aa 100644
--- a/lib/eal/common/eal_common_memory.c
+++ b/lib/eal/common/eal_common_memory.c
@@ -30,11 +30,10 @@
 #include "malloc_heap.h"
 
 /*
- * Try to mmap *size bytes in /dev/zero. If it is successful, return the
- * pointer to the mmap'd area and keep *size unmodified. Else, retry
- * with a smaller zone: decrease *size by hugepage_sz until it reaches
- * 0. In this case, return NULL. Note: this function returns an address
- * which is a multiple of hugepage size.
+ * Try to mmap *size bytes. If it is successful, return the pointer to the
+ * mmap'd area and keep *size unmodified. Else, retry with a smaller zone:
+ * decrease *size by page_sz until it reaches 0. In this case, return NULL.
+ * Note: this function returns an address which is a multiple of page size.
  */
 
 #define MEMSEG_LIST_FMT "memseg-%" PRIu64 "k-%i-%i"
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-06-11 14:20:04.594965861 +0100
+++ 0083-mem-update-comment-on-virtual-area-reservation.patch	2026-06-11 14:20:01.318748510 +0100
@@ -1 +1 @@
-From 83e04ed708b6f3c8aaf775d5d29f0c2811a73a67 Mon Sep 17 00:00:00 2001
+From 2e02ec56c93bc40eea48174e4d25560206f1058f Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 83e04ed708b6f3c8aaf775d5d29f0c2811a73a67 ]
+
@@ -19 +21 @@
-index de9b6fead8..af7156cd7b 100644
+index 2c1932d9d7..4a0b27a594 100644
@@ -22,2 +24,2 @@
-@@ -998,6 +998,7 @@ Marat Khalili <marat.khalili at huawei.com>
- Marc Sune <marcdevel at gmail.com> <marc.sune at bisdn.de>
+@@ -954,6 +954,7 @@ Mao Jiang <maox.jiang at intel.com>
+ Marat Khalili <marat.khalili at huawei.com>
@@ -31 +33 @@
-index e7d534ed75..91724d0732 100644
+index 0c997201bd..cf2ad2e3aa 100644
@@ -34 +36 @@
-@@ -33,11 +33,10 @@
+@@ -30,11 +30,10 @@


More information about the stable mailing list