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@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@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-and-tested-by: Matias Elo matias.elo@nokia.com Signed-off-by: Maxim Uvarov maxim.uvarov@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