This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 780d15ced4188a38984c656a9fca58fdd5226735 (commit)
from afef45861d081c0722fff71992d45854923c0d0f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 780d15ced4188a38984c656a9fca58fdd5226735
Author: Josep Puigdemont <josep.puigdemont(a)linaro.org>
Date: Mon Jun 4 21:35:43 2018 +0200
example/l2fw_simple: increase wait time
When using huge pages, the wrapper script that's used to run this test
will send a SIGINT signal too early to the signal, causing it to be
ignored by the application. This in turn cause the application to never
exit its main loop, which depends on handling this signal to set the
variable that terminates the loop.
Increasing the delay between starting the application and sending the
SIGINT signal fixes this issue.
This fixes https://bugs.linaro.org/show_bug.cgi?id=3879
Signed-off-by: Josep Puigdemont <josep.puigdemont(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/example/l2fwd_simple/l2fwd_simple_run.sh b/example/l2fwd_simple/l2fwd_simple_run.sh
index 10f4e6dc..18acb357 100755
--- a/example/l2fwd_simple/l2fwd_simple_run.sh
+++ b/example/l2fwd_simple/l2fwd_simple_run.sh
@@ -12,7 +12,7 @@ echo "using PCAP_IN = ${PCAP_IN}"
./odp_l2fwd_simple${EXEEXT} pcap:in=${PCAP_IN} pcap:out=pcapout.pcap \
02:00:00:00:00:01 02:00:00:00:00:02 &
-sleep 1
+sleep 2
kill -s SIGINT $!
wait $!
STATUS=$?
@@ -32,7 +32,7 @@ rm -f pcapout.pcap
./odp_l2fwd_simple${EXEEXT} null:0 null:1 \
02:00:00:00:00:01 02:00:00:00:00:02 &
-sleep 1
+sleep 2
kill -s SIGINT $!
wait $!
STATUS=$?
-----------------------------------------------------------------------
Summary of changes:
example/l2fwd_simple/l2fwd_simple_run.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via afef45861d081c0722fff71992d45854923c0d0f (commit)
from 75a996cfa0f3e2fa8530ea41ea3857eb86ab4b84 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit afef45861d081c0722fff71992d45854923c0d0f
Author: Josep Puigdemont <josep.puigdemont(a)linaro.org>
Date: Fri Jun 1 14:20:00 2018 +0200
linux-gen: ishmphy: use MAP_POPULATE in mmap
Populating pages on mapping will avoid them being
zeroed-out at run-time.
Fixes: https://bugs.linaro.org/show_bug.cgi?id=3867
Signed-off-by: Josep Puigdemont <josep.puigdemont(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-and-tested-by: Matias Elo <matias.elo(a)nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/odp_ishmphy.c b/platform/linux-generic/odp_ishmphy.c
index cc547a1c..e770b7bc 100644
--- a/platform/linux-generic/odp_ishmphy.c
+++ b/platform/linux-generic/odp_ishmphy.c
@@ -96,7 +96,7 @@ void *_odp_ishmphy_map(int fd, void *start, uint64_t size,
int flags)
{
void *mapped_addr_tmp, *mapped_addr;
- int mmap_flags = 0;
+ int mmap_flags = MAP_POPULATE;
if (flags & _ODP_ISHM_SINGLE_VA) {
if (!start) {
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_ishmphy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--