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 9E7044548E; Tue, 18 Jun 2024 16:45:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E782240DD8; Tue, 18 Jun 2024 16:45:18 +0200 (CEST) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id C06B9402B4 for ; Tue, 18 Jun 2024 16:45:17 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1f4c7b022f8so48616115ad.1 for ; Tue, 18 Jun 2024 07:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1718721917; x=1719326717; 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=/PfwpMmlJ1b/RlE71KPVkI3+KZ+3+eXRLVAmDzg14Rw=; b=j4ee4PRt7On27u9f72kgVbwoBbnIUJYvfD1b77htW9nRsVERuMclc53CKCT4/ApkXL c7AlymcmNmcHk8H3LB3ryfE9wdZGabJwAE40z4nY3NUho+DXWIqQE84Rfpn2JoLTwtUR DhKl/T3pd8KDDJ5wkAtod1J4NjZef0WIeowfHebGhzyhv60D8bRx9PPHk1aqwrbtMsu0 F3ccBPveIZShxTdYIOyxrqOWpS4/GFOmYGj1HOLb+bqarfYTmWoKwly0FUm+aRIk1Tsi R5CjHXjRjNM2V8OAuu6aUzXZ8iDAN85hXw15hPtYNJIKFjhLZNd86BxfkX3rYphmsBua UruQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718721917; x=1719326717; 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=/PfwpMmlJ1b/RlE71KPVkI3+KZ+3+eXRLVAmDzg14Rw=; b=Ykwih0HrYfU6CeEio/w5QmkQXQOiidPi0ATnJO+z/N4XDyv1mWn6J3eAt27EXtRpXg 4sde/I4+mAdRNd3nt5Cwt+hEx4X0W3T0siJcS9pCWdWBmgr9mTlJ1/2lEMEZg5jSSHS2 utdKYPJNEF+HbvI1cw7OsvnxFFUNcT+gs56JxqgOZG1tPiaFjc6vyR6TXoOqc+uJp40n ij72HPfCImmaV5cOvKMiq/+tmuPMjIFfpa8oDRc6cs5RHALACzVAy2MQhSr/sr4ABE2Q BmwAjPhowcns1fY/SaUaNZR40WWbZ5OWYKBqol5wJp02t2BMehH94vq3aFpjBp/t1iVw y/iA== X-Gm-Message-State: AOJu0YxBX/+L8B5yIbr6D+2V4Z6Mb6r4Gv0+iynxHqXd6p98MQJ3U/zz /+gS5UB6is/he1Fj9uPq+rFlb4NPwIq8ZnuvLHGL5sZ+nr1GDxXt+ez9iz0tPRn/l2QbBa7edpy h X-Google-Smtp-Source: AGHT+IFYZrWb5NB6YdCMV0f65/CYy4hHuPSJHataGRKxow9CeM8qqXGgcBOJvRg2y5pAGZAs/IUhBA== X-Received: by 2002:a17:903:230b:b0:1f7:1f4d:6ede with SMTP id d9443c01a7336-1f8627f0d53mr168995345ad.39.1718721916675; Tue, 18 Jun 2024 07:45:16 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f855e72483sm98589905ad.96.2024.06.18.07.45.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 07:45:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 0/2] malloc type cleanups Date: Tue, 18 Jun 2024 07:44:14 -0700 Message-ID: <20240618144507.73770-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 (2): rte_malloc: document that type is for tracing eal: remove type argument from internal routines v3 - drop event/sw patch (already fixed) 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 | 27 ++++++++++---------- 5 files changed, 35 insertions(+), 46 deletions(-) -- 2.43.0