Cover Detail
Show a cover letter.
GET /api/covers/890/?format=api
https://patches.dpdk.org/api/covers/890/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20240425182738.4771-1-stephen@networkplumber.org/", "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": "<20240425182738.4771-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20240425182738.4771-1-stephen@networkplumber.org", "date": "2024-04-25T18:23:57", "name": "[RFC,0/4] malloc type argument cleanup (part 1)", "submitter": { "id": 27, "url": "https://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20240425182738.4771-1-stephen@networkplumber.org/mbox/", "series": [ { "id": 31824, "url": "https://patches.dpdk.org/api/series/31824/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31824", "date": "2024-04-25T18:23:57", "name": "malloc type argument cleanup (part 1)", "version": 1, "mbox": "https://patches.dpdk.org/series/31824/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/890/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 A1BDF43F09;\n\tThu, 25 Apr 2024 20:27:51 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 74B8243943;\n\tThu, 25 Apr 2024 20:27:51 +0200 (CEST)", "from mail-pf1-f180.google.com (mail-pf1-f180.google.com\n [209.85.210.180])\n by mails.dpdk.org (Postfix) with ESMTP id 816A240A67\n for <dev@dpdk.org>; Thu, 25 Apr 2024 20:27:49 +0200 (CEST)", "by mail-pf1-f180.google.com with SMTP id\n d2e1a72fcca58-6f103b541aeso1221117b3a.3\n for <dev@dpdk.org>; Thu, 25 Apr 2024 11:27:49 -0700 (PDT)", "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n d7-20020a056a00244700b006f0ba1c8ddesm4067006pfj.184.2024.04.25.11.27.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 25 Apr 2024 11:27:47 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1714069668;\n x=1714674468; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=YEtM6uCyKrGGKrs05jxd64oPn6NV+9VOQdGfugmwih4=;\n b=cO3AnVgLbDr7Cg29za/KIGmOw4clg4otaJOB+BMwRN8g1gT9l3YFiJi1uFgGfV3noe\n xDAkg50R7sHnr42F74QYNL3ixIdI4A9qyvE2oSLUi3jRrBqsPz6jfn0tW6w5v635tuM9\n BavYvYl2xYdY72C67YQc4AnUHRsXqMa3vIK+8wQbVBUMTC8FJrgsVGmwK6KlAgETfwMV\n 76G6YlCOfQEYLdOhMywgqSvOUTtYoF8GcmOYbe5wwTjOF1bax6peo+BpYUOLs3QhaBqS\n opkdW+s9JVSKcDp+BPIut2udUJTM3P6LB5kwTzEvRDDZI08jXtPWoxzAeBn/02qVw8l1\n 04aw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1714069668; x=1714674468;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=YEtM6uCyKrGGKrs05jxd64oPn6NV+9VOQdGfugmwih4=;\n b=nGXxhjStgOOt+1dtXPiLMQlNtCuaekXi6IUdkUi7ShiAgKuMwfNW6bwOje+wLVtJCt\n ZmBJ3panvktem+VgVp1P+asOZF8b0BzqDcPEPFex83OymUsfzPodJSsDNQ+ClPc5RAWv\n HclmtBzQFpBDTYf+JgNxhStbJ9MwV8eZolvwXG7CE78xmOiSAR91X/27S0UQsuqqKNey\n JuIgXaWmhD3+NAf+Aig2AypiaOER8P5/qD7rIVjCxZ7UVwBTico/pfWK7ADLCpC8ZYeO\n LCpT7nPW8FBzIIXLDTFg+ryCpunvpwgi/M6QfZAHHRLb6/AAx/hEHuPf3q++5/poBS0D\n vrdA==", "X-Gm-Message-State": "AOJu0YzTt/5HmXY7IZkfyar32HO6IWW6zlflJqDVVFO8HsIWiyXETJic\n tSNE4RqbcM08F2Wz0L2ae9Pc8ZMBwm/FWhkhnrcfm5jz0PeU/XwG0Gu/TkIXKbzgdwYy8/fF149\n /", "X-Google-Smtp-Source": "\n AGHT+IF+FbMzm8DWZhfeZr8OVV+XRSQEbLxU+aEs3mVrSfAJnv7uGwv8AZA+F8QSkBNX4EFZkWdWYQ==", "X-Received": "by 2002:a05:6a00:21c9:b0:6ec:fdcc:3cce with SMTP id\n t9-20020a056a0021c900b006ecfdcc3ccemr756618pfj.5.1714069668450;\n Thu, 25 Apr 2024 11:27:48 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Subject": "[RFC 0/4] malloc type argument cleanup (part 1)", "Date": "Thu, 25 Apr 2024 11:23:57 -0700", "Message-ID": "<20240425182738.4771-1-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.43.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "This part documents and provides script to replace the unused\ntype argument in rte_malloc. The type was intended to be a string\nbut never implemented, and if it hasn't been implemented in 10 years\nit won't be. Too invasive to completely remove it.\n\nStephen Hemminger (4):\n rte_malloc: document that type is unused\n devtools/cocci: add script to find unnecessary malloc type\n devtools/cocci: add script to find where rte_calloc should be used\n eal/malloc: remove type argument from internal malloc routines\n\n devtools/cocci/malloc-type.cocci | 27 +++++++++++++++++++\n devtools/cocci/prefer-calloc.cocci | 19 ++++++++++++++\n lib/eal/common/eal_common_memzone.c | 6 ++---\n lib/eal/common/malloc_heap.c | 39 ++++++++++++----------------\n lib/eal/common/malloc_heap.h | 7 +++--\n lib/eal/common/rte_malloc.c | 16 +++++-------\n lib/eal/include/eal_trace_internal.h | 4 +--\n lib/eal/include/rte_malloc.h | 21 +++++----------\n 8 files changed, 82 insertions(+), 57 deletions(-)\n create mode 100644 devtools/cocci/malloc-type.cocci\n create mode 100644 devtools/cocci/prefer-calloc.cocci" }{ "id": 890, "url": "