Cover Detail
Show a cover letter.
GET /api/covers/96072/?format=api
http://patchwork.dpdk.org/api/covers/96072/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20210720035125.14214-1-joyce.kong@arm.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20210720035125.14214-1-joyce.kong@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210720035125.14214-1-joyce.kong@arm.com", "date": "2021-07-20T03:51:17", "name": "[v3,0/8] use compiler atomic builtins for test", "submitter": { "id": 970, "url": "http://patchwork.dpdk.org/api/people/970/?format=api", "name": "Joyce Kong", "email": "joyce.kong@arm.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20210720035125.14214-1-joyce.kong@arm.com/mbox/", "series": [ { "id": 17901, "url": "http://patchwork.dpdk.org/api/series/17901/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17901", "date": "2021-07-20T03:51:17", "name": "use compiler atomic builtins for test", "version": 3, "mbox": "http://patchwork.dpdk.org/series/17901/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/96072/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0EFCFA0C43;\n\tTue, 20 Jul 2021 05:52:01 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8BEAF4068B;\n\tTue, 20 Jul 2021 05:52:00 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id 5933A4003F\n for <dev@dpdk.org>; Tue, 20 Jul 2021 05:51:59 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 874791FB;\n Mon, 19 Jul 2021 20:51:58 -0700 (PDT)", "from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com\n [10.169.208.222])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2E06A3F694;\n Mon, 19 Jul 2021 20:51:54 -0700 (PDT)" ], "From": "Joyce Kong <joyce.kong@arm.com>", "To": "thomas@monjalon.net, david.marchand@redhat.com,\n roretzla@linux.microsoft.com, stephen@networkplumber.org,\n olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru,\n harry.van.haaren@intel.com, honnappa.nagarahalli@arm.com,\n ruifeng.wang@arm.com", "Cc": "dev@dpdk.org,\n\tnd@arm.com", "Date": "Mon, 19 Jul 2021 22:51:17 -0500", "Message-Id": "<20210720035125.14214-1-joyce.kong@arm.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210616025459.22717-1-joyce.kong@arm.com>", "References": "<20210616025459.22717-1-joyce.kong@arm.com>", "Subject": "[dpdk-dev] [PATCH v3 0/8] use compiler atomic builtins for test", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Since atomic operations have been adopted in DPDK now[1], change\nrte_atomicNN_xxx APIs to compiler's atomic built-ins in test cases.\n\n[1] https://www.dpdk.org/blog/2021/03/26/dpdk-adopts-the-c11-memory-model/\n\nv3:\n Change 'GCC atomic builtins' to 'compiler atomic builtins'\n as clang adopted the same syntax as GCC.<Thomas Monjalon>\n\nv2:\n Use rte_wait_until_equal() instead of original sync loops.\n <David Marchand>\n\nv1:\n The initial version.\n\nJoyce Kong (8):\n test/ticketlock: use compiler atomics for lcores sync\n test/spinlock: use compile atomics for lcores sync\n test/rwlock: use compiler atomics for lcores sync\n test/mcslock: use compiler atomics for lcores sync\n test/mempool: remove unused variable for lcores sync\n test/mempool_perf: use compiler atomics for lcores sync\n test/service_cores: use compiler atomics for lock sync\n test/rcu: use compiler atomics for data sync\n\n app/test/test_mcslock.c | 14 +++--\n app/test/test_mempool.c | 5 --\n app/test/test_mempool_perf.c | 11 ++--\n app/test/test_rcu_qsbr_perf.c | 98 +++++++++++++++++------------------\n app/test/test_rwlock.c | 10 ++--\n app/test/test_service_cores.c | 36 +++++++------\n app/test/test_spinlock.c | 9 ++--\n app/test/test_ticketlock.c | 10 ++--\n 8 files changed, 91 insertions(+), 102 deletions(-)" }{ "id": 96072, "url": "