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 05C6F43A3C; Thu, 1 Feb 2024 16:36:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4A9742E11; Thu, 1 Feb 2024 16:36:44 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 2DBF942D3F for ; Thu, 1 Feb 2024 16:36:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706801802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wrXMXANbBVlCJJHyWRzFCH8gOdQXg2zbLwqVdURYBTY=; b=GVGYiNO3+T9Zkj7p1nd+VdxrI+Tapb3WAxVsgm+kjEeVxqas0UaS1EeGVHpP1rz+KBPlWJ xN+MbVS2vKWRa5d5bh6uo5XMmwlKrpdx3E/8y8iZNixrmgGjya1cOmW8YxjY0CWCXROCBg kOfon/k23GkzaV5emdKmhJ0qslVz3Gc= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-519-r4yYQv27OL-IK524sH3wvw-1; Thu, 01 Feb 2024 10:36:41 -0500 X-MC-Unique: r4yYQv27OL-IK524sH3wvw-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2cf57664fc2so9703121fa.0 for ; Thu, 01 Feb 2024 07:36:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706801799; x=1707406599; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wrXMXANbBVlCJJHyWRzFCH8gOdQXg2zbLwqVdURYBTY=; b=K3XJkdq9AOH38/jFVR4lFqpSaAk3Z90aMctSUbRogibX8r4uc2QiUFsxBdQE1dvhq8 HMAKQoqNPoJoQ3k1/hKGr+kWmpLvzsvKZaQ5YDx0C5Z8J0esiafFF1e9tzBdRdhu5NNc mUPJKzoYX3Vc5siI2xCYWczpmpVVNoIgoBQUuP6GFUNT0aSAc+0alq4jkAc0FjBF0IAX grRKhnwoNflpvGhIwplYSaCTgvKbawEjdRdOK5TiC7+OZEsvM9qk+MRjM1v7UlvhNML9 Ih0KhhZkJnkz0sbBfP5xmcHWYcap5ZHC32eO6eZ+lG4yVWAPO+ykSQq7P/uBAIVkxM3K aEYQ== X-Gm-Message-State: AOJu0Yy1Werw5zaQFNOw6vpHX3y6zaY5hkSVfr+fCyU0aLDUJW3mBzwf nFme90m6mec6E3aFhGSW9r8bVyOiA8hs+V6DB1+V9w61loGOSYrEzqGa7fu7NRF+J2znekdgB6z wTg+3jOj3w+jjtOqs6XBKjDL0IUJ+OXrT9J4/Sjvpo5a9zGh3gZwBNLEp/wIDjCVecELJtoY6N/ EdFYcNWiFQTXsaZv8= X-Received: by 2002:a2e:b994:0:b0:2cd:20dd:568a with SMTP id p20-20020a2eb994000000b002cd20dd568amr3759470ljp.34.1706801799657; Thu, 01 Feb 2024 07:36:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLEeynnxxXJfFIPW2KPpzRVOusifbqBIpn5qhMywB/hY2wlAXMKWkbgz8rPodXAtFbNgypO6qkEFN6klGIuu8= X-Received: by 2002:a2e:b994:0:b0:2cd:20dd:568a with SMTP id p20-20020a2eb994000000b002cd20dd568amr3759457ljp.34.1706801799355; Thu, 01 Feb 2024 07:36:39 -0800 (PST) MIME-Version: 1.0 References: <20231027080048.251483-1-david.marchand@redhat.com> In-Reply-To: <20231027080048.251483-1-david.marchand@redhat.com> From: David Marchand Date: Thu, 1 Feb 2024 16:36:27 +0100 Message-ID: Subject: Re: [PATCH] mem: explicitly initialise shared locks To: David Marchand Cc: dev@dpdk.org, Thomas Monjalon , Chengwen Feng X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, Oct 27, 2023 at 10:01=E2=80=AFAM David Marchand wrote: > > Locks in the DPDK shared memory were not initialised so far. > This is not really a problem as the early_mem_config structure is stored > in the bss section (and so set to 0 by default). > Yet, for consistency, explicitly initialise those locks with relevant > initialiser macros. > > Suggested-by: Thomas Monjalon > Signed-off-by: David Marchand > Acked-by: Chengwen Feng Applied, thanks. --=20 David Marchand