From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41B3D45463; Sat, 15 Jun 2024 18:02:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16410402C3; Sat, 15 Jun 2024 18:02:28 +0200 (CEST) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 0554E402BC for ; Sat, 15 Jun 2024 18:02:26 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-7042882e741so2621523b3a.2 for ; Sat, 15 Jun 2024 09:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1718467346; x=1719072146; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m69CznYsfX88s0FirnasEjxVciyJioFtOmPnO28tOp4=; b=p4eGmeFvJyHCTvpa6HMGQJI6MbOrmGWFsWHmE0/2YDRzfqCJLzXVeFLtCojUAM0WmB Y+X0vo8DmgWv55nu1RuLiof69UV3qT+ov5xMFlOz8Jca+sRxyLdStn4LTD0mUvq8d5mh 8Ul832wQzSD9uqcpNgpb7vDLlEysTZgm24O8QSarot8jNbQ2Ciw0t+8qcZEuYBPG+hp8 4/wvEaq72M922Hi5/QGfPlWrwgLMJiU0yNTrvSoTUPTdytVpCj/vl3knTLK2egPTI3+N Np22Fmqcznq+8JmgYEw1Fw28YflsLW+1yMHWwdomr8WlCV6kxI/fT4+X5a8Hdtfgikba hFzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718467346; x=1719072146; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m69CznYsfX88s0FirnasEjxVciyJioFtOmPnO28tOp4=; b=S5EKqrpR5Tlv8bD04WZH+6XRr+3KpSDjrkckf+y1R3h6HZahLnMe38Wdod8kRkK968 C1ipneNQFGwtcjtg4e8NI44dF3nHkqCi2yOtDQzINEJI2feOxHuO5F8XQ72L5cBZzTjW 8Wjb0IT/thew9eSe5rCX/VwrG6BG123DQ7eHD6s177yX1d5Yp1BPDdJrBShbOhP4xBL/ YHgm94mMMYJGlKGvyYoBUj4CGAVamYVZJWeixbQROtwkBX4uG5wriOVAGutv3Tp9HYUY xNC8FtA9ldyP2jLrlNe7Thl2tHGWxsCoMmMfnW1Vp72/if0o5Wq+SJbfVb3jEgbq3n9q wzkw== X-Gm-Message-State: AOJu0YyZSxijdCZCtF/Fa/s0xpt4c3KY0cQG0K7T3aj15I2h3kRl40Ok ArcdFOfurtxV6k8CIoXBVC+aeybeEWa+kytRJ4JnCdn/YbfJRkyqgkrAD4ZYqEZN7+Qd9X6k9DT 9 X-Google-Smtp-Source: AGHT+IGnts53hBLOPkNnGOmSdTGGZMAhT5PjTL0jpqiJzeT73B6SRFCF7wvjy+Vn4KM4XkJmFvV5TA== X-Received: by 2002:a05:6a21:4603:b0:1b5:9670:33f2 with SMTP id adf61e73a8af0-1bae8241f1cmr6345504637.39.1718467345724; Sat, 15 Jun 2024 09:02:25 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f855f043f1sm50264675ad.204.2024.06.15.09.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 09:02:25 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/3] malloc related cleanups Date: Sat, 15 Jun 2024 09:00:11 -0700 Message-ID: <20240615160215.117401-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240425182738.4771-1-stephen@networkplumber.org> References: <20240425182738.4771-1-stephen@networkplumber.org> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The type parameter for malloc is only used for tracing. Fix documentation and don't pass through heap routines. Stephen Hemminger (3): rte_malloc: document that type is for tracing eal: remove type argument from internal routines event/sw: avoid snprintf truncation v2 - keep usage for tracing - combine event malloc type patch drivers/event/sw/iq_chunk.h | 2 -- drivers/event/sw/sw_evdev.c | 2 +- lib/eal/common/eal_common_memzone.c | 6 ++--- lib/eal/common/malloc_heap.c | 39 ++++++++++++----------------- lib/eal/common/malloc_heap.h | 7 +++--- lib/eal/common/rte_malloc.c | 2 +- lib/eal/include/rte_malloc.h | 24 +++++++++--------- 7 files changed, 35 insertions(+), 47 deletions(-) -- 2.43.0