From patchwork Thu Jul 30 00:58:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 75018 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CBF25A052B; Thu, 30 Jul 2020 02:58:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D5C311C02E; Thu, 30 Jul 2020 02:58:25 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id D84481C00D for ; Thu, 30 Jul 2020 02:58:19 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id m16so12867163pls.5 for ; Wed, 29 Jul 2020 17:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pFRm7furItAeHvQLUIUdFtDjcN3CMaKG39D+OeMOgg4=; b=w4JzD/4t9Lm/zGUBEuajyQfukDkgONuj4jxjaE77TOs5SEaZdzqctJIGu9NJp8R9Hf Q/eFZUmOOdX58hoPxvoGmHp+FnU5ARn0bTtAbxUmZgLk2fCRm/A/5lR0Yja3/okL9GQX wSDk5WB/2sk8w26P3YUmvfPFFi8kCz+bMcgFeGLBIrcdbqVBqejdH2G/XzyS/hSJTuwn VOjMBB6u5rQlplPWrshIWsyKaXe3gIN16QKCWfFEVHriEme/zd9uwFDZxN6Wv2vTflSu 3ds7MILNpTwEAD0jScLz9nl2dLbAOCwMqdzP9mUAV8gzbRZb32LJH51JP4qV2MqWgypA FKFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pFRm7furItAeHvQLUIUdFtDjcN3CMaKG39D+OeMOgg4=; b=s0ajr3I7xStcIP+xB1mxZA2JLHEHR42zN2SpcMsTJmktdB13MiWXj+E+owpRw0Xa0u Lmc8AJ36mXnwHE6uBZtBk6Y3n1n7j8URRTevpYAwQc1zybayhfoapgcDwFHhRFLsIuZ5 2sRwl+Gh1TnTw/GFNBQbKXdK9P6xtbnCLK0WBs6Vl7rH/5l0qsDktiprrZxpjQLKMLtI g8Ps4T9BIyqFNfc7jRaC8gZFp/5R7hng6DuX0zn8a8mLmQv8rHvqWrS7ZYH+6s0MOtNP Ku4xda6uYSL2LyYMK+An37JmIrVINYC8JCYTfrJP6f8nn/tQxLaWgZaUCnZ0boQ4/T45 nA6Q== X-Gm-Message-State: AOAM5307gIkk7CIeqT7Yql0mvnfSZ+yxDPtqI8hzcBLOIkW27Elzw7cq IIcmTRR+swA/gG1A0TCwUCmKnKCiG+1HpA== X-Google-Smtp-Source: ABdhPJwn7S3cFjil9s6t5G/JJuiobCOXxF/Rf29/nptOG7g/DqIBpWlSiKtykaPrGtTtarbZ1kJ+kw== X-Received: by 2002:a17:90b:4286:: with SMTP id ik6mr7026666pjb.130.1596070698570; Wed, 29 Jul 2020 17:58:18 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id s4sm3630423pfh.128.2020.07.29.17.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 17:58:17 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov Date: Wed, 29 Jul 2020 17:58:01 -0700 Message-Id: <20200730005804.19251-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200730005804.19251-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200730005804.19251-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 20.08 3/6] doc: fix incorrect reference to master process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Correct terminolgy here is primary process. This is a bug in original doc. Fixes: fc1f2750a3ec ("doc: programmers guide") Signed-off-by: Stephen Hemminger Acked-by: Anatoly Burakov --- doc/guides/prog_guide/thread_safety_dpdk_functions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/prog_guide/thread_safety_dpdk_functions.rst b/doc/guides/prog_guide/thread_safety_dpdk_functions.rst index 0f539db2b869..5618e25e47fb 100644 --- a/doc/guides/prog_guide/thread_safety_dpdk_functions.rst +++ b/doc/guides/prog_guide/thread_safety_dpdk_functions.rst @@ -61,8 +61,8 @@ rather than subsequently in the forwarding threads. However, the DPDK performs checks to ensure that libraries are only initialized once. If initialization is attempted more than once, an error is returned. -In the multi-process case, the configuration information of shared memory will only be initialized by the master process. -Thereafter, both master and secondary processes can allocate/release any objects of memory that finally rely on rte_malloc or memzones. +In the multi-process case, the configuration information of shared memory will only be initialized by the primary process. +Thereafter, both primary and secondary processes can allocate/release any objects of memory that finally rely on rte_malloc or memzones. Interrupt Thread ----------------