Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/10423/?format=api
https://patches.dpdk.org/api/patches/10423/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1454797033-24057-6-git-send-email-thomas.monjalon@6wind.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": "<1454797033-24057-6-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1454797033-24057-6-git-send-email-thomas.monjalon@6wind.com", "date": "2016-02-06T22:17:13", "name": "[dpdk-dev,v2,5/5] eal: remove compiler optimization workaround", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7449594f669384c447b326bfc16efd30eb902d79", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.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/1454797033-24057-6-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/10423/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/10423/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 8DD25B3D6;\n\tSat, 6 Feb 2016 23:18:46 +0100 (CET)", "from mail-wm0-f42.google.com (mail-wm0-f42.google.com\n\t[74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 059A93237\n\tfor <dev@dpdk.org>; Sat, 6 Feb 2016 23:18:43 +0100 (CET)", "by mail-wm0-f42.google.com with SMTP id r129so69597441wmr.0\n\tfor <dev@dpdk.org>; Sat, 06 Feb 2016 14:18:43 -0800 (PST)", "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by smtp.gmail.com with ESMTPSA id\n\te9sm22167710wja.25.2016.02.06.14.18.41\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tSat, 06 Feb 2016 14:18:42 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=uFKPrx3sQsl1+eXaJGQUC/kX1WsEO3DYdHNuO32UpkQ=;\n\tb=IwW8JPhDVed72Fx9lvpVRJfec29MUjW/hX+7ID2AEIt9ikEQmycAdrk7sQP1jw87/X\n\t9uAjRTtU4QRszO2eCgVpeV0jvqbQ4F0vq90ZJkccggOaTDhAeA4Cmm8xBDy3rzdJWdBv\n\tF1P1cpaaxxC2gSexeNC9u3Ud17IHjD+/hFJCBsitnw9TpU4EzJ7750hoM5qvZ+pyWQl8\n\tAAy77Gqn8qk/MLfnFqh+bAYaMQq6VkuKQahdCbZdCrmL8x5D9VBDj9UWbYsMksvNVd6P\n\tasxTbXVMCmjtfEQWC8wOGaMAoEIrCE0wJ3NQecEhO4mA+7EmMZaR/8z/vXNADnJUFduj\n\tiOfw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=uFKPrx3sQsl1+eXaJGQUC/kX1WsEO3DYdHNuO32UpkQ=;\n\tb=YWxUuXxGhDc6mnj/IGF90kwLar1O0W0+3MEXT+Xm1x4R2uhDlEzU3DIkNnIL/dNMCa\n\teCtau3NxMtyCMVAQ3YJfpfxT398RkR+ONEUC8aHKG+wXSylPW655KNU9NVE2O1bpuqPJ\n\tDG7hfby/46PDmm2kS9opb5zKGXMudwkT+WutDbrBKajvGy7UZLL8XPdzVoBj26cMaVqb\n\tzxzLEjJLMWN9yZm8XkAK+KKCZK+fCvAsR+ZMvc01jGrCYlxyeOuJmoSnOC3Lagh1atXZ\n\t4gPssv6aKYYAaoazmOleQD3XMX24MYtT1wD/hSGSEfSnoYj+cN5HRuASX1V4XDjrqR5K\n\tkClw==", "X-Gm-Message-State": "AG10YOTZbonQ4NBYeM+EpEBtrfrozOCE86B5qNpDkamUOU+EfyufIZHlV3Bli4sXge9ZvDEs", "X-Received": "by 10.194.185.199 with SMTP id fe7mr9944631wjc.50.1454797122912; \n\tSat, 06 Feb 2016 14:18:42 -0800 (PST)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "david.marchand@6wind.com,\n\tferruh.yigit@intel.com", "Date": "Sat, 6 Feb 2016 23:17:13 +0100", "Message-Id": "<1454797033-24057-6-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.7.0", "In-Reply-To": "<1454797033-24057-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1454453993-3903-1-git-send-email-thomas.monjalon@6wind.com>\n\t<1454797033-24057-1-git-send-email-thomas.monjalon@6wind.com>", "Cc": "dev@dpdk.org, viktorin@rehivetech.com", "Subject": "[dpdk-dev] [PATCH v2 5/5] eal: remove compiler optimization\n\tworkaround", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/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 compiler optimization was disabled a long time ago\nwithout describing what was the exact issue.\nMaybe it does not apply anymore.\nAs it looks unneeded, let's remove this strange pragma.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_eal/common/eal_common_cpuflags.c | 13 -------------\n 1 file changed, 13 deletions(-)", "diff": "diff --git a/lib/librte_eal/common/eal_common_cpuflags.c b/lib/librte_eal/common/eal_common_cpuflags.c\nindex a4c5a29..ecb1240 100644\n--- a/lib/librte_eal/common/eal_common_cpuflags.c\n+++ b/lib/librte_eal/common/eal_common_cpuflags.c\n@@ -36,19 +36,6 @@\n #include <rte_common.h>\n #include <rte_cpuflags.h>\n \n-/*\n- * This should prevent use of advanced instruction sets in this file. Otherwise\n- * the check function itself could cause a crash.\n- */\n-#ifdef __INTEL_COMPILER\n-#pragma optimize (\"\", off)\n-#else\n-#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\n-#if GCC_VERSION > 404000\n-#pragma GCC optimize (\"O0\")\n-#endif\n-#endif\n-\n /**\n * Checks if the machine is adequate for running the binary. If it is not, the\n * program exits with status 1.\n", "prefixes": [ "dpdk-dev", "v2", "5/5" ] }{ "id": 10423, "url": "