Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/53299/?format=api
https://patches.dpdk.org/api/patches/53299/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com", "date": "2019-05-06T21:03:51", "name": "test: call timer subsystem finalize at exit", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7124537383a11a504aad717e721a3eefcc993b8c", "submitter": { "id": 762, "url": "https://patches.dpdk.org/api/people/762/?format=api", "name": "Carrillo, Erik G", "email": "erik.g.carrillo@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com/mbox/", "series": [ { "id": 4581, "url": "https://patches.dpdk.org/api/series/4581/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=4581", "date": "2019-05-06T21:03:51", "name": "test: call timer subsystem finalize at exit", "version": 1, "mbox": "https://patches.dpdk.org/series/4581/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/53299/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/53299/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 87981374C;\n\tMon, 6 May 2019 23:05:26 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id DA80E343C\n\tfor <dev@dpdk.org>; Mon, 6 May 2019 23:05:24 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 May 2019 14:05:23 -0700", "from txasoft-yocto.an.intel.com ([10.123.72.192])\n\tby orsmga001.jf.intel.com with ESMTP; 06 May 2019 14:05:23 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.60,439,1549958400\"; d=\"scan'208\";a=\"230095144\"", "From": "Erik Gabriel Carrillo <erik.g.carrillo@intel.com>", "To": "rsanford@akamai.com,\n\tthomas@monjalon.net", "Cc": "dev@dpdk.org", "Date": "Mon, 6 May 2019 16:03:51 -0500", "Message-Id": "<1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com>", "X-Mailer": "git-send-email 1.7.10", "Subject": "[dpdk-dev] [PATCH] test: call timer subsystem finalize at exit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The eal_flags_autotest checks that no hugepage map files are left behind\nafter a process exits, which can only be the case if all allocations made\nfrom DPDK heaps were freed back to the freelist, resulting in the\nhugepage map files being unlinked automatically. Add a call to\nrte_timer_subsystem_finalize() at application exit time to release\nallocations now made by the timer library.\n\nFixes: c0749f7096c7 (\"timer: allow management in shared memory\")\n\nSigned-off-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>\n---\n app/test/test.c | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/app/test/test.c b/app/test/test.c\nindex fbe4464..ea1e98f 100644\n--- a/app/test/test.c\n+++ b/app/test/test.c\n@@ -187,6 +187,9 @@ main(int argc, char **argv)\n \tret = 0;\n \n out:\n+#ifdef RTE_LIBRTE_TIMER\n+\trte_timer_subsystem_finalize();\n+#endif\n \trte_eal_cleanup();\n \treturn ret;\n }\n", "prefixes": [] }{ "id": 53299, "url": "