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 4090C45957; Tue, 10 Sep 2024 17:41:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B8F56402AB; Tue, 10 Sep 2024 17:41:57 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id 213C8402AB for ; Tue, 10 Sep 2024 17:41:56 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-205659dc63aso56813225ad.1 for ; Tue, 10 Sep 2024 08:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1725982915; x=1726587715; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=DL7Ay1zvq67574QXc9cPyjNmzZqiqTD97BPqt/hB8OY=; b=oOMzY4Erw0uEeTDkGBTOyGInkL6h2qm/UpM0qxzcipQ/G5gPE0JasO6Y+TATQbkNKV XNJjptt8m4PAhlZFgadOmESj/9QZ2fai7/Q7KVEpFODSmmzTmZoUIpuOhc41j4MCivSP k6nzI/Do6h2n/R1LbVW44rmhinXyIMGFMGZvNcQlnGrE2QaKVO18zMOujBy4IG7ELjhv gHA7vvt9RkVluPIbx/aHA7+cZyjfyj2Pv7OzoCT40LY4rxZSdoGnQGIuhZTKJCanJUtl ssL/zv06JVNUjtQBsZy34O48A5+UVEeK2TGMsyj8/HiZjOCG7srNoDsmSensDVeyUqD4 cXOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725982915; x=1726587715; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DL7Ay1zvq67574QXc9cPyjNmzZqiqTD97BPqt/hB8OY=; b=OGD8pAJKb0SQMaCws9c0BE4hWcGoStrVWc+xmWEtKQWxxmniKfQfKO6WFc3mgkE8Bl 9RRnsnYfDXIzSDyC8uLxPdGG413Z/oZWjIiRb2vqH8mfE7rWp/1vBdysOmwQHt9/WXyq vP8EhMu+JjEpj0Iq7xQPAnZkCIz7qmOxzYl/QGdKu3mziCBR0B8dCIrZLVX/aSIam0U0 VJndsl+71gQV6+J4eiH/c+r1YX4zBB0u4Fcgt3q+uZibi4Ji9WQkP6cWjXoNmg+WvdHt PRJZxFAIAetTjU6D6wp+FF+KGsE0PxY35Lh8gnbzDrYdr/8IhdBNNXqCSF4vADI/ALFZ 26Zg== X-Forwarded-Encrypted: i=1; AJvYcCXKW9JuNo+wNCkqurF1XoZvFxb3B0YPIW+gucW0E+TTdzqANsRF24/OGfGWtKes3B/8sLg=@dpdk.org X-Gm-Message-State: AOJu0Yyi6erYHnhTzevLAK4Nod+/4ZBKxKYj7grPqgYWYpa8mpsprB0m o7xUBuINN2890zMV+Vi4ecaN6tzxFWrjhg0gMfMfkPl+/wXQagGOkgXQtthqTbE= X-Google-Smtp-Source: AGHT+IHY2XV/BBWvKCkN3VFJbAyT1lK2e/IZUHnVT9aeKmohWDSpxBAFqNYLwiFJmNtmSVxiGcH6xA== X-Received: by 2002:a17:902:c406:b0:205:5f2:34cf with SMTP id d9443c01a7336-2074c64b49dmr12839635ad.24.1725982915177; Tue, 10 Sep 2024 08:41:55 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20710eeabd2sm50168545ad.138.2024.09.10.08.41.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 08:41:54 -0700 (PDT) Date: Tue, 10 Sep 2024 08:41:53 -0700 From: Stephen Hemminger To: Mattias =?UTF-8?B?UsO2bm5ibG9t?= Cc: Morten =?UTF-8?B?QnLDuHJ1cA==?= , Mattias =?UTF-8?B?UsO2bm5ibG9t?= , dev@dpdk.org, Konstantin Ananyev Subject: Re: [RFC v6 0/6] Lcore variables Message-ID: <20240910084153.6db9a950@hermes.local> In-Reply-To: <7a920372-63ce-4d98-adc0-05a5819f2c90@lysator.liu.se> References: <20240228100928.524277-2-mattias.ronnblom@ericsson.com> <20240506082721.120666-1-mattias.ronnblom@ericsson.com> <98CBD80474FA8B44BF855DF32C47DC35E9F690@smartserver.smartshare.dk> <7a920372-63ce-4d98-adc0-05a5819f2c90@lysator.liu.se> MIME-Version: 1.0 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 Tue, 10 Sep 2024 08:41:19 +0200 Mattias R=C3=B6nnblom wrote: > On 2024-09-02 16:42, Morten Br=C3=B8rup wrote: On a related note, latest GCC supports annotating the address space of variables. Kernel uses it for RCU. It would be good if DPDK could do this for: - per lcore data - data in huge pages - data protected by rcu With these annotations various checkers and compilers can warn about places where data is passed (with cast to override).