Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1131393lqd; Thu, 25 Apr 2024 06:59:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+pe5sFY6XvTl3hl4e2pKcZ+IfCHDsX8yv+T87l7J1RmAG19cpFVy46x7pQRFBe3/zUpmACnNB/0OkcAVse0JajytD0xoKNJxRrTVjaw== X-Google-Smtp-Source: AGHT+IFOXhqZ0AAKDZVYP502ZowMbD9VmdaCnW0jYqHLSTiOsKVBUaB+c1oY6MoSy+rUkaQdV+3W X-Received: by 2002:a05:620a:22c2:b0:790:7345:2791 with SMTP id o2-20020a05620a22c200b0079073452791mr6169903qki.56.1714053574156; Thu, 25 Apr 2024 06:59:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714053574; cv=pass; d=google.com; s=arc-20160816; b=azf7ur6P+koVZN2obMF/+ze/faigxLHxWQv1Dtdh0Cc9J7kTVj1/Pji49WuG+8xWOf 0ZHcuy2P/N/g/e5wrXRv4Uz8q2m5wxr2T/gYqM1xMBeXCxgOnx+kokIDHrmMxVqNbJm+ D7gPyBdZCTxA6KvJiOy4m1A+78yI/QPOF6FxrS5Mbm++hkXRyQbzqRJD29NOTLFw487A ivqDAMXDqLwIjk0VhRPyILdx1o98/Ovk944dW1t0JcW7xX2lqqxaz4COaWR4r8/lDtEd rIHHE29TtRgBMy4RGSC6IdHO7qSew/ku2qPsddGP5WysL7xTSRfsK0LAjB62O9DsZQKR TAQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=sd4b23UrfaY/nkpRlrOeiPcidhIWTzigh4LS7u31+dc=; fh=Cxwo/A+C89tjOzVq8R/o/DH+l+P6Lpt8VwbqwppZI0Y=; b=QVHQ62Zbhx5QrWCp4rlGI2FaDL9t5JKQdL7/lr0UncypFKiXDHWcEUsOFlUPQRjPbV DBXxpgkAMMURlR/U24joEONHk4LIxLLWzt16Zpb8AFhaVndRhygkN2d0kmSSzavAlvAG zr45dWgyneIQhawLk/0ahPuW7BwgFCE+c+MZefspOpg7XCKhB2J257n0tr0sbjzcuqR4 9ig4Kk7nb/CJBxZfDi7GjF+GTmkkTg6Ohj5PjHv45byFn3Hwn3GRdI30jaZG4hBQgn9S pRNHLay0GKaAyEq+w38ktrRJgXCKuLm81yS9N1nwXg+7ly/uObslNaazl8Lm3JFZ4Xxw sOfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=inzWYlpf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bk21-20020a05620a1a1500b0079098c239dfsi2166098qkb.385.2024.04.25.06.59.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 06:59:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=inzWYlpf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158637-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DA3271C21115 for ; Thu, 25 Apr 2024 13:59:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDE95149DF9; Thu, 25 Apr 2024 13:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="inzWYlpf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E23B214F78; Thu, 25 Apr 2024 13:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714053563; cv=none; b=qssTDMTbA4LUlYANQR9hsZtjEd9DExCbVsVnqOeZdLm7AidWA4WTIfweG3R9yzOfy6dd6/CD0ZgVo7opLLQhR2GZEg8e2u7jAWypyUfOdab0ka+hbjDEo6ctQMEzxhdSq8z6Afoavp6ygmHg9+wD7S7FyfipGrgq4wCKWECpjGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714053563; c=relaxed/simple; bh=7XPwbTtYNJ82q4u31jANKwtM62X1Kmb7YAJriAR2NHU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=DsMxYDRAOYAzlaPwfFg90HFroZrvT46BbwiW6ZoOJe2JJBV3sLCGRh3rnrHnyJL+2O97p+e36tp0tk+yr5BRMRrsuQISOegdQLYo5h2xFQBk7Z6KeRSBi5jWtmG69kqMhu9s7PdY5axKh0yWf55qwV9nacYBCjtPLki8dQN4VEk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=inzWYlpf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39ED3C113CC; Thu, 25 Apr 2024 13:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714053562; bh=7XPwbTtYNJ82q4u31jANKwtM62X1Kmb7YAJriAR2NHU=; h=From:Subject:Date:To:Cc:From; b=inzWYlpfOB57pGRJsSDZhct7V+z/IFItBEWjlEQo8OMb3Qqh+1dqhcRGgXJmcDt+B KWXV9NVzg1qptn5NOSFZqPraPbnlnC6sr9YvMPMzVZJjJi4Vm732e/I4Pi3ZIkpob+ 4ioA/BAv3uBVx7IriErznyPDi2Mqys0sceuYETW77Meomwv4B2l5lz/2mhMkXGHL3w vhm1VhJx1dmZGcuolOyvzcWT8pASJyDIXiXyDoXPcrb0EtdU0YtnMATvRwdjJnxYbk nXzHX2b2w05z/NAS0hehhuV3xpJp7VMKsDxMm2Y/JVIeR9TNPKcAutg3VgJ3qnykOZ eXVzNEbBP0fsw== From: Benjamin Tissoires Subject: [PATCH 0/3] bpf_wq followup series Date: Thu, 25 Apr 2024 15:59:11 +0200 Message-Id: <20240425-bpf-next-v1-0-1d8330e6c643@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAK9hKmYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDEyNT3aSCNN281IoSXSNDQxNjUwNTC/NUYyWg8oKi1LTMCrBR0bG1tQA ogEMaWgAAAA== To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Benjamin Tissoires X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714053558; l=732; i=bentiss@kernel.org; s=20230215; h=from:subject:message-id; bh=7XPwbTtYNJ82q4u31jANKwtM62X1Kmb7YAJriAR2NHU=; b=2dcgMFCdGfR+ou2s/eZmMomjgv0RQMXcR4yRwQxvRZ3cGBFTzuTW6Ed5J5tF3ebaKcceEcQTy Gtdu7UCLFq5C0fl43+MGRfwVKou9PU8D3URz09dqvOOZ3JXN1/IHgew X-Developer-Key: i=bentiss@kernel.org; a=ed25519; pk=7D1DyAVh6ajCkuUTudt/chMuXWIJHlv2qCsRkIizvFw= Few patches that should have been there from day 1. Anyway, they are coming now. Signed-off-by: Benjamin Tissoires --- Benjamin Tissoires (3): bpf: do not walk twice the map on free bpf: do not walk twice the hash map on free selftests/bpf: drop an unused local variable kernel/bpf/arraymap.c | 15 ++++++++------- kernel/bpf/hashtab.c | 16 +++++----------- tools/testing/selftests/bpf/prog_tests/wq.c | 2 -- 3 files changed, 13 insertions(+), 20 deletions(-) --- base-commit: 52578f7f53ff8fe3a8f6f3bc8b5956615c07a16e change-id: 20240425-bpf-next-2114350587e3 Best regards, -- Benjamin Tissoires